summaryrefslogtreecommitdiff
path: root/databases/tokyotyrant
diff options
context:
space:
mode:
authorobache <obache>2008-12-18 12:02:34 +0000
committerobache <obache>2008-12-18 12:02:34 +0000
commit7ddd7b7032a8837415212eb345299d424d678bf8 (patch)
tree9965c83450575efe6357d1305628c89aea471e14 /databases/tokyotyrant
parent4d79cdd0e463fb35a2b1a055817bd7762e9934c0 (diff)
downloadpkgsrc-7ddd7b7032a8837415212eb345299d424d678bf8.tar.gz
Add NetBSD-5 support.
Diffstat (limited to 'databases/tokyotyrant')
-rw-r--r--databases/tokyotyrant/distinfo3
-rw-r--r--databases/tokyotyrant/patches/patch-ac24
2 files changed, 26 insertions, 1 deletions
diff --git a/databases/tokyotyrant/distinfo b/databases/tokyotyrant/distinfo
index ee854bce2d1..0c3f9e21700 100644
--- a/databases/tokyotyrant/distinfo
+++ b/databases/tokyotyrant/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.5 2008/12/07 11:34:53 obache Exp $
+$NetBSD: distinfo,v 1.6 2008/12/18 12:02:34 obache Exp $
SHA1 (tokyotyrant-1.1.9.tar.gz) = a07fcec354f9be28fa3b60850667cc3778147325
RMD160 (tokyotyrant-1.1.9.tar.gz) = 7b390727c6585ee128e3a858ac605a80b9f99a4f
Size (tokyotyrant-1.1.9.tar.gz) = 144390 bytes
SHA1 (patch-aa) = 94d950d5ddee5520cc1637f7026270ce0b5e1af5
SHA1 (patch-ab) = 0358a2b058eaac5a05e55de5ef352ecffa39014b
+SHA1 (patch-ac) = 0ff0811b359e8a2687ad962f85758b2b60b265b1
diff --git a/databases/tokyotyrant/patches/patch-ac b/databases/tokyotyrant/patches/patch-ac
new file mode 100644
index 00000000000..39736e2a768
--- /dev/null
+++ b/databases/tokyotyrant/patches/patch-ac
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.1 2008/12/18 12:02:34 obache Exp $
+
+Add NetBSD support.
+
+--- myconf.h.orig 2008-12-07 02:38:46.000000000 +0000
++++ myconf.h
+@@ -91,7 +91,7 @@
+
+ #endif
+
+-#if !defined(_SYS_LINUX_) && !defined(_SYS_FREEBSD_) && !defined(_SYS_MACOSX_)
++#if !defined(_SYS_LINUX_) && !defined(_SYS_FREEBSD_) && !defined(_SYS_MACOSX_) && !defined(_SYS_NETBSD_)
+ #error =======================================
+ #error Your platform is not supported. Sorry.
+ #error =======================================
+@@ -209,7 +209,7 @@
+ #include <tcbdb.h>
+ #include <tcadb.h>
+
+-#if defined(_SYS_FREEBSD_) || defined(_SYS_MACOSX_)
++#if defined(_SYS_FREEBSD_) || defined(_SYS_MACOSX_) || defined(_SYS_NETBSD_)
+ #define TTUSEKQUEUE 1
+ #else
+ #include <sys/epoll.h>