1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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>
This commit is contained in:
Mark Linimon 2004-02-24 07:44:06 +00:00
parent 734849de3f
commit 7d5f3b7381
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101944
4 changed files with 6 additions and 38 deletions

View File

@ -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

View File

@ -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

View File

@ -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;
}

View File

@ -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)) {