diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-28 17:44:08 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-28 17:44:08 +0000 |
commit | dc935f741e6519e97a99cf2cf2ae87e956f96c6f (patch) | |
tree | fd81049e819a89441a636bc75b3ca5b773145684 /devel | |
parent | 77364fd4c5728d93b5882477b0c8fc15bd47e085 (diff) | |
download | pkgsrc-dc935f741e6519e97a99cf2cf2ae87e956f96c6f.tar.gz |
Add DragonFly support.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/edcommon/distinfo | 6 | ||||
-rw-r--r-- | devel/edcommon/patches/patch-ab | 16 | ||||
-rw-r--r-- | devel/edcommon/patches/patch-ac | 4 |
3 files changed, 18 insertions, 8 deletions
diff --git a/devel/edcommon/distinfo b/devel/edcommon/distinfo index 1e52b23aa48..1492c17d292 100644 --- a/devel/edcommon/distinfo +++ b/devel/edcommon/distinfo @@ -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 --git a/devel/edcommon/patches/patch-ab b/devel/edcommon/patches/patch-ab index 4014d41dc43..7e781e1be62 100644 --- a/devel/edcommon/patches/patch-ab +++ b/devel/edcommon/patches/patch-ab @@ -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 --git a/devel/edcommon/patches/patch-ac b/devel/edcommon/patches/patch-ac index 25d217efbcd..a68916ceedd 100644 --- a/devel/edcommon/patches/patch-ac +++ b/devel/edcommon/patches/patch-ac @@ -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 @@ $NetBSD: patch-ac,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $ 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) |