From 4d25ffcec6e5fc43e8568ac79ab53549062441c5 Mon Sep 17 00:00:00 2001 From: Aldas Nabazas Date: Sun, 31 Aug 2008 15:56:25 +0200 Subject: [PATCH] xine-lib: added patch to get kdemultimedia compiled --- multimedia/xine-lib/inline_buf-fix.patch | 29 ++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 multimedia/xine-lib/inline_buf-fix.patch diff --git a/multimedia/xine-lib/inline_buf-fix.patch b/multimedia/xine-lib/inline_buf-fix.patch new file mode 100644 index 000000000..3bb9b9276 --- /dev/null +++ b/multimedia/xine-lib/inline_buf-fix.patch @@ -0,0 +1,29 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../xine-lib/inline_buf-fix.patch +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +Index: xine-lib-1.1.15/src/xine-engine/buffer.h +=================================================================== +--- xine-lib-1.1.15.orig/src/xine-engine/buffer.h ++++ xine-lib-1.1.15/src/xine-engine/buffer.h +@@ -676,7 +676,7 @@ void _x_bmiheader_le2me( xine_bmiheader + /* 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; + } +