diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-12-14 23:09:43 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-12-14 23:09:43 +0000 |
commit | ee250e0d619feb3990ab698c8642d19793d025ba (patch) | |
tree | 43de73b3b01d511571a13a02075418687c8cbbe1 /devel/gtexinfo/patches | |
parent | a09fdfdc5686cfd2611ffe5f424028cc544b8aca (diff) | |
download | pkgsrc-ee250e0d619feb3990ab698c8642d19793d025ba.tar.gz |
Update to V3.11, provided by Johnny Lam <lamj@stat.cmu.edu>.
Diffstat (limited to 'devel/gtexinfo/patches')
-rw-r--r-- | devel/gtexinfo/patches/patch-aa | 45 | ||||
-rw-r--r-- | devel/gtexinfo/patches/patch-ab | 19 | ||||
-rw-r--r-- | devel/gtexinfo/patches/patch-ac | 19 | ||||
-rw-r--r-- | devel/gtexinfo/patches/patch-ad | 19 | ||||
-rw-r--r-- | devel/gtexinfo/patches/patch-ae | 56 |
5 files changed, 132 insertions, 26 deletions
diff --git a/devel/gtexinfo/patches/patch-aa b/devel/gtexinfo/patches/patch-aa index 5846fb20a99..6e198349ca2 100644 --- a/devel/gtexinfo/patches/patch-aa +++ b/devel/gtexinfo/patches/patch-aa @@ -1,26 +1,19 @@ ---- util/install-info.c 1996/10/03 23:13:36 1.12 -+++ util/install-info.c 1997/10/07 13:10:54 -@@ -338,16 +338,23 @@ - We define this function here rather than using strerror - because not all systems have strerror. */ - -+#include <sys/param.h> -+#include <string.h> -+ - char * - my_strerror (errnum) - int errnum; - { -+#if (defined(BSD) && BSD >= 199306) -+ return strerror(errnum); -+#else - extern char *sys_errlist[]; - extern int sys_nerr; - - if (errnum >= 0 && errnum < sys_nerr) - return sys_errlist[errnum]; - return (char *) "Unknown error"; -+#endif - } - - /* This table defines all the long-named options, says whether they +*** util/install-info.c.orig Tue Oct 7 16:08:31 1997 +--- util/install-info.c Tue Oct 7 16:43:18 1997 +*************** +*** 335,341 **** + topmost node of the Info hierarchy, called (dir)Top.\n\ + The first time you invoke Info you start off looking at this node.\n\ + \n\ +! File: dir Node: Top This is the top of the INFO tree\n\ + \n\ + This (the Directory node) gives a menu of major topics.\n\ + Typing \"q\" exits, \"?\" lists all Info commands, \"d\" returns here,\n\ +--- 335,341 ---- + topmost node of the Info hierarchy, called (dir)Top.\n\ + The first time you invoke Info you start off looking at this node.\n\ + \n\ +! File: dir Node: Top This is the top of the INFO tree\n\ + \n\ + This (the Directory node) gives a menu of major topics.\n\ + Typing \"q\" exits, \"?\" lists all Info commands, \"d\" returns here,\n\ diff --git a/devel/gtexinfo/patches/patch-ab b/devel/gtexinfo/patches/patch-ab new file mode 100644 index 00000000000..3663fda60ba --- /dev/null +++ b/devel/gtexinfo/patches/patch-ab @@ -0,0 +1,19 @@ +*** info/Makefile.in.orig Thu Jul 31 19:51:17 1997 +--- info/Makefile.in Tue Oct 7 16:54:31 1997 +*************** +*** 107,113 **** + PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) + + +! DEFS = @DEFS@ -I. -I$(srcdir) -I.. + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ +--- 107,113 ---- + PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) + + +! DEFS = @DEFS@ -DPORTSINFODIR=\"$(prefix)/info\" -I. -I$(srcdir) -I.. + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ + LIBS = @LIBS@ diff --git a/devel/gtexinfo/patches/patch-ac b/devel/gtexinfo/patches/patch-ac new file mode 100644 index 00000000000..3138aadf4f0 --- /dev/null +++ b/devel/gtexinfo/patches/patch-ac @@ -0,0 +1,19 @@ +*** info/filesys.h.orig Tue Jul 15 14:39:09 1997 +--- info/filesys.h Tue Oct 7 17:00:11 1997 +*************** +*** 71,77 **** + + /* The default value of INFOPATH. */ + #if !defined (DEFAULT_INFOPATH) +! # define DEFAULT_INFOPATH "/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share/info:/usr/share/lib/info:/usr/local/share/info:/usr/local/share/lib/info:/usr/gnu/lib/emacs/info:/usr/local/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/local/emacs/info:." + #endif /* !DEFAULT_INFOPATH */ + + #if !defined (S_ISREG) && defined (S_IFREG) +--- 71,77 ---- + + /* The default value of INFOPATH. */ + #if !defined (DEFAULT_INFOPATH) +! # define DEFAULT_INFOPATH PORTSINFODIR ":" "/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share/info:/usr/share/lib/info:/usr/local/share/info:/usr/local/share/lib/info:/usr/gnu/lib/emacs/info:/usr/local/gnu/lib/emacs/info:/usr/local/lib/emacs/info:/usr/local/emacs/info:." + #endif /* !DEFAULT_INFOPATH */ + + #if !defined (S_ISREG) && defined (S_IFREG) diff --git a/devel/gtexinfo/patches/patch-ad b/devel/gtexinfo/patches/patch-ad new file mode 100644 index 00000000000..b4ba483d532 --- /dev/null +++ b/devel/gtexinfo/patches/patch-ad @@ -0,0 +1,19 @@ +*** util/texindex.c.orig Thu Jul 24 19:34:46 1997 +--- util/texindex.c Fri Oct 3 13:11:13 1997 +*************** +*** 1692,1698 **** + } + + #if !defined (HAVE_STRERROR) +! extern char *sys_errlist[]; + extern int sys_nerr; + + char * +--- 1692,1698 ---- + } + + #if !defined (HAVE_STRERROR) +! extern const char * const sys_errlist[]; + extern int sys_nerr; + + char * diff --git a/devel/gtexinfo/patches/patch-ae b/devel/gtexinfo/patches/patch-ae new file mode 100644 index 00000000000..b8f606b44e0 --- /dev/null +++ b/devel/gtexinfo/patches/patch-ae @@ -0,0 +1,56 @@ +*** info/terminal.c.orig Tue Jul 29 17:42:05 1997 +--- info/terminal.c Sat Nov 15 17:07:42 1997 +*************** +*** 31,43 **** + #ifdef HAVE_NCURSES_TERMCAP_H + #include <ncurses/termcap.h> + #else +! #ifdef HAVE_TERMCAP_H + #include <termcap.h> + #else + /* On Solaris2, sys/types.h #includes sys/reg.h, which #defines PC. + Unfortunately, PC is a global variable used by the termcap library. */ + #undef PC + + /* Termcap requires these variables, whether we access them or not. */ + char *BC, *UP; + char PC; /* Pad character */ +--- 31,47 ---- + #ifdef HAVE_NCURSES_TERMCAP_H + #include <ncurses/termcap.h> + #else +! #if defined(HAVE_TERMCAP_H) && !defined(__NetBSD__) + #include <termcap.h> + #else + /* On Solaris2, sys/types.h #includes sys/reg.h, which #defines PC. + Unfortunately, PC is a global variable used by the termcap library. */ + #undef PC + ++ #if defined(__NetBSD__) ++ #include <termcap.h> ++ #endif ++ + /* Termcap requires these variables, whether we access them or not. */ + char *BC, *UP; + char PC; /* Pad character */ +*************** +*** 114,125 **** +--- 118,135 ---- + /* Although I can't find any documentation that says this is supposed to + return its argument, all the code I've looked at (termutils, less) + does so, so fine. */ ++ #ifdef __NetBSD__ ++ void ++ #else + static int ++ #endif + output_character_function (c) + int c; + { + putc (c, stdout); ++ #ifndef __NetBSD__ + return c; ++ #endif + } + + /* Macro to send STRING to the terminal. */ |