ports/71105: libxine fails to recognise/decode xvid-encoded video if compiled with gcc 3.4
Michael Nottebrock
michaelnottebrock at gmx.net
Sun Aug 29 15:00:41 UTC 2004
>Number: 71105
>Category: ports
>Synopsis: libxine fails to recognise/decode xvid-encoded video if compiled with gcc 3.4
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 29 15:00:40 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael Nottebrock
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kiste 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Wed Aug 11 18:49:54 CEST 2004
root at kiste:/usr/obj/usr/src/sys/KISTE-UP i386
>Description:
libxine fails to recognise/decode video files encoded with xvid if
compiled with gcc 3.4. The xine frontend will pop up an error dialog,
saying video the format is not recognized, other frontends like
kaffeine will just display no video and play audio-only.
libxine compiled with gcc 3.3 or earlier will recognise and decode the
video.
>How-To-Repeat:
Compile libxine on 5-CURRENT with OSVERSION 502123 or higher (or
6-CURRENT).
Install a frontend (xine, kaffeine).
Fetch http://people.freebsd.org/~lofi/test.avi and try to play it.
Apply patch attached to this PR to the port, recompile libxine and try
again.
>Fix:
Force compilation of libxine with gcc 3.3, patch below. Again, this
is more of a stop-gap than a real fix, but given that ports-freeze for
5.3-RELEASE starts in less than a week, it's better than having a broken
libxine distributed.
Note that USE_GCC can NOT be used - it's ignored on recent 5.2-C, 5.3
and 6.0 FreeBSD.
--- libxine.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/libxine/Makefile,v
retrieving revision 1.66
diff -u -r1.66 Makefile
--- Makefile 25 Aug 2004 13:39:34 -0000 1.66
+++ Makefile 29 Aug 2004 14:54:39 -0000
@@ -51,6 +51,12 @@
.include <bsd.port.pre.mk>
+# GCC 3.4 breaks xvid decoder
+.if ${OSVERSION} > 502123
+BUILD_DEPENDS+= gcc33:${PORTSDIR}/lang/gcc33
+CC= gcc33
+.endif
+
# PRId64, INT16_MAX macro are not defined
.if ${OSVERSION} < 500040
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-config.h.in
--- libxine.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list