Date: Mon, 2 Feb 2004 23:50:17 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62259: Update port: devel/dparser Message-ID: <20040202235017.73a5babf.tkato@prontomail.com> Resent-Message-ID: <200402021500.i12F0ZCO071902@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040202235017.73a5babf.tkato>