diff options
author | linimon <linimon@FreeBSD.org> | 2004-02-24 15:44:06 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2004-02-24 15:44:06 +0800 |
commit | 243531c9928e223c04bbb834c597d117e766cddb (patch) | |
tree | 6272e9d24f0bce2f9d25bbb662ba434d392bf73a /devel/ossp-cfg | |
parent | 3709e45b79916d7195bdc8980acafa0a1450a29e (diff) | |
download | freebsd-ports-gnome-243531c9928e223c04bbb834c597d117e766cddb.tar.gz freebsd-ports-gnome-243531c9928e223c04bbb834c597d117e766cddb.tar.zst freebsd-ports-gnome-243531c9928e223c04bbb834c597d117e766cddb.zip |
Update to 0.9.1: enhanced test suite by comparing against previously saved
output; switch from text-based VERSION file to C-based cfg_vers.c; bugfixes
and cleanups. See ChangeLog for complete details.
PR: ports/63175
Submitted by: Kimura Fuyuki <fuyuki@nigredo.org>
Diffstat (limited to 'devel/ossp-cfg')
-rw-r--r-- | devel/ossp-cfg/Makefile | 8 | ||||
-rw-r--r-- | devel/ossp-cfg/distinfo | 4 | ||||
-rw-r--r-- | devel/ossp-cfg/files/patch-cfg_data.c | 11 | ||||
-rw-r--r-- | devel/ossp-cfg/files/patch-cfg_node.c | 21 |
4 files changed, 6 insertions, 38 deletions
diff --git a/devel/ossp-cfg/Makefile b/devel/ossp-cfg/Makefile index d31d0183d89f..591668882b57 100644 --- a/devel/ossp-cfg/Makefile +++ b/devel/ossp-cfg/Makefile @@ -8,9 +8,7 @@ # PORTNAME= cfg -PORTVERSION= 0.9.0 -PORTREVISION= 1 -PORTEPOCH= 0 +PORTVERSION= 0.9.1 CATEGORIES= devel MASTER_SITES= ftp://ftp.ossp.org/pkg/lib/cfg/ PKGNAMEPREFIX= ossp- @@ -18,9 +16,11 @@ PKGNAMEPREFIX= ossp- MAINTAINER= ports@FreeBSD.org COMMENT= A library for parsing arbitrary C/C++-style configuration files +LIB_DEPENDS= ex.10:${PORTSDIR}/devel/ossp-ex + USE_GMAKE= yes -USE_LIBTOOL= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ex=${LOCALBASE} USE_LIBTOOL= yes INSTALLS_SHLIB= yes diff --git a/devel/ossp-cfg/distinfo b/devel/ossp-cfg/distinfo index e4e221bd778b..47c465155631 100644 --- a/devel/ossp-cfg/distinfo +++ b/devel/ossp-cfg/distinfo @@ -1,2 +1,2 @@ -MD5 (cfg-0.9.0.tar.gz) = 9f90dac8870078cf58483a4dc6b1c3d1 -SIZE (cfg-0.9.0.tar.gz) = 238544 +MD5 (cfg-0.9.1.tar.gz) = 0a156a7bc6b562db966bf9c8987164f0 +SIZE (cfg-0.9.1.tar.gz) = 343365 diff --git a/devel/ossp-cfg/files/patch-cfg_data.c b/devel/ossp-cfg/files/patch-cfg_data.c deleted file mode 100644 index 815d78e79d8d..000000000000 --- a/devel/ossp-cfg/files/patch-cfg_data.c +++ /dev/null @@ -1,11 +0,0 @@ ---- cfg_data.c.orig Sun Jul 28 07:06:02 2002 -+++ cfg_data.c Mon Feb 3 15:15:12 2003 -@@ -186,7 +186,7 @@ - break; - } - case CFG_DATA_ATTR_CTRL: { -- cfg_data_cb_t ctrl = (cfg_data_cb_t)va_arg(ap, void (*)(void)); -+ cfg_data_cb_t ctrl = (cfg_data_cb_t)va_arg(ap, void *); - data->ctrl = ctrl; - break; - } diff --git a/devel/ossp-cfg/files/patch-cfg_node.c b/devel/ossp-cfg/files/patch-cfg_node.c deleted file mode 100644 index 360cfe03e60f..000000000000 --- a/devel/ossp-cfg/files/patch-cfg_node.c +++ /dev/null @@ -1,21 +0,0 @@ ---- cfg_node.c.orig Sun Jul 28 07:06:03 2002 -+++ cfg_node.c Mon Feb 3 15:15:27 2003 -@@ -33,6 +33,7 @@ - #include <stdarg.h> - #include <unistd.h> - #include <limits.h> -+#include <sys/types.h> - - #include "cfg_main.h" - #include "cfg_node.h" -@@ -443,8 +444,9 @@ - fprintf(stderr, "step2: child node 0x%lx\n", (unsigned long)node); - do { - if (node->token != NULL) { -+ size_t l; - token = node->token; -- size_t l = strlen(token); -+ l = strlen(token); - fprintf(stderr, "step2: child node: \"%s\"\n", token); - if ( (l == 1 && l == nSel && token[0] == '*') - || (l == nSel && strncmp(token, cpSel, nSel) == 0)) { |