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

23 lines
734 B
Diff

diff --git a/autoconf/configure b/autoconf/configure
index c2a0955..29f5e66 100755
--- a/autoconf/configure
+++ b/autoconf/configure
@@ -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
@@ -1275,7 +1275,7 @@ if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
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