svn commit: r318970 - in head/devel/liblcfg: . files
Baptiste Daroussin
bapt at FreeBSD.org
Fri May 24 13:59:29 UTC 2013
Author: bapt
Date: Fri May 24 13:59:29 2013
New Revision: 318970
URL: http://svnweb.freebsd.org/changeset/ports/318970
Log:
Fix build with clang
Added:
head/devel/liblcfg/files/
head/devel/liblcfg/files/patch-src__lcfgx_tree.c (contents, props changed)
Modified:
head/devel/liblcfg/Makefile
Modified: head/devel/liblcfg/Makefile
==============================================================================
--- head/devel/liblcfg/Makefile Fri May 24 13:54:00 2013 (r318969)
+++ head/devel/liblcfg/Makefile Fri May 24 13:59:29 2013 (r318970)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: liblcfg
-# Date created: 2012-06-15
-# Whom: Steven Kreuzer <skreuzer at FreeBSD.org>
-#
+# Created by: Steven Kreuzer <skreuzer at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= liblcfg
PORTVERSION= 0.2.2
Added: head/devel/liblcfg/files/patch-src__lcfgx_tree.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/liblcfg/files/patch-src__lcfgx_tree.c Fri May 24 13:59:29 2013 (r318970)
@@ -0,0 +1,27 @@
+--- ./src/lcfgx_tree.c.orig 2013-05-24 17:33:26.742836442 +0200
++++ ./src/lcfgx_tree.c 2013-05-24 17:33:48.764827155 +0200
+@@ -41,17 +41,17 @@
+ return node;
+ }
+
++static void sp(int n)
++{
++ int i;
++
++ for( i = 0; i < n; i++ )
++ printf("%c", ' ');
++}
+
+ void lcfgx_tree_dump(struct lcfgx_tree_node *node, int depth)
+ {
+ // printf("%s node %p node->key %s depth %i\n", __PRETTY_FUNCTION__, node, node->key, depth);
+- void sp(int n)
+- {
+- int i;
+-
+- for( i = 0; i < n; i++ )
+- printf("%c", ' ');
+- }
+
+ sp(depth);
+ if( node->key != NULL )
More information about the svn-ports-all
mailing list