0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 14:13:36 +00:00
Tee KOBAYASHI 6b81ac97e8 corkscrew: Fix build with strict C99
%ci:no-build
2023-04-06 04:09:10 +09:00

23 lines
608 B
Diff

https://github.com/termux/termux-packages/issues/15852
--- a/configure
+++ b/configure
@@ -906,7 +906,7 @@
#line 907 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
@@ -1450,7 +1450,7 @@
#line 1451 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:1456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes