pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/libmaxminddb libmaxminddb: build fix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dffc491578a
branches:  trunk
changeset: 313397:6dffc491578a
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Sep 29 12:54:16 2018 +0000

description:
libmaxminddb: build fix

diffstat:

 geography/libmaxminddb/distinfo                     |   3 ++-
 geography/libmaxminddb/patches/patch-t_libtap_tap.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 7d1c82bf33b3 -r 6dffc491578a geography/libmaxminddb/distinfo
--- a/geography/libmaxminddb/distinfo   Sat Sep 29 12:49:55 2018 +0000
+++ b/geography/libmaxminddb/distinfo   Sat Sep 29 12:54:16 2018 +0000
@@ -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 -r 7d1c82bf33b3 -r 6dffc491578a geography/libmaxminddb/patches/patch-t_libtap_tap.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/libmaxminddb/patches/patch-t_libtap_tap.c       Sat Sep 29 12:54:16 2018 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index