diff options
-rw-r--r-- | x11/xscreensaver/Makefile | 4 |
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 |