ports/sysutils/gdmap/patches/patch-configure_ac

14 lines
350 B
Text

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])