]> git.pld-linux.org Git - packages/libdlna.git/commitdiff
- rel 2; fix build with latest ffmpeg auto/th/libdlna-0_2_3-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 1 Sep 2011 12:11:59 +0000 (12:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libdlna-ffmpeg.patch -> 1.1
    libdlna.spec -> 1.8

libdlna-ffmpeg.patch [new file with mode: 0644]
libdlna.spec

diff --git a/libdlna-ffmpeg.patch b/libdlna-ffmpeg.patch
new file mode 100644 (file)
index 0000000..6433285
--- /dev/null
@@ -0,0 +1,18 @@
+--- libdlna-0.2.3/src/profiles.c~      2007-11-26 21:47:43.000000000 +0100
++++ libdlna-0.2.3/src/profiles.c       2011-09-01 14:10:36.187916662 +0200
+@@ -205,13 +205,13 @@
+   for (i = 0; i < ctx->nb_streams; i++)
+   {
+     if (audio_stream == -1 &&
+-        ctx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO)
++        ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO)
+     {
+       audio_stream = i;
+       continue;
+     }
+     else if (video_stream == -1 &&
+-             ctx->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO)
++             ctx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
+     {
+       video_stream = i;
+       continue;
index cbe779c7231d6062fc44628943ca9f56c4899f7b..c8d2d7dbd2231cdf313ec5f95da57dec6e8e4aa2 100644 (file)
@@ -2,12 +2,13 @@ Summary:      DLNA library
 Summary(pl.UTF-8):     Biblioteka DLNA
 Name:          libdlna
 Version:       0.2.3
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Libraries
 Source0:       http://libdlna.geexbox.org/releases/%{name}-%{version}.tar.bz2
 # Source0-md5: 2c974f95b711e5fd07f78fc4ebfcca66
 Patch0:                %{name}-ffmpeg_paths.patch
+Patch1:                %{name}-ffmpeg.patch
 URL:           http://libdlna.geexbox.org
 BuildRequires: ffmpeg-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,6 +44,7 @@ Statyczna biblioteka libdlna.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 ./configure \
This page took 0.029476 seconds and 4 git commands to generate.