Thu Dec 18 12:02:34 2008 UTC ()
Add NetBSD-5 support.


(obache)
diff -r1.5 -r1.6 pkgsrc/databases/tokyotyrant/distinfo
diff -r0 -r1.1 pkgsrc/databases/tokyotyrant/patches/patch-ac

cvs diff -r1.5 -r1.6 pkgsrc/databases/tokyotyrant/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/tokyotyrant/distinfo 2008/12/07 11:34:53 1.5
+++ pkgsrc/databases/tokyotyrant/distinfo 2008/12/18 12:02:34 1.6
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.5 2008/12/07 11:34:53 obache Exp $ 1$NetBSD: distinfo,v 1.6 2008/12/18 12:02:34 obache Exp $
2 2
3SHA1 (tokyotyrant-1.1.9.tar.gz) = a07fcec354f9be28fa3b60850667cc3778147325 3SHA1 (tokyotyrant-1.1.9.tar.gz) = a07fcec354f9be28fa3b60850667cc3778147325
4RMD160 (tokyotyrant-1.1.9.tar.gz) = 7b390727c6585ee128e3a858ac605a80b9f99a4f 4RMD160 (tokyotyrant-1.1.9.tar.gz) = 7b390727c6585ee128e3a858ac605a80b9f99a4f
5Size (tokyotyrant-1.1.9.tar.gz) = 144390 bytes 5Size (tokyotyrant-1.1.9.tar.gz) = 144390 bytes
6SHA1 (patch-aa) = 94d950d5ddee5520cc1637f7026270ce0b5e1af5 6SHA1 (patch-aa) = 94d950d5ddee5520cc1637f7026270ce0b5e1af5
7SHA1 (patch-ab) = 0358a2b058eaac5a05e55de5ef352ecffa39014b 7SHA1 (patch-ab) = 0358a2b058eaac5a05e55de5ef352ecffa39014b
 8SHA1 (patch-ac) = 0ff0811b359e8a2687ad962f85758b2b60b265b1

File Added: pkgsrc/databases/tokyotyrant/patches/patch-ac
$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>