ports/62259: Update port: devel/dparser
KATO Tsuguru
tkato at prontomail.com
Mon Feb 2 15:01:07 UTC 2004
>Number: 62259
>Category: ports
>Synopsis: Update port: devel/dparser
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 02 07:00:35 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Fix build on -stable
- Support CFLAGS properly
New file:
files/patch-arg.c
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/dparser/Makefile devel/dparser/Makefile
--- /usr/ports/devel/dparser/Makefile Mon Jan 5 12:45:36 2004
+++ devel/dparser/Makefile Mon Feb 2 18:27:28 2004
@@ -17,12 +17,14 @@
COMMENT= A simple but powerful tool for parsing
WRKSRC= ${WRKDIR}/d
+
USE_GMAKE= yes
+MAKE_ARGS= CC="${CC}" D_OPTIMIZE=
MAN1= make_dparser.1
-.if !defined(NOPORTDOCS)
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.endif
diff -urN /usr/ports/devel/dparser/files/patch-arg.c devel/dparser/files/patch-arg.c
--- /usr/ports/devel/dparser/files/patch-arg.c Thu Jan 1 09:00:00 1970
+++ devel/dparser/files/patch-arg.c Mon Feb 2 18:36:17 2004
@@ -0,0 +1,11 @@
+--- arg.c.orig Fri Nov 7 03:03:52 2003
++++ arg.c Mon Feb 2 18:35:43 2004
+@@ -40,7 +40,7 @@
+ *(double *)desc[i].location = atof(arg);
+ break;
+ case 'L':
+- *(int64 *)desc[i].location = atoll(arg);
++ *(int64 *)desc[i].location = strtoll(arg,NULL,10);
+ break;
+ case 'S': strncpy((char *)desc[i].location,arg, atoi(desc[i].type+1));
+ break;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list