Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 22:57:43 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303628 - head/textproc/scrollkeeper/files
Message-ID:  <201209032257.q83Mvhbt056439@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Mon Sep  3 22:57:42 2012
New Revision: 303628
URL: http://svn.freebsd.org/changeset/ports/303628

Log:
  Fix the build with clang.
  
  Submitted by:	Pawel Worach

Modified:
  head/textproc/scrollkeeper/files/patch-libs_database.c

Modified: head/textproc/scrollkeeper/files/patch-libs_database.c
==============================================================================
--- head/textproc/scrollkeeper/files/patch-libs_database.c	Mon Sep  3 22:33:43 2012	(r303627)
+++ head/textproc/scrollkeeper/files/patch-libs_database.c	Mon Sep  3 22:57:42 2012	(r303628)
@@ -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)
      {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209032257.q83Mvhbt056439>