summaryrefslogtreecommitdiff
path: root/x11/xp/patches
diff options
context:
space:
mode:
authortron <tron>1999-08-13 19:35:45 +0000
committertron <tron>1999-08-13 19:35:45 +0000
commit014f14263c4e9a71935e5852d092f41ba1ba2570 (patch)
tree8711c3061742ee07f8ebbf58c7125f38a0b8e137 /x11/xp/patches
parent849cdee9ae4e4dab0721d5b35e06e2d3dd3be6c2 (diff)
downloadpkgsrc-014f14263c4e9a71935e5852d092f41ba1ba2570.tar.gz
Import new "xp" package submitted by Julian Coleman in PR pkg/8197:
A fast X11 text file viewer using Athena widgets
Diffstat (limited to 'x11/xp/patches')
-rw-r--r--x11/xp/patches/patch-aa32
-rw-r--r--x11/xp/patches/patch-ab23
2 files changed, 55 insertions, 0 deletions
diff --git a/x11/xp/patches/patch-aa b/x11/xp/patches/patch-aa
new file mode 100644
index 00000000000..6096b24e3af
--- /dev/null
+++ b/x11/xp/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/08/13 19:35:45 tron Exp $
+
+--- Imakefile.orig Thu Feb 11 15:55:09 1999
++++ Imakefile Fri Aug 13 21:30:56 1999
+@@ -1,23 +1,12 @@
+-/* set MKDIRHIER in case you change BINDIR */
+-MKDIRHIER = mkdirhier
+-
+-XPTOP = /usr/local/xp/1.2b10
+-
+-/* where do you want the binary installed */
+-BINDIR = ${XPTOP}/bin
+-
+-/* where do you want the man page installed */
+-MANDIR = ${XPTOP}/man/man1
+-
+-/* where do you want the application defaults file installed */
+-XAPPLOADDIR = ${XPTOP}/lib/app-defaults
+-
+-
+ #ifdef HasVFork
+ VFORK_DEFINES = -DHASVFORK
+ #endif
+
+ #XP_DEFINES= -DNOPUTENV
++
++#if !(defined(SunArchitecture) && OSMajorVersion == 4)
++XP_DEFINES+= -DHAS_STRERROR
++#endif
+
+ DEFINES= $(SIGNAL_DEFINES) $(VFORK_DEFINES) $(XP_DEFINES)
+
diff --git a/x11/xp/patches/patch-ab b/x11/xp/patches/patch-ab
new file mode 100644
index 00000000000..2216b2f5cef
--- /dev/null
+++ b/x11/xp/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/08/13 19:35:45 tron Exp $
+
+--- utils.c.orig Thu Feb 11 13:44:15 1999
++++ utils.c Fri Aug 13 21:30:56 1999
+@@ -1,13 +1,18 @@
+ #include <errno.h>
++#include <string.h>
+ #define NULL 0
+
+
+ char *
+ uerror() {
++#ifdef HAS_STRERROR
++ return strerror(errno);
++#else
+ extern int sys_nerr;
+ extern char *sys_errlist[];
+ if (errno > sys_nerr)
+ return NULL;
+ else
+ return sys_errlist[errno];
++#endif
+ }