mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-15 18:41:37 +01:00
16 lines
525 B
Diff
16 lines
525 B
Diff
Fix -Wimplicit-int and -Wimplicit-function-declaration errors on conftest.c
|
|
with gcc 14.
|
|
|
|
--- e2fsimage-0.2.3-origin/configure
|
|
+++ e2fsimage-0.2.3/configure
|
|
@@ -101,7 +101,8 @@
|
|
##### Try to compile them all together and show the versions.
|
|
cat >conftest.c <<EOF
|
|
#include <e2p/e2p.h>
|
|
-main(){ const char *v, *d; ext2fs_get_library_version(&v,&d);
|
|
+#include <ext2fs/ext2fs.h>
|
|
+int main(){ const char *v, *d; ext2fs_get_library_version(&v,&d);
|
|
printf("\nThe version of the e2fs library is: %s, %s\n", v, d);return 0;}
|
|
EOF
|
|
|