summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/scrollkeeper/Makefile2
-rw-r--r--textproc/scrollkeeper/files/patch-cl_src_get-cl.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile
index 94d72cb39060..24956167a44b 100644
--- a/textproc/scrollkeeper/Makefile
+++ b/textproc/scrollkeeper/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scrollkeeper
PORTVERSION= 0.3.11
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
diff --git a/textproc/scrollkeeper/files/patch-cl_src_get-cl.c b/textproc/scrollkeeper/files/patch-cl_src_get-cl.c
new file mode 100644
index 000000000000..c19108275e2c
--- /dev/null
+++ b/textproc/scrollkeeper/files/patch-cl_src_get-cl.c
@@ -0,0 +1,11 @@
+--- cl/src/get-cl.c.orig Thu Sep 12 23:54:01 2002
++++ cl/src/get-cl.c Thu Sep 12 23:54:44 2002
+@@ -44,7 +44,7 @@
+
+ for(i = 0; i < 5; i++) {
+ snprintf(path, PATHLEN, "/tmp/scrollkeeper-tempfile.%d", i);
+- if (stat(path, &buf) == -1) {
++ if (lstat(path, &buf) == -1) {
+ if (errno == ENOENT) {
+ /* this is an empty slot so use it */
+