summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-10-24 09:35:10 +0000
committerjperkin <jperkin@pkgsrc.org>2013-10-24 09:35:10 +0000
commitf345344302025ddf88303a18c7d8ca819c744727 (patch)
tree18b17e225ad5b8a0c8d23a8de2cf23c0ab881f1a /editors
parentc5435bc265e06e35762a2c840739915d90b83892 (diff)
downloadpkgsrc-f345344302025ddf88303a18c7d8ca819c744727.tar.gz
Fix build on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'editors')
-rw-r--r--editors/ne/distinfo3
-rw-r--r--editors/ne/patches/patch-sysunix.c15
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"