diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-12-08 21:53:45 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-12-08 21:53:45 +0800 |
commit | 1005c73a83ac2d20c472ddb6cf9705b6b5a23ab3 (patch) | |
tree | 8a6d8cf88787936b9e1a550e53f1ec212eaed000 | |
parent | 5d4c8a39a0c6e763bc8594f80c076180a3d82b70 (diff) | |
download | freebsd-ports-gnome-1005c73a83ac2d20c472ddb6cf9705b6b5a23ab3.tar.gz freebsd-ports-gnome-1005c73a83ac2d20c472ddb6cf9705b6b5a23ab3.tar.zst freebsd-ports-gnome-1005c73a83ac2d20c472ddb6cf9705b6b5a23ab3.zip |
- Update to 4.7d
- Unbreak
- Remove files/patch-system.h
- Use mkstemp() instead of mktemp()
- Pass maintainership to submitter
PR: 90102
Submitted by: Thomas Vogt <thomas@bsdunix.ch>
-rw-r--r-- | devel/cproto/Makefile | 16 | ||||
-rw-r--r-- | devel/cproto/distinfo | 5 | ||||
-rw-r--r-- | devel/cproto/files/patch-system.h | 20 |
3 files changed, 15 insertions, 26 deletions
diff --git a/devel/cproto/Makefile b/devel/cproto/Makefile index 415ed8de7b66..b1c5c228a895 100644 --- a/devel/cproto/Makefile +++ b/devel/cproto/Makefile @@ -7,21 +7,29 @@ # PORTNAME= cproto -PORTVERSION= 4.7c +PORTVERSION= 4.7d CATEGORIES= devel MASTER_SITES= ftp://invisible-island.net/cproto/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/} EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= thomas@bsdunix.ch COMMENT= Generate C function prototypes and convert function definitions -BROKEN= Size mismatch - GNU_CONFIGURE= yes +USE_REINPLACE= yes + CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= cproto.1 PLIST_FILES= bin/cproto +post-patch: + @${REINPLACE_CMD} \ + -e 's|\(define\ MAX_INC_DEPTH\) 15|\1 25|' \ + -e 's|\(define MAX_TEXT_SIZE\) 256|\1 4096|' \ + ${WRKSRC}/system.h + @${REINPLACE_CMD} -e 's|mktemp|mkstemp|' \ + ${WRKSRC}/${PORTNAME}.c + .include <bsd.port.mk> diff --git a/devel/cproto/distinfo b/devel/cproto/distinfo index e16a61fa0d2f..00188ff3d81d 100644 --- a/devel/cproto/distinfo +++ b/devel/cproto/distinfo @@ -1,2 +1,3 @@ -MD5 (cproto-4_7c.tgz) = c7fb8586a4b402e830d1310f3aadef91 -SIZE (cproto-4_7c.tgz) = 118592 +MD5 (cproto-4_7d.tgz) = d8aa3698dcf762b9fee94c5b9f1c294d +SHA256 (cproto-4_7d.tgz) = aa341ffd8792002747c2cd59b8392707a950ac90b10904e93d9e776a07d69c9a +SIZE (cproto-4_7d.tgz) = 144430 diff --git a/devel/cproto/files/patch-system.h b/devel/cproto/files/patch-system.h deleted file mode 100644 index c34099d82255..000000000000 --- a/devel/cproto/files/patch-system.h +++ /dev/null @@ -1,20 +0,0 @@ ---- system.h.orig Fri Jan 23 17:42:09 1998 -+++ system.h Sun Jul 23 12:04:25 2000 -@@ -122,15 +122,15 @@ - /* maximum include file nesting */ - #ifndef MAX_INC_DEPTH --#define MAX_INC_DEPTH 15 -+#define MAX_INC_DEPTH 25 - #endif - - /* maximum number of include directories */ - #ifndef MAX_INC_DIR --#define MAX_INC_DIR 15 -+#define MAX_INC_DIR 50 - #endif - - /* maximum text buffer size */ - #ifndef MAX_TEXT_SIZE --#define MAX_TEXT_SIZE 256 -+#define MAX_TEXT_SIZE 4096 - #endif |