Unbreak build of KDE4.

PR:		ports/128336
Submitted by:	tabthorpe
This commit is contained in:
MANTANI Nobutaka 2008-10-25 12:13:51 +00:00
parent 7571188592
commit ceb4251265
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222050
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= xine PORTNAME= xine
PORTVERSION= 1.1.15 PORTVERSION= 1.1.15
PORTREVISION= 1
CATEGORIES= multimedia ipv6 CATEGORIES= multimedia ipv6
MASTER_SITES= SF MASTER_SITES= SF
PKGNAMEPREFIX= lib PKGNAMEPREFIX= lib

View file

@ -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;
}