summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-03-20 02:10:44 +0000
committerlioux <lioux@FreeBSD.org>2004-03-20 02:10:44 +0000
commit6293e1a35216b04d8206cef6209ce4b45ee97419 (patch)
treef6b138bad8424f6b48b470eca51eda4e650c0097 /multimedia
parent32020f419c04b2109164c3fffc311280419b56b3 (diff)
downloadFreeBSD-ports-6293e1a35216b04d8206cef6209ce4b45ee97419.zip
FreeBSD-ports-6293e1a35216b04d8206cef6209ce4b45ee97419.tar.gz
Remove BROKEN: fix build in 5.x-CURRENT
- <strstream.h> -> <iostream> - remove -Wmissing-declarations declarations PR: 64282 Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpeg4ip/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/multimedia/mpeg4ip/Makefile b/multimedia/mpeg4ip/Makefile
index d9992b6..e0728bf 100644
--- a/multimedia/mpeg4ip/Makefile
+++ b/multimedia/mpeg4ip/Makefile
@@ -92,18 +92,17 @@ post-extract:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502102
-BROKEN= "Does not compile"
-.endif
-
post-patch:
@${FIND} ${WRKSRC} -type f -name "*.[ch]" -or -name "*.cpp" | ${XARGS} -n 10 \
${REINPLACE_CMD} -e \
- 's|stdint\.h|inttypes.h|;s|malloc\.h|stdlib.h|'
+ 's|<stdint.h>|<inttypes.h>|; \
+ s|<malloc.h>|<stdlib.h>|; \
+ s|<strstream.h>|<iostream>|'
# replacing distfile's libs with ports' versions
# CFLAGS safeness
@${REINPLACE_CMD} -E -e 's|lib/SDL/sdl-config|${SDL_CONFIG}|; \
- s|^(SDL_LIBS=).+$$|\1"`${SDL_CONFIG} --libs`"|' \
+ s|^(SDL_LIBS=).+$$|\1"`${SDL_CONFIG} --libs`"|; \
+ s|-Wmissing-declarations||' \
${CONFIGURE_WRKSRC}/configure
@${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \
-n 10 ${REINPLACE_CMD} -E -e \
OpenPOWER on IntegriCloud