diff options
author | kwm <kwm@FreeBSD.org> | 2012-09-04 06:57:42 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2012-09-04 06:57:42 +0800 |
commit | 2fc92c8493fb4c49541be5c579170cb4a218ac83 (patch) | |
tree | e3db7b76ff024ab6ebddefca7e7b9b7fe844911d /textproc/scrollkeeper | |
parent | 0c8904e8b15e817b64a3e6c815f6595ebf64a993 (diff) | |
download | freebsd-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.c | 8 |
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) { |