diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-10-24 09:35:10 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-10-24 09:35:10 +0000 |
commit | b989bb9f23195d58f125deb8bce98d2b823e444f (patch) | |
tree | 18b17e225ad5b8a0c8d23a8de2cf23c0ab881f1a | |
parent | e12e7f1464b41d9e8f20e807f69c6a9e2b94c5cd (diff) | |
download | pkgsrc-b989bb9f23195d58f125deb8bce98d2b823e444f.tar.gz |
Fix build on SunOS. Patch from Sebastian Wiedenroth.
-rw-r--r-- | editors/ne/distinfo | 3 | ||||
-rw-r--r-- | editors/ne/patches/patch-sysunix.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/editors/ne/distinfo b/editors/ne/distinfo index 6acf705aeba..428db8e2954 100644 --- a/editors/ne/distinfo +++ b/editors/ne/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 17:15:12 agc Exp $ +$NetBSD: distinfo,v 1.5 2013/10/24 09:35:10 jperkin Exp $ SHA1 (ne-1.31/ne-1.31.tar.gz) = 25642fa74c720bef7ba56f96673d2d2d554f2f57 RMD160 (ne-1.31/ne-1.31.tar.gz) = a3c2d90d289737b67a66ae7d79005ac665ebba53 @@ -13,3 +13,4 @@ SHA1 (ne-1.31/NE.changes.spec) = 587a72694b34763b324bd694549f951250e3d309 RMD160 (ne-1.31/NE.changes.spec) = a619a2d8a80054138cb97198fbb2d6e8f473a178 Size (ne-1.31/NE.changes.spec) = 7380 bytes SHA1 (patch-aa) = 83fe227f538774e6268126c39bc31cdf188b15f1 +SHA1 (patch-sysunix.c) = 942bcfa3aa4be33b06d018d0ce3b546db99849f2 diff --git a/editors/ne/patches/patch-sysunix.c b/editors/ne/patches/patch-sysunix.c new file mode 100644 index 00000000000..64999a3316f --- /dev/null +++ b/editors/ne/patches/patch-sysunix.c @@ -0,0 +1,15 @@ +$NetBSD: patch-sysunix.c,v 1.1 2013/10/24 09:35:10 jperkin Exp $ + +--- sysunix.c.orig 2003-10-01 09:57:29.000000000 +0000 ++++ sysunix.c +@@ -21,6 +21,10 @@ its own modules. */ + #include <fcntl.h> + #include <dirent.h> + ++#if defined(__sun) ++# include <sys/filio.h> ++#endif ++ + #include "ehdr.h" + #include "unixhdr.h" + #include "scomhdr.h" |