diff options
author | tnn <tnn@pkgsrc.org> | 2018-09-29 12:54:16 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2018-09-29 12:54:16 +0000 |
commit | e6f9f6b757ee2c0ce7946447f631b62fc1248ead (patch) | |
tree | b31deedd697c5fed65c93a20243045c0f2abc425 /geography | |
parent | 8134a5226cc4558950c3ec024698b833f8de3210 (diff) | |
download | pkgsrc-e6f9f6b757ee2c0ce7946447f631b62fc1248ead.tar.gz |
libmaxminddb: build fix
Diffstat (limited to 'geography')
-rw-r--r-- | geography/libmaxminddb/distinfo | 3 | ||||
-rw-r--r-- | geography/libmaxminddb/patches/patch-t_libtap_tap.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/geography/libmaxminddb/distinfo b/geography/libmaxminddb/distinfo index 1c90fb018e0..dfb6eb2ee46 100644 --- a/geography/libmaxminddb/distinfo +++ b/geography/libmaxminddb/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1 2018/09/10 20:55:20 fhajny Exp $ +$NetBSD: distinfo,v 1.2 2018/09/29 12:54:16 tnn Exp $ SHA1 (libmaxminddb-1.3.2.tar.gz) = 52668a7944d8dd35ec998b545e1ab80d1e6c3257 RMD160 (libmaxminddb-1.3.2.tar.gz) = 199373bd1003493fb17ee855b5a5f9ff75a70afa SHA512 (libmaxminddb-1.3.2.tar.gz) = 906e80531a901091fd9f88075ece5189b0885400216ea994889d9250dd37ead14e00dc14ca2a38eb2100e4814d0eb3a205ba1618606f1375ab0dcc3981097115 Size (libmaxminddb-1.3.2.tar.gz) = 619009 bytes +SHA1 (patch-t_libtap_tap.c) = 85cefd897f2eade00a0c9e9b2cf5e0ca7c7c9337 diff --git a/geography/libmaxminddb/patches/patch-t_libtap_tap.c b/geography/libmaxminddb/patches/patch-t_libtap_tap.c new file mode 100644 index 00000000000..154c9822c4a --- /dev/null +++ b/geography/libmaxminddb/patches/patch-t_libtap_tap.c @@ -0,0 +1,15 @@ +$NetBSD: patch-t_libtap_tap.c,v 1.1 2018/09/29 12:54:16 tnn Exp $ + +don't redefine MAP_ANONYMOUS + +--- t/libtap/tap.c.orig 2018-01-17 21:35:26.000000000 +0000 ++++ t/libtap/tap.c +@@ -298,7 +298,7 @@ tap_end_todo () { + #include <sys/param.h> + #include <regex.h> + +-#if defined __APPLE__ || defined BSD ++#if !defined(MAP_ANONYMOUS) + #define MAP_ANONYMOUS MAP_ANON + #endif + |