ports/sysutils/gdmap/patches/patch-configure_ac

15 lines
350 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -61,9 +61,7 @@ _ldflags=${LDFLAGS}
AC_MSG_CHECKING([compiler flag -Wno-pointer-sign])
_cflags="${CFLAGS}"
CFLAGS="$CFLAGS -Wno-pointer-sign"
-AC_TRY_COMPILE( , [
- int main(void) { return 0; }
- ],[
+AC_TRY_COMPILE( , [],[
AC_MSG_RESULT([yes])
],[
AC_MSG_RESULT([no])