mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Fix the build with trendy GCC.
Reported by: pointhat (logs)
This commit is contained in:
parent
71aca03970
commit
8975256f73
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194416
@ -20,7 +20,6 @@ BUILD_DEPENDS= wget:${PORTSDIR}/ftp/wget
|
||||
PLIST_FILES= bin/staticcharge
|
||||
WRKSRC= ${WRKDIR}/staticcharge
|
||||
USE_GNOME= gtk12
|
||||
USE_X_PREFIX= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
@ -28,6 +27,11 @@ USE_GMAKE= yes
|
||||
CONFIGURE_ARGS+= --enable-debug
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E 's,\(int\)([[:graph:]]+) = ,\1 = (char *),' \
|
||||
${WRKSRC}/src/checkexe.c ${WRKSRC}/src/checkip.c \
|
||||
${WRKSRC}/src/getfields.c
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user