diff options
Diffstat (limited to 'devel/liblcfg')
-rw-r--r-- | devel/liblcfg/Makefile | 6 | ||||
-rw-r--r-- | devel/liblcfg/files/patch-src__lcfgx_tree.c | 27 |
2 files changed, 28 insertions, 5 deletions
diff --git a/devel/liblcfg/Makefile b/devel/liblcfg/Makefile index ca0b8d4b967f..e6334972102f 100644 --- a/devel/liblcfg/Makefile +++ b/devel/liblcfg/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: liblcfg -# Date created: 2012-06-15 -# Whom: Steven Kreuzer <skreuzer@FreeBSD.org> -# +# Created by: Steven Kreuzer <skreuzer@FreeBSD.org> # $FreeBSD$ -# PORTNAME= liblcfg PORTVERSION= 0.2.2 diff --git a/devel/liblcfg/files/patch-src__lcfgx_tree.c b/devel/liblcfg/files/patch-src__lcfgx_tree.c new file mode 100644 index 000000000000..979b81f0e97c --- /dev/null +++ b/devel/liblcfg/files/patch-src__lcfgx_tree.c @@ -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 ) |