ports/devel/delta/files/patch-test0__delta_hello.test
Stefan Eßer 211b01d075 devel/delta: fetch from GitHub
Make port more compliant with style, fetch from GitHub instead of a
local copy, respect port system CFLAGS, support installation of README
files depending on DOCS, support testing of the compiled port, take
maintainership from ports@.

The installed programs are identical to those of the previous port
version, except for CFLAGS from the ports system that are no longer
ignored.
2023-06-30 13:45:43 +02:00

10 lines
294 B
Bash

--- test0_delta/hello.test.orig 2023-06-30 11:16:27 UTC
+++ test0_delta/hello.test
@@ -1,6 +1,6 @@
#!/usr/local/bin/bash
# -*-sh-*-
-if gcc -o a.out $1 &> cmp_out; then
+if cc -o a.out $1 &> cmp_out; then
if ! ./a.out &> run_out; then
exit 0; # Success.
fi