diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-02 15:34:51 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-02-02 15:34:51 +0000 |
commit | 4dcb418a8b0891a64c814ec2e8cfef6e467d604b (patch) | |
tree | 8b597421bb39dfeb2352f2d6b4058c8c305a153a /devel/dparser | |
parent | - Update distinfo for the http_workarounds patch (again) (diff) |
- Fix build on -stable
- Support CFLAGS properly
PR: ports/62259
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=99816
Diffstat (limited to 'devel/dparser')
-rw-r--r-- | devel/dparser/Makefile | 4 | ||||
-rw-r--r-- | devel/dparser/files/patch-arg.c | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/devel/dparser/Makefile b/devel/dparser/Makefile index 0661ecb4ec3e..13626b769db6 100644 --- a/devel/dparser/Makefile +++ b/devel/dparser/Makefile @@ -17,12 +17,14 @@ MAINTAINER= ports@FreeBSD.org 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 --git a/devel/dparser/files/patch-arg.c b/devel/dparser/files/patch-arg.c new file mode 100644 index 000000000000..e108b88411dd --- /dev/null +++ b/devel/dparser/files/patch-arg.c @@ -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; |