summaryrefslogtreecommitdiff
path: root/textproc/xapian
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-26 17:21:10 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-26 17:21:10 +0000
commitc90f95df953088b7262791f90939517a814c9f3d (patch)
tree2921cdedfaaecf2b5fd80fe65df12802950ff105 /textproc/xapian
parentccc64debdbbe5645b2c0777434de01b0fca05edb (diff)
downloadpkgsrc-c90f95df953088b7262791f90939517a814c9f3d.tar.gz
Fix build with newer GCC
Diffstat (limited to 'textproc/xapian')
-rw-r--r--textproc/xapian/distinfo3
-rw-r--r--textproc/xapian/patches/patch-common_safeuuid.h12
2 files changed, 14 insertions, 1 deletions
diff --git a/textproc/xapian/distinfo b/textproc/xapian/distinfo
index 7cfa29b8fd3..12d98189fc0 100644
--- a/textproc/xapian/distinfo
+++ b/textproc/xapian/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2010/12/03 09:55:33 abs Exp $
+$NetBSD: distinfo,v 1.11 2011/11/26 17:21:10 joerg Exp $
SHA1 (xapian-core-1.2.2.tar.gz) = 9e8036689650556428ecc605d03a695df561bfa6
RMD160 (xapian-core-1.2.2.tar.gz) = a56912884ff302f5da2545c80c7bcd81f3bddef4
Size (xapian-core-1.2.2.tar.gz) = 3849005 bytes
+SHA1 (patch-common_safeuuid.h) = bc5b16dbb8d670120b63270eb42fb0a355aa713d
diff --git a/textproc/xapian/patches/patch-common_safeuuid.h b/textproc/xapian/patches/patch-common_safeuuid.h
new file mode 100644
index 00000000000..0f356501ba2
--- /dev/null
+++ b/textproc/xapian/patches/patch-common_safeuuid.h
@@ -0,0 +1,12 @@
+$NetBSD: patch-common_safeuuid.h,v 1.1 2011/11/26 17:21:10 joerg Exp $
+
+--- common/safeuuid.h.orig 2011-11-26 02:56:21.000000000 +0000
++++ common/safeuuid.h
+@@ -54,6 +54,7 @@ inline void uuid_unparse_lower(uuid_t uu
+
+ // FreeBSD/NetBSD UUID API.
+ # include <uuid.h>
++# include <cstdlib>
+ # include <cstring>
+ # include <exception>
+