From 4939343e67f3af3868004699a1f2cca8fb3ff8932cfdb43ccf80fea51766746d Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Tue, 26 Mar 2019 07:34:58 +0000 Subject: [PATCH] Accepting request 688584 from home:olh:branches:multimedia:xine - Use alsa API properly. Consumers are expected to use instead of . This is in preparation of an change to pkgconfig(alsa) to not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333) OBS-URL: https://build.opensuse.org/request/show/688584 OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=118 --- xine-lib-alsa.patch | 11 +++++++++++ xine-lib.changes | 8 ++++++++ xine-lib.spec | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 xine-lib-alsa.patch diff --git a/xine-lib-alsa.patch b/xine-lib-alsa.patch new file mode 100644 index 0000000..5919bfa --- /dev/null +++ b/xine-lib-alsa.patch @@ -0,0 +1,11 @@ +--- a/src/audio_out/audio_alsa_out.c ++++ b/src/audio_out/audio_alsa_out.c +@@ -44,7 +44,7 @@ + + #define ALSA_PCM_NEW_HW_PARAMS_API + #define ALSA_PCM_NEW_SW_PARAMS_API +-#include ++#include + + #include + #include diff --git a/xine-lib.changes b/xine-lib.changes index c778b6d..87834a0 100644 --- a/xine-lib.changes +++ b/xine-lib.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Mar 26 07:03:44 UTC 2019 - olaf@aepfle.de + +- Use alsa API properly. Consumers are expected to use + instead of . + This is in preparation of an change to pkgconfig(alsa) to + not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333) + ------------------------------------------------------------------- Fri Feb 22 12:00:57 UTC 2019 - olaf@aepfle.de diff --git a/xine-lib.spec b/xine-lib.spec index 0efa6cd..a7782b3 100644 --- a/xine-lib.spec +++ b/xine-lib.spec @@ -138,6 +138,7 @@ Patch0: xine-lib-libdvdread_udf.diff Patch1: xine-lib-v4l-2.6.38.patch # PATCH allow ffmpeg in openSUSE versions that have ffmpeg and still use the crippled tar ball to build with ffmpeg3. Patch2: xine-lib-without-ffmpeg.patch +Patch3: xine-lib-alsa.patch # Add theora FOURCC to libxine I found an avi container that xine wouldn't play. Patch4: xine-lib-theora.patch # This should be fixed upstream, but this patch will not work for them. @@ -595,6 +596,7 @@ rm -rf src/combined/ffmpeg configure #%%patch5 %endif %endif +%patch3 -p1 %patch4 %patch6 %patch8 -p1