ports/128336: [PATCH] multimedia/libxine: Fix a compilation failure when using C++
Thomas Abthorpe
tabthorpe at FreeBSD.org
Fri Oct 24 12:20:02 UTC 2008
>Number: 128336
>Category: ports
>Synopsis: [PATCH] multimedia/libxine: Fix a compilation failure when using C++
>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: Fri Oct 24 12:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Thomas Abthorpe
>Release: FreeBSD 7.0-RELEASE-p5 i386
>Organization:
FreeBSD.GoodKing.Ca
>Environment:
System: FreeBSD rex.goodking.ca 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 10:10:12 UTC
>Description:
- Fixes compilation of dependant ports
- Bump PORTREVISION
- Patch found at http://hg.debian.org/hg/xine-lib/xine-lib?cmd=changeset;node=c35bdd51ce1c;style=gitweb
- Thanks to makc@ and miwi@ for diagnosing
Added file(s):
- files/patch-src__xine-engine__buffer.h
Port maintainer (nobutaka at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- libxine-1.1.15_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/libxine/Makefile /home/tabthorpe/ports/multimedia/libxine/Makefile
--- /usr/ports/multimedia/libxine/Makefile 2008-10-19 10:05:44.000000000 -0400
+++ /home/tabthorpe/ports/multimedia/libxine/Makefile 2008-10-24 08:04:28.000000000 -0400
@@ -7,6 +7,7 @@
PORTNAME= xine
PORTVERSION= 1.1.15
+PORTREVISION= 1
CATEGORIES= multimedia ipv6
MASTER_SITES= SF
PKGNAMEPREFIX= lib
diff -ruN --exclude=CVS /usr/ports/multimedia/libxine/files/patch-src__xine-engine__buffer.h /home/tabthorpe/ports/multimedia/libxine/files/patch-src__xine-engine__buffer.h
--- /usr/ports/multimedia/libxine/files/patch-src__xine-engine__buffer.h 1969-12-31 19:00:00.000000000 -0500
+++ /home/tabthorpe/ports/multimedia/libxine/files/patch-src__xine-engine__buffer.h 2008-10-24 08:04:28.000000000 -0400
@@ -0,0 +1,11 @@
+--- src/xine-engine/buffer.h.orig 2008-07-16 17:01:56.000000000 -0400
++++ src/xine-engine/buffer.h 2008-10-23 14:25:45.000000000 -0400
+@@ -676,7 +676,7 @@
+ /* convert xine_waveformatex struct from little endian */
+ void _x_waveformatex_le2me( xine_waveformatex *wavex ) XINE_PROTECTED;
+
+-static inline _x_is_fourcc(void *ptr, void *tag) {
++static inline int _x_is_fourcc(void *ptr, void *tag) {
+ return memcmp(ptr, tag, 4) == 0;
+ }
+
--- libxine-1.1.15_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list