summaryrefslogtreecommitdiff
path: root/databases/sqsh/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-22 05:28:23 +0000
committerjlam <jlam@pkgsrc.org>2001-05-22 05:28:23 +0000
commit0cdaf0514846192b811532a8711b6f8b339e3ca3 (patch)
tree0456baadbdaaf31b1fb83660b88ebbd0bc88c2df /databases/sqsh/patches
parent9d53d6c39945fd91688bb1e8f8939a1ed0aa06aa (diff)
downloadpkgsrc-0cdaf0514846192b811532a8711b6f8b339e3ca3.tar.gz
Use editline readline emulation when available. Also install the man page
for sqsh.
Diffstat (limited to 'databases/sqsh/patches')
-rw-r--r--databases/sqsh/patches/patch-aa37
-rw-r--r--databases/sqsh/patches/patch-ab11
-rw-r--r--databases/sqsh/patches/patch-ac13
-rw-r--r--databases/sqsh/patches/patch-ad23
-rw-r--r--databases/sqsh/patches/patch-ae14
5 files changed, 70 insertions, 28 deletions
diff --git a/databases/sqsh/patches/patch-aa b/databases/sqsh/patches/patch-aa
index aa42fb18766..30c12668d69 100644
--- a/databases/sqsh/patches/patch-aa
+++ b/databases/sqsh/patches/patch-aa
@@ -1,16 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/05/16 01:07:05 tsarna Exp $
-
--- configure.orig Tue Jan 5 21:33:39 1999
-+++ configure Fri May 12 22:48:38 2000
-@@ -1088,14 +1088,14 @@
- then
- SYBASE_LIBDIR='-L$(SYBASE)/devlib'
- else
-- SYBASE_LIBDIR='-L$(SYBASE)/lib'
-+ SYBASE_LIBDIR='-L$(SYBASE)/lib -R$(SYBASE)/lib'
- fi
-
- #
++++ configure Tue May 22 00:50:38 2001
+@@ -1095,7 +1095,7 @@
# The basic client libraries that are always needed
# on all platforms.
#
@@ -28,21 +18,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/05/16 01:07:05 tsarna Exp $
*)
SYBASE_OS="-lm -ldl";;
esac
-@@ -1298,7 +1300,7 @@
+@@ -1301,7 +1303,7 @@
+ CPPFLAGS="${CPPFLAGS} -L${READLINE_LIBDIR}"
fi
- if test "${READLINE_LIBDIR}" != ""; then
-- CPPFLAGS="${CPPFLAGS} -L${READLINE_LIBDIR}"
-+ CPPFLAGS="${CPPFLAGS} -L${READLINE_LIBDIR} -R${READLINE_LIBDIR}"
- fi
-
- for lib in "-lHcurses" "-lcurses" "-lncurses" "-ltermcap" \
-@@ -1373,7 +1375,7 @@
- then
- READLINE_LIBDIR="# -L${READLINE_LIBDIR}"
- else
-- READLINE_LIBDIR="-L${READLINE_LIBDIR}"
-+ READLINE_LIBDIR="-L${READLINE_LIBDIR} -R${READLINE_LIBDIR}"
- fi
- fi
- fi
+- for lib in "-lHcurses" "-lcurses" "-lncurses" "-ltermcap" \
++ for lib in "-ltermcap" "-lHcurses" "-lcurses" "-lncurses" \
+ "-ltermcap -lucb"
+ do
+ LIBS="${ORIG_LIBS} -lreadline ${lib}"
diff --git a/databases/sqsh/patches/patch-ab b/databases/sqsh/patches/patch-ab
new file mode 100644
index 00000000000..a99f7d82139
--- /dev/null
+++ b/databases/sqsh/patches/patch-ab
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Tue Jan 5 21:38:41 1999
++++ Makefile.in Tue May 22 00:58:22 2001
+@@ -157,7 +157,7 @@
+ LIB_DIRS = $(X_LIBDIR) $(MOTIF_INCDIR) $(SYBASE_LIBDIR) $(READLINE_LIBDIR)
+ CFLAGS = @CFLAGS@ $(DEBUG) $(DEFINES) $(INCLUDE_DIRS)
+ CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = $(DEBUG) $(LIB_DIRS)
++LDFLAGS = @LDFLAGS@ $(DEBUG) $(LIB_DIRS)
+ LIBS = $(SYBASE_LIBS) $(X_LIBS) $(READLINE_LIBS) @LIBS@
+
+ # The follow define information about the components that make up
diff --git a/databases/sqsh/patches/patch-ac b/databases/sqsh/patches/patch-ac
new file mode 100644
index 00000000000..204f681e086
--- /dev/null
+++ b/databases/sqsh/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2001/05/22 05:28:24 jlam Exp $
+
+--- sqsh_buf.c.orig Tue Jan 5 21:25:26 1999
++++ sqsh_buf.c Tue May 22 01:04:48 2001
+@@ -37,7 +37,7 @@
+
+ #if defined(USE_READLINE)
+ #include <readline/readline.h>
+-extern void add_history();
++#include <readline/history.h>
+ #endif /* USE_READLINE */
+
+ /*
diff --git a/databases/sqsh/patches/patch-ad b/databases/sqsh/patches/patch-ad
new file mode 100644
index 00000000000..1a2808cb181
--- /dev/null
+++ b/databases/sqsh/patches/patch-ad
@@ -0,0 +1,23 @@
+$NetBSD: patch-ad,v 1.1 2001/05/22 05:28:24 jlam Exp $
+
+--- sqsh_readline.c.orig Tue Jan 5 21:30:16 1999
++++ sqsh_readline.c Tue May 22 01:03:21 2001
+@@ -32,17 +32,7 @@
+
+ #if defined(USE_READLINE)
+ #include <readline/readline.h>
+-
+-/*
+- * Readline history functions - for some reason not all
+- * readline installs have history.h available, so we do
+- * this.
+- */
+-extern void stifle_history();
+-extern int read_history();
+-extern int write_history();
+-extern void add_history();
+-
++#include <readline/history.h>
+ #endif /* USE_READLINE */
+
+ /*-- Current Version --*/
diff --git a/databases/sqsh/patches/patch-ae b/databases/sqsh/patches/patch-ae
new file mode 100644
index 00000000000..2d160d8d2af
--- /dev/null
+++ b/databases/sqsh/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1 2001/05/22 05:28:24 jlam Exp $
+
+--- var_readline.c.orig Tue Jan 5 21:32:33 1999
++++ var_readline.c Tue May 22 01:06:13 2001
+@@ -31,8 +31,7 @@
+
+ #if defined(USE_READLINE)
+ #include <readline/readline.h>
+-extern void stifle_history();
+-extern void unstifle_history();
++#include <readline/history.h>
+ #endif
+
+ /*-- Current Version --*/