pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/tokyotyrant Make it build on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cd5a45cb5e0b
branches:  trunk
changeset: 556994:cd5a45cb5e0b
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Tue Apr 07 19:18:05 2009 +0000

description:
Make it build on DragonFly.

diffstat:

 databases/tokyotyrant/distinfo         |   4 ++--
 databases/tokyotyrant/patches/patch-ac |  30 +++++++++++++++++++++---------
 2 files changed, 23 insertions(+), 11 deletions(-)

diffs (68 lines):

diff -r 3f842e7c59f5 -r cd5a45cb5e0b databases/tokyotyrant/distinfo
--- a/databases/tokyotyrant/distinfo    Tue Apr 07 19:10:25 2009 +0000
+++ b/databases/tokyotyrant/distinfo    Tue Apr 07 19:18:05 2009 +0000
@@ -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 -r 3f842e7c59f5 -r cd5a45cb5e0b databases/tokyotyrant/patches/patch-ac
--- a/databases/tokyotyrant/patches/patch-ac    Tue Apr 07 19:10:25 2009 +0000
+++ b/databases/tokyotyrant/patches/patch-ac    Tue Apr 07 19:18:05 2009 +0000
@@ -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))
  



Home | Main Index | Thread Index | Old Index