aports/main/links/configure.patch
2023-03-22 19:00:35 +01:00

58 lines
2.4 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

werror=implicit-int
diff --git a/confdefs.h b/confdefs.h
new file mode 100644
index 0000000..260c62f
--- /dev/null
+++ b/confdefs.h
@@ -0,0 +1,3 @@
+
+#define PACKAGE "links"
+#define VERSION "2.29"
diff --git a/config.cache b/config.cache
new file mode 100644
index 0000000..e69de29
diff --git a/config.log b/config.log
new file mode 100644
index 0000000..7bf8995
--- /dev/null
+++ b/config.log
@@ -0,0 +1,25 @@
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+configure:640: checking for a BSD compatible install
+configure:693: checking whether build environment is sane
+configure:750: checking whether make sets ${MAKE}
+configure:796: checking for working aclocal-1.4
+configure:809: checking for working autoconf
+configure:822: checking for working automake-1.4
+configure:835: checking for working autoheader
+configure:848: checking for working makeinfo
+configure:880: checking for gcc
+configure:993: checking whether the C compiler (clang -O3 -flto=thin -DNDEBUG -march=native -fPIC -fstack-clash-protection -fstack-protector-strong -fcf-protection -pipe -fomit-frame-pointer -fdiagnostics-color=always -fno-semantic-interposition -flto=thin -fuse-ld=lld -Wl,-O2,--as-needed,--gc-sections,-z,defs,-z,relro,-z,now,--icf=safe,-z,pack-relative-relocs,--Bsymbolic) works
+configure:1009: clang -o conftest -O3 -flto=thin -DNDEBUG -march=native -fPIC -fstack-clash-protection -fstack-protector-strong -fcf-protection -pipe -fomit-frame-pointer -fdiagnostics-color=always -fno-semantic-interposition -flto=thin -fuse-ld=lld -Wl,-O2,--as-needed,--gc-sections,-z,defs,-z,relro,-z,now,--icf=safe,-z,pack-relative-relocs,--Bsymbolic conftest.c 1>&5
+configure:1006:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
+main(){return(0);}
+^
+int
+1 error generated.
+configure: failed program was:
+
+#line 1004 "configure"
+#include "confdefs.h"
+
+main(){return(0);}
diff --git a/configure b/configure
index 354c422..88e0d53 100755
--- a/configure
+++ b/configure
@@ -1001,7 +1001,7 @@ cat > conftest.$ac_ext << EOF
#line 1004 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:1009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes