pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/edcommon Add DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/736c1eae9bda
branches:  trunk
changeset: 510134:736c1eae9bda
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 28 17:44:08 2006 +0000

description:
Add DragonFly support.

diffstat:

 devel/edcommon/distinfo         |   6 +++---
 devel/edcommon/patches/patch-ab |  16 +++++++++++++---
 devel/edcommon/patches/patch-ac |   4 ++--
 3 files changed, 18 insertions(+), 8 deletions(-)

diffs (63 lines):

diff -r 6bdced514a90 -r 736c1eae9bda devel/edcommon/distinfo
--- a/devel/edcommon/distinfo   Tue Mar 28 17:38:31 2006 +0000
+++ b/devel/edcommon/distinfo   Tue Mar 28 17:44:08 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 22:24:13 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/03/28 17:44:08 joerg Exp $
 
 SHA1 (edcommon-32-s.tar.gz) = b189c4ff52ea4ef1cf5bcd65b5f0e7fd7da3e1a0
 RMD160 (edcommon-32-s.tar.gz) = 3a55a14d3ea353fa1802852539535612c48f43db
 Size (edcommon-32-s.tar.gz) = 188718 bytes
 SHA1 (patch-aa) = d6dc8e945e23eaf2c8d67649e611fdff79f56f42
-SHA1 (patch-ab) = b020a7f62739015624f3b267d680cd55b2d29fb1
-SHA1 (patch-ac) = ede7d137943f8ee5fbf622eca06d82c2677c19fa
+SHA1 (patch-ab) = 0e140c1e2788f18ff414f2633fd549e84c922eef
+SHA1 (patch-ac) = ffd773035a409768fa20ce698b25295294b0397e
diff -r 6bdced514a90 -r 736c1eae9bda devel/edcommon/patches/patch-ab
--- a/devel/edcommon/patches/patch-ab   Tue Mar 28 17:38:31 2006 +0000
+++ b/devel/edcommon/patches/patch-ab   Tue Mar 28 17:44:08 2006 +0000
@@ -1,13 +1,23 @@
-$NetBSD: patch-ab,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $
+$NetBSD: patch-ab,v 1.2 2006/03/28 17:44:08 joerg Exp $
 
---- osdep.h.orig       2002-08-29 08:09:58.000000000 +1000
+--- osdep.h.orig       2002-08-28 22:09:58.000000000 +0000
 +++ osdep.h
 @@ -169,7 +169,7 @@ extern int gethostname(char *name, int n
  #endif
  
  
 -#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD__) || defined(__NetBSD__)
++#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
  
  //---------------------------------------------------------------------------------------
  // FreeBSD
+@@ -179,7 +179,9 @@ extern int gethostname(char *name, int n
+ 
+ #import <stddef.h>
+ #import <netinet/in.h>
++#if !defined(__DragonFly__)
+ #import <netinet/ip_compat.h>
++#endif
+ #import <netinet/tcp.h>
+ #import <sys/socket.h>
+ #import <sys/ioctl.h>
diff -r 6bdced514a90 -r 736c1eae9bda devel/edcommon/patches/patch-ac
--- a/devel/edcommon/patches/patch-ac   Tue Mar 28 17:38:31 2006 +0000
+++ b/devel/edcommon/patches/patch-ac   Tue Mar 28 17:44:08 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $
+$NetBSD: patch-ac,v 1.2 2006/03/28 17:44:08 joerg Exp $
 
 --- FoundationExtensions.subproj/NSFileHandle+Extensions.m.orig        2002-08-17 04:12:48.000000000 +1000
 +++ FoundationExtensions.subproj/NSFileHandle+Extensions.m
@@ -7,7 +7,7 @@
  
      return lpTotalBytesAvail;
 -#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(linux)
-+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(linux) || defined(__NetBSD__)
++#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(linux) || defined(__NetBSD__) || defined(__DragonFly__)
      int numBytes;
  
      if(ioctl(EDSOCKETHANDLE, FIONREAD, (char *) &numBytes) == -1)



Home | Main Index | Thread Index | Old Index