summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorhasso <hasso>2009-04-07 19:18:05 +0000
committerhasso <hasso>2009-04-07 19:18:05 +0000
commitfebe241e833264111184a7718b06c7904c4537dd (patch)
tree1c1d252113b62ea1b020d368d405e16aa967d616 /databases
parentb6594fe37e86114353562425d65db89d9559eb25 (diff)
downloadpkgsrc-febe241e833264111184a7718b06c7904c4537dd.tar.gz
Make it build on DragonFly.
Diffstat (limited to 'databases')
-rw-r--r--databases/tokyotyrant/distinfo4
-rw-r--r--databases/tokyotyrant/patches/patch-ac30
2 files changed, 23 insertions, 11 deletions
diff --git a/databases/tokyotyrant/distinfo b/databases/tokyotyrant/distinfo
index 41261751300..4673f9dcfe2 100644
--- a/databases/tokyotyrant/distinfo
+++ b/databases/tokyotyrant/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.13 2009/03/21 05:46:54 obache Exp $
+$NetBSD: distinfo,v 1.14 2009/04/07 19:18:05 hasso Exp $
SHA1 (tokyotyrant-1.1.18.tar.gz) = b39dda2f0250ea8274eda1b38f4aac205f35c0b0
RMD160 (tokyotyrant-1.1.18.tar.gz) = e1b4bbcea994e9a6b359608de083b08de6ca5b53
Size (tokyotyrant-1.1.18.tar.gz) = 165652 bytes
SHA1 (patch-aa) = d1c6aa7e3197b33a1988320ca5ad865ae3fa23c4
SHA1 (patch-ab) = ccacfe7b3593ce4bfd995813189d1dd655a98095
-SHA1 (patch-ac) = e83f1c1f8de4e371be4fa06d91242258f313bda4
+SHA1 (patch-ac) = 5c66a9730ee0c46368360a348f0ca2bf5851ef4d
diff --git a/databases/tokyotyrant/patches/patch-ac b/databases/tokyotyrant/patches/patch-ac
index 4c3135d8779..f6f67cac943 100644
--- a/databases/tokyotyrant/patches/patch-ac
+++ b/databases/tokyotyrant/patches/patch-ac
@@ -1,29 +1,41 @@
-$NetBSD: patch-ac,v 1.3 2009/02/19 06:31:55 obache Exp $
+$NetBSD: patch-ac,v 1.4 2009/04/07 19:18:05 hasso Exp $
-Add NetBSD support.
+Add NetBSD and DragonFly support.
http://sourceforge.net/tracker/index.php?func=detail&aid=2447593&group_id=200242&atid=972717
---- myconf.h.orig 2009-02-18 02:46:09.000000000 +0000
-+++ myconf.h
-@@ -92,7 +92,7 @@
+--- myconf.h.orig 2009-03-21 07:00:42 +0200
++++ myconf.h 2009-04-06 13:39:51 +0300
+@@ -44,6 +44,11 @@
+ #define _SYS_OPENBSD_
+ #define TTSYSNAME "OpenBSD"
+
++#elif defined(__DragonFly__)
++
++#define _SYS_DRAGONFLY_
++#define TTSYSNAME "DragonFly"
++
+ #elif defined(__sun__)
+
+ #define _SYS_SUNOS_
+@@ -92,7 +97,7 @@
#endif
#if !defined(_SYS_LINUX_) && !defined(_SYS_FREEBSD_) && !defined(_SYS_MACOSX_) && \
- !defined(_SYS_SUNOS_)
-+ !defined(_SYS_SUNOS_) && !defined(_SYS_NETBSD_)
++ !defined(_SYS_SUNOS_) && !defined(_SYS_NETBSD_) && !defined(_SYS_DRAGONFLY_)
#error =======================================
#error Your platform is not supported. Sorry.
#error =======================================
-@@ -212,7 +212,7 @@
+@@ -213,7 +218,7 @@
#include <tctdb.h>
#include <tcadb.h>
-#if defined(_SYS_FREEBSD_) || defined(_SYS_MACOSX_)
-+#if defined(_SYS_FREEBSD_) || defined(_SYS_MACOSX_) || defined(_SYS_NETBSD_)
++#if defined(_SYS_FREEBSD_) || defined(_SYS_MACOSX_) || defined(_SYS_NETBSD_) || defined(_SYS_DRAGONFLY_)
#define TTUSEKQUEUE 1
#elif defined(_SYS_SUNOS_)
-@@ -241,7 +241,7 @@ typedef struct { int portev_object; } po
+@@ -242,7 +247,7 @@ typedef struct { int portev_object; } po
#define sizeof(a) ((int)sizeof(a))