aboutsummaryrefslogtreecommitdiff
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-12-05 20:30:48 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-12-05 20:30:48 +0000
commitb1fdb92d6702868c039ce28830057a659350bdf7 (patch)
tree5fc3f640c8918684eb57a999db3506f1fb1ef3e0 /x11/xscreensaver
parent6f7eaa0bca2c7adbbc125953abd8ef622f409d5d (diff)
downloadports-b1fdb92d6702868c039ce28830057a659350bdf7.tar.gz
ports-b1fdb92d6702868c039ce28830057a659350bdf7.zip
Notes
Diffstat (limited to 'x11/xscreensaver')
-rw-r--r--x11/xscreensaver/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index 6f4c70d71932..831e6abc4d96 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xscreensaver
PORTVERSION= 5.12
+PORTREVISION= 1
CATEGORIES?= x11
MASTER_SITES= http://www.jwz.org/xscreensaver/ \
http://dougbarton.us/Downloads/
@@ -140,6 +141,9 @@ post-patch:
-e 's#malloc.h#stdlib.h#g' \
-e 's#/usr/X11R6#${LOCALBASE}#g' \
${WRKSRC}/configure.Patched > ${WRKSRC}/configure
+ @ ${CP} ${WRKSRC}/hacks/glx/tube.c ${WRKSRC}/hacks/glx/tube.c.Patched
+ @ ${SED} -e '183s#.*# free(array);#' \
+ ${WRKSRC}/hacks/glx/tube.c.Patched > ${WRKSRC}/hacks/glx/tube.c
.if defined(WITH_PAM)
.for f in driver/passwd-pam.c driver/xscreensaver.man
@ ${CP} ${WRKSRC}/${f} ${WRKSRC}/${f}.presed