summaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2001-09-10 00:22:11 +0000
committermycroft <mycroft@pkgsrc.org>2001-09-10 00:22:11 +0000
commit5bf15092a91f1b9903579340632dc09a95b3bf87 (patch)
tree3d61b7240f5dfa1954e4d5cfd01b5acf414dc0b7 /textproc/scrollkeeper
parent95e6218058b7c5b0ceaa8901560404c039bcaf4f (diff)
downloadpkgsrc-5bf15092a91f1b9903579340632dc09a95b3bf87.tar.gz
Fix problems with scrollkeeper-install overrunning the end of a buffer when
calling realpath().
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r--textproc/scrollkeeper/distinfo3
-rw-r--r--textproc/scrollkeeper/patches/patch-ac78
2 files changed, 80 insertions, 1 deletions
diff --git a/textproc/scrollkeeper/distinfo b/textproc/scrollkeeper/distinfo
index d6458c84f4e..e536fb98616 100644
--- a/textproc/scrollkeeper/distinfo
+++ b/textproc/scrollkeeper/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 15:05:07 skrll Exp $
+$NetBSD: distinfo,v 1.3 2001/09/10 00:22:11 mycroft Exp $
SHA1 (scrollkeeper-0.2.tar.gz) = 2f1f7ce884d64d3f7e6222a373372635cdf8508e
Size (scrollkeeper-0.2.tar.gz) = 308061 bytes
SHA1 (patch-aa) = 26878255f20e941ac923ae5845c7a983ec33ef68
SHA1 (patch-ab) = 84a69952e60e0ad661dead97f7190ed58c753a33
+SHA1 (patch-ac) = 24520219c3a4f369074ecb9b223dc6d65249b03e
diff --git a/textproc/scrollkeeper/patches/patch-ac b/textproc/scrollkeeper/patches/patch-ac
new file mode 100644
index 00000000000..cdef21d0e3f
--- /dev/null
+++ b/textproc/scrollkeeper/patches/patch-ac
@@ -0,0 +1,78 @@
+$NetBSD: patch-ac,v 1.1 2001/09/10 00:22:13 mycroft Exp $
+
+--- get-cl.c.orig Thu Mar 15 11:10:33 2001
++++ get-cl.c Mon Sep 10 00:16:56 2001
+@@ -19,6 +19,7 @@
+ #include <config.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/param.h>
+ #include <libintl.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -29,7 +30,7 @@
+
+ #define SCROLLKEEPERLOCALEDIR "/usr/share/locale"
+
+-#define PATHLEN 256
++#define PATHLEN MAXPATHLEN
+
+ static char **av;
+
+--- install.c.orig Thu Mar 15 11:10:33 2001
++++ install.c Mon Sep 10 00:17:09 2001
+@@ -24,6 +24,7 @@
+ #include <locale.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
++#include <sys/param.h>
+ #include <errno.h>
+ #include <libintl.h>
+ #include <dirent.h>
+@@ -34,7 +35,7 @@
+ #define _(String) gettext (String)
+
+ #define SEP "|"
+-#define PATHLEN 256
++#define PATHLEN MAXPATHLEN
+
+ static int verbose = 0;
+
+--- uninstall.c.orig Thu Mar 15 11:10:33 2001
++++ uninstall.c Mon Sep 10 00:17:21 2001
+@@ -23,6 +23,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/stat.h>
++#include <sys/param.h>
+ #include <libintl.h>
+ #include <locale.h>
+ #include <scrollkeeper.h>
+@@ -31,7 +32,7 @@
+
+ #define _(String) gettext (String)
+
+-#define PATHLEN 256
++#define PATHLEN MAXPATHLEN
+
+ struct IdTab {
+ int id;
+--- update.c.orig Thu Mar 15 11:10:33 2001
++++ update.c Mon Sep 10 00:17:33 2001
+@@ -19,6 +19,7 @@
+ #include <config.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
++#include <sys/param.h>
+ #include <limits.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -32,7 +33,7 @@
+
+ #define SCROLLKEEPERLOCALEDIR "/usr/share/locale"
+
+-#define PATHLEN 256
++#define PATHLEN MAXPATHLEN
+
+ char **av;
+