aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2012-09-04 06:57:42 +0800
committerkwm <kwm@FreeBSD.org>2012-09-04 06:57:42 +0800
commit2fc92c8493fb4c49541be5c579170cb4a218ac83 (patch)
treee3db7b76ff024ab6ebddefca7e7b9b7fe844911d /textproc/scrollkeeper
parent0c8904e8b15e817b64a3e6c815f6595ebf64a993 (diff)
downloadfreebsd-ports-gnome-2fc92c8493fb4c49541be5c579170cb4a218ac83.tar.gz
freebsd-ports-gnome-2fc92c8493fb4c49541be5c579170cb4a218ac83.tar.zst
freebsd-ports-gnome-2fc92c8493fb4c49541be5c579170cb4a218ac83.zip
Fix the build with clang.
Submitted by: Pawel Worach
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r--textproc/scrollkeeper/files/patch-libs_database.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/textproc/scrollkeeper/files/patch-libs_database.c b/textproc/scrollkeeper/files/patch-libs_database.c
index 4a9c6a771fc4..6fb6da513105 100644
--- a/textproc/scrollkeeper/files/patch-libs_database.c
+++ b/textproc/scrollkeeper/files/patch-libs_database.c
@@ -1,12 +1,12 @@
---- libs/database.c.orig Sat May 25 23:17:10 2002
-+++ libs/database.c Sat May 25 23:18:01 2002
-@@ -73,7 +73,8 @@
+--- libs/database.c.orig 2002-06-02 06:03:10.000000000 +0000
++++ libs/database.c 2012-09-03 22:39:28.000000000 +0000
+@@ -131,7 +131,8 @@
/* create locale directories and symlinks */
- dir = opendir(data_dir);
+ if ((dir = opendir(data_dir)) == NULL)
-+ return;
++ return 1;
while((dir_ent = readdir(dir)) != NULL)
{