ports/116814: [PATCH] multimedia/streamdvd: Fix build with gcc4.2

Martin Wilke miwi at FreeBSD.org
Tue Oct 2 09:10:02 UTC 2007


>Number:         116814
>Category:       ports
>Synopsis:       [PATCH] multimedia/streamdvd: Fix build with gcc4.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 02 09:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Wilke
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD miwi.homeunix.com 7.0-CURRENT FreeBSD 7.0-CURRENT #305: Fri Sep 28 12:07:59 CEST 2007
>Description:

tinderbox build
i386
http://head.miwibox.org/tb/index.php?action=describe_port&id=2150
amd64
http://amd64.miwibox.org/tb/index.php?action=describe_port&id=1590



Port maintainer (serge.gagnon at b2b2c.ca) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- streamdvd-0.4_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/streamdvd/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	1 Oct 2007 09:18:18 -0000	1.5
+++ Makefile	1 Oct 2007 21:36:02 -0000
@@ -27,6 +27,7 @@
 		${WRKSRC}/mplex/mplex.cpp ${WRKSRC}/streamdvd.c
 	@${REINPLACE_CMD} -e 's|<stdint\.h>|<unistd.h>|' \
 		${WRKSRC}/mplex/mjpeg_types.h
+	@${REINPLACE_CMD} -e '48s|ZAlphaStream::||' ${WRKSRC}/mplex/zalphastrm.hpp
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/streamdvd ${PREFIX}/bin
@@ -35,10 +36,4 @@
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN=		Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- streamdvd-0.4_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list