summaryrefslogtreecommitdiff
path: root/security/lasso/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'security/lasso/patches/patch-configure')
-rw-r--r--security/lasso/patches/patch-configure24
1 files changed, 15 insertions, 9 deletions
diff --git a/security/lasso/patches/patch-configure b/security/lasso/patches/patch-configure
index 4ebb807d07a..230c50d21f2 100644
--- a/security/lasso/patches/patch-configure
+++ b/security/lasso/patches/patch-configure
@@ -1,14 +1,23 @@
-$NetBSD: patch-configure,v 1.2 2015/04/01 14:05:02 manu Exp $
+$NetBSD: patch-configure,v 1.3 2017/12/18 15:33:59 jperkin Exp $
Make sure _POSIX_C_SOURCE=199506 so that strtok() is defined by <string.h>
Otherwise, compiler assumes it returns an int, which badly breaks on LP64
Also use = instead of == for test(1) portability sake.
---- configure.orig 2014-08-28 16:05:55.000000000 +0200
-+++ configure 2015-03-25 11:43:14.000000000 +0100
-@@ -13771,9 +13771,9 @@
- enable_java=no
+--- configure.orig 2016-02-18 23:11:38.249290059 +0000
++++ configure
+@@ -4382,9 +4382,6 @@ else
+ fi
+
+
+-CFLAGS=""
+-AM_CFLAGS=""
+-
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -13976,7 +13973,7 @@ else
JAVA_VERSION=""
fi
@@ -17,9 +26,7 @@ Also use = instead of == for test(1) portability sake.
JNI_EXTRA_LDFLAGS="-shrext .jnilib"
fi
- if test "x$enable_java" = "xyes"; then
-@@ -15279,8 +15279,9 @@
- fi
+@@ -15650,6 +15647,7 @@ fi
LASSO_PUB_CFLAGS="$LASSO_DEFINES"
@@ -27,4 +34,3 @@ Also use = instead of == for test(1) portability sake.
LASSO_CORE_CFLAGS="$LASSO_CFLAGS $LASSO_DEFINES $Z_CFLAGS -DLASSO_INTERNALS"
if test $MINGW -eq 1; then
LASSO_CORE_LIBS="-llasso-0"
- else