From 2fc92c8493fb4c49541be5c579170cb4a218ac83 Mon Sep 17 00:00:00 2001 From: kwm Date: Mon, 3 Sep 2012 22:57:42 +0000 Subject: Fix the build with clang. Submitted by: Pawel Worach --- textproc/scrollkeeper/files/patch-libs_database.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'textproc/scrollkeeper') 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) { -- cgit