diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 1999-12-15 23:51:04 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 1999-12-15 23:51:04 +0000 |
commit | 965940b10db8232cd165ca18c3326fa7b56df412 (patch) | |
tree | 60cdbf96db301badb6c149960b1d4115df4fce9e | |
parent | 95bcc9991ee0c21e33d1ac01bce0fcea6caab415 (diff) | |
download | pkgsrc-965940b10db8232cd165ca18c3326fa7b56df412.tar.gz |
- Break out patches to ./lib/libxview/misc/expandname.c and
./lib/libxview/textsw/txt_filter.c from patch-ad into patch-al and patch-ao.
- Fix several compilation bugs on the sparc. The code had #ifdef(sparc)
checks when it was really wanting to make an operating system choice, not
a processor choice. Thanks to Ethan Bakshy, ethan@mail.enteract.com
for pointing out the problem (on port-sparc).
-rw-r--r-- | x11/xview-lib/files/patch-sum | 8 | ||||
-rw-r--r-- | x11/xview-lib/patches/patch-ad | 32 | ||||
-rw-r--r-- | x11/xview-lib/patches/patch-al | 26 | ||||
-rw-r--r-- | x11/xview-lib/patches/patch-am | 19 | ||||
-rw-r--r-- | x11/xview-lib/patches/patch-an | 22 | ||||
-rw-r--r-- | x11/xview-lib/patches/patch-ao | 11 |
6 files changed, 85 insertions, 33 deletions
diff --git a/x11/xview-lib/files/patch-sum b/x11/xview-lib/files/patch-sum index 658efba7346..0ed21a8f0eb 100644 --- a/x11/xview-lib/files/patch-sum +++ b/x11/xview-lib/files/patch-sum @@ -1,9 +1,9 @@ -$NetBSD: patch-sum,v 1.1 1999/07/09 14:23:39 agc Exp $ +$NetBSD: patch-sum,v 1.2 1999/12/15 23:51:04 dmcmahill Exp $ MD5 (patch-aa) = ab481aa246f19a8388743244d331081c MD5 (patch-ab) = 0811acd752078caea8bd851c85ea08dd MD5 (patch-ac) = 99802bae2f42f4a6f8c8387d3de8c15c -MD5 (patch-ad) = 74a2daa1bd190bd39031292f7c6c42cf +MD5 (patch-ad) = 7d6c678640dff4fe166c7655b220b599 MD5 (patch-ae) = 35d6626cf44759076e808b09d22c2ddf MD5 (patch-af) = dff7d6b871b862778f8bde6c8dc6a4f4 MD5 (patch-ag) = 75578ff823071d0464ab5d0e8d5acb3a @@ -11,3 +11,7 @@ MD5 (patch-ah) = 85f5372a0b58fa9bd808d6823bb1683f MD5 (patch-ai) = f16a5362859ff6f674301c61c00679cc MD5 (patch-aj) = 885e343ac72084b293b6b1716cc309fb MD5 (patch-ak) = 2add6a5899eafd4b404a236968172bac +MD5 (patch-al) = 3a269a96ab1440f70d3b9f67200003b5 +MD5 (patch-am) = 3e377a8cfb79d2f634be3d0987971ceb +MD5 (patch-an) = 9fc09df240f727570b7005ad96b37f83 +MD5 (patch-ao) = 6474d1a6a263ec6ae6bdc21f43ab9bd0 diff --git a/x11/xview-lib/patches/patch-ad b/x11/xview-lib/patches/patch-ad index 8a96cadf970..73d92ba95db 100644 --- a/x11/xview-lib/patches/patch-ad +++ b/x11/xview-lib/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.4 1999/03/31 14:23:30 hubertf Exp $ +$NetBSD: patch-ad,v 1.5 1999/12/15 23:51:04 dmcmahill Exp $ diff -rc ../old/xview3.2p1-X11R6/lib/libxview/attr/attr_copy.c ./lib/libxview/attr/attr_copy.c *** ../old/xview3.2p1-X11R6/lib/libxview/attr/attr_copy.c Tue Jun 29 01:14:35 1993 @@ -884,21 +884,6 @@ diff -rc ../old/xview3.2p1-X11R6/lib/libxview/misc/Imakefile ./lib/libxview/misc bitmask.c\ hashfn.c\ db_conv.c\ -diff -rc ../old/xview3.2p1-X11R6/lib/libxview/misc/expandname.c ./lib/libxview/misc/expandname.c -*** ../old/xview3.2p1-X11R6/lib/libxview/misc/expandname.c Tue Jun 29 01:16:30 1993 ---- ./lib/libxview/misc/expandname.c Sun Nov 20 13:39:03 1994 -*************** -*** 120,126 **** ---- 120,128 ---- - } - (void) close(pivec[0]); - #ifndef SVR4 -+ #if !(defined(BSD) && (BSD >= 199103)) - while (wait((union wait *) & status) != pid); -+ #endif - #else SVR4 - while (wait( & status) != pid); - #endif SVR4 diff -rc ../old/xview3.2p1-X11R6/lib/libxview/misc/getlogindr.c ./lib/libxview/misc/getlogindr.c *** ../old/xview3.2p1-X11R6/lib/libxview/misc/getlogindr.c Tue Jun 29 01:16:30 1993 --- ./lib/libxview/misc/getlogindr.c Sun Nov 20 13:39:03 1994 @@ -1934,21 +1919,6 @@ diff -rc ../old/xview3.2p1-X11R6/lib/libxview/textsw/txt_file.c ./lib/libxview/t Pkg_private int textsw_change_directory(); Pkg_private void textsw_display(), textsw_display_view_margins(); -diff -rc ../old/xview3.2p1-X11R6/lib/libxview/textsw/txt_filter.c ./lib/libxview/textsw/txt_filter.c -*** ../old/xview3.2p1-X11R6/lib/libxview/textsw/txt_filter.c Tue Jun 29 01:17:39 1993 ---- ./lib/libxview/textsw/txt_filter.c Sun Nov 20 13:39:13 1994 -*************** -*** 55,60 **** ---- 55,63 ---- - #define REPLY_OKAY 0 - #define REPLY_SEND 1 - -+ static int talk_to_filter(); -+ static int start_filter(); -+ - /* performance: global cache of getdtablesize() */ - extern int dtablesize_cache; - diff -rc ../old/xview3.2p1-X11R6/lib/libxview/textsw/txt_input.c ./lib/libxview/textsw/txt_input.c *** ../old/xview3.2p1-X11R6/lib/libxview/textsw/txt_input.c Tue Jun 29 01:17:42 1993 --- ./lib/libxview/textsw/txt_input.c Sun Nov 20 13:39:13 1994 diff --git a/x11/xview-lib/patches/patch-al b/x11/xview-lib/patches/patch-al new file mode 100644 index 00000000000..a0574aa62bd --- /dev/null +++ b/x11/xview-lib/patches/patch-al @@ -0,0 +1,26 @@ +$NetBSD: patch-al,v 1.1 1999/12/15 23:51:04 dmcmahill Exp $ + +--- ./lib/libxview/misc/expandname.c.orig Tue Jun 29 01:16:30 1993 ++++ ./lib/libxview/misc/expandname.c Sun Dec 12 21:41:40 1999 +@@ -24,4 +24,7 @@ + #include <sgtty.h> + ++#if defined(BSD) && (BSD >= 199306) ++#include <unistd.h> ++#else + #ifdef sparc + #ifdef SVR4 +@@ -31,4 +34,5 @@ + #endif SVR4 + #endif ++#endif + + #ifdef SVR4 +@@ -121,5 +125,7 @@ + (void) close(pivec[0]); + #ifndef SVR4 ++#if !(defined(BSD) && (BSD >= 199103)) + while (wait((union wait *) & status) != pid); ++#endif + #else SVR4 + while (wait( & status) != pid); diff --git a/x11/xview-lib/patches/patch-am b/x11/xview-lib/patches/patch-am new file mode 100644 index 00000000000..4b33ba10029 --- /dev/null +++ b/x11/xview-lib/patches/patch-am @@ -0,0 +1,19 @@ +$NetBSD: patch-am,v 1.1 1999/12/15 23:51:04 dmcmahill Exp $ + +--- ./lib/libxview/wmgr/wmgr_menu.c.orig Tue Jun 29 01:17:24 1993 ++++ ./lib/libxview/wmgr/wmgr_menu.c Sun Dec 12 21:43:52 1999 +@@ -15,4 +15,8 @@ + #include <ctype.h> + #include <string.h> ++ ++#if defined(BSD) && (BSD >= 199306) ++#include <unistd.h> ++#else + #ifdef sparc + #ifdef SVR4 +@@ -21,4 +25,5 @@ + #include <vfork.h> + #endif SVR4 ++#endif sparc + #endif + diff --git a/x11/xview-lib/patches/patch-an b/x11/xview-lib/patches/patch-an new file mode 100644 index 00000000000..f76fafc5caf --- /dev/null +++ b/x11/xview-lib/patches/patch-an @@ -0,0 +1,22 @@ +--- ./lib/libxview/wmgr/wmgr_menu.c.orig Tue Jun 29 01:17:24 1993 ++++ ./lib/libxview/wmgr/wmgr_menu.c Sun Dec 12 22:12:12 1999 +@@ -11,8 +11,13 @@ + */ + ++#include <sys/param.h> + #include <sys/types.h> + #include <stdio.h> + #include <ctype.h> + #include <string.h> ++ ++#if defined(BSD) && (BSD >= 199306) ++#include <unistd.h> ++#else + #ifdef sparc + #ifdef SVR4 +@@ -21,4 +26,5 @@ + #include <vfork.h> + #endif SVR4 ++#endif sparc + #endif + diff --git a/x11/xview-lib/patches/patch-ao b/x11/xview-lib/patches/patch-ao new file mode 100644 index 00000000000..208d7aae40c --- /dev/null +++ b/x11/xview-lib/patches/patch-ao @@ -0,0 +1,11 @@ +$NetBSD: patch-ao,v 1.1 1999/12/15 23:51:04 dmcmahill Exp $ + +--- ./lib/libxview/textsw/txt_filter.c.orig Tue Jun 29 01:17:39 1993 ++++ ./lib/libxview/textsw/txt_filter.c Mon Dec 13 09:38:22 1999 +@@ -32,5 +32,5 @@ + #include <string.h> + +-#ifdef sparc ++#if defined(sparc) && !(defined(BSD) && (BSD >= 199306)) + #ifdef SVR4 + #include <unistd.h> |