homebrew-simaek/patches/cdrtools/cdrtools-3.02a09-configure.patch

23 lines
734 B
Diff
Raw Permalink Normal View History

2024-06-09 15:01:54 +00:00
diff --git a/autoconf/configure b/autoconf/configure
2024-06-09 15:37:28 +00:00
index c2a0955..29f5e66 100755
2024-06-09 15:01:54 +00:00
--- a/autoconf/configure
+++ b/autoconf/configure
2024-06-09 15:37:28 +00:00
@@ -1216,7 +1216,7 @@ cat > conftest.$ac_ext << EOF
#line 1217 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { eval echo configure:1222: \"$ac_link\" 1>&5; eval $ac_link 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
2024-06-09 15:01:54 +00:00
@@ -1275,7 +1275,7 @@ if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
2024-06-09 14:28:46 +00:00
else
cat > conftest.c <<EOF
#ifdef __GNUC__
- yes;
+ int yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { eval echo configure:1282: \"$ac_try\" 1>&5; eval $ac_try 2>&5; }; } | egrep yes >/dev/null 2>&1; then