On October 23, 2008 12:32:43 pm Troy wrote:
> Thanks for the reply. Did you guys check-in the fix to the 7.0 STABLE tree?
>  When can I CVS and re-try?
>
> -Troy

*** Warning *** Experimental *** Warning *** Test at your own risk ***

Based on the feedback from Max, I have put together this patch for libxine. 
For it to work environment variable WITH_KDE has be set, and libxine has to 
be rebuilt.

This is currently a WIP, and a needs further testing, use at your own risk.


Thomas

-- 
Thomas Abthorpe         | FreeBSD Committer
[EMAIL PROTECTED]       | http://people.freebsd.org/~tabthorpe
===> Generating patch
===> Viewing diff with more
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-23 14:33:04.000000000 -0400
@@ -73,6 +73,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if defined(WITH_KDE)
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src__xine-engine__buffer.h
+.endif
+
 .if defined(WITH_ARTS)
 LIB_DEPENDS+=	artsc.0:${PORTSDIR}/audio/arts
 PLIST_SUB+=	WITH_ARTS=""
diff -ruN --exclude=CVS /usr/ports/multimedia/libxine/files/extra-patch-src__xine-engine__buffer.h /home/tabthorpe/ports/multimedia/libxine/files/extra-patch-src__xine-engine__buffer.h
--- /usr/ports/multimedia/libxine/files/extra-patch-src__xine-engine__buffer.h	1969-12-31 19:00:00.000000000 -0500
+++ /home/tabthorpe/ports/multimedia/libxine/files/extra-patch-src__xine-engine__buffer.h	2008-10-23 14:26:55.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;
+ }
+ 
===> Done

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to