]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/libdlna-0.2.3-ffmpeg_not_found.patch
Add ushare package and libdlna
[people/pmueller/ipfire-2.x.git] / src / patches / libdlna-0.2.3-ffmpeg_not_found.patch
CommitLineData
6fb0cada
AF
1diff -Naur libdlna-0.2.3.org/configure libdlna-0.2.3/configure
2--- libdlna-0.2.3.org/configure 2007-11-26 21:47:43.000000000 +0100
3+++ libdlna-0.2.3/configure 2008-12-27 22:22:18.000000000 +0100
4@@ -610,9 +610,9 @@
5 fi
6
7 echolog "Checking for libavformat ..."
8-check_lib ffmpeg/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
9+check_lib libavformat/avformat.h av_register_all -lavformat || die "Error, can't find libavformat !"
10 echolog "Checking for libavcodec ..."
11-check_lib ffmpeg/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
12+check_lib libavcodec/avcodec.h avcodec_register_all -lavcodec || die "Error, can't find libavcodec !"
13
14 #################################################
15 # version
16diff -Naur libdlna-0.2.3.org/src/av_mpeg4_part10.c libdlna-0.2.3/src/av_mpeg4_part10.c
17--- libdlna-0.2.3.org/src/av_mpeg4_part10.c 2007-11-26 21:47:43.000000000 +0100
18+++ libdlna-0.2.3/src/av_mpeg4_part10.c 2008-12-27 22:23:12.000000000 +0100
19@@ -26,7 +26,7 @@
20 #include <sys/stat.h>
21 #include <fcntl.h>
22
23-#include <ffmpeg/avcodec.h>
24+#include <libavcodec/avcodec.h>
25
26 #include "dlna_internals.h"
27 #include "profiles.h"
28diff -Naur libdlna-0.2.3.org/src/av_mpeg4_part2.c libdlna-0.2.3/src/av_mpeg4_part2.c
29--- libdlna-0.2.3.org/src/av_mpeg4_part2.c 2007-11-26 21:47:43.000000000 +0100
30+++ libdlna-0.2.3/src/av_mpeg4_part2.c 2008-12-27 22:23:25.000000000 +0100
31@@ -26,7 +26,7 @@
32 #include <sys/stat.h>
33 #include <fcntl.h>
34
35-#include <ffmpeg/avcodec.h>
36+#include <libavcodec/avcodec.h>
37
38 #include "dlna_internals.h"
39 #include "profiles.h"
40diff -Naur libdlna-0.2.3.org/src/containers.c libdlna-0.2.3/src/containers.c
41--- libdlna-0.2.3.org/src/containers.c 2007-11-26 21:47:43.000000000 +0100
42+++ libdlna-0.2.3/src/containers.c 2008-12-27 22:23:47.000000000 +0100
43@@ -4,7 +4,7 @@
44 #include <sys/stat.h>
45 #include <fcntl.h>
46
47-#include <ffmpeg/avformat.h>
48+#include <libavformat/avformat.h>
49
50 #include "containers.h"
51 #include "profiles.h"
52diff -Naur libdlna-0.2.3.org/src/profiles.h libdlna-0.2.3/src/profiles.h
53--- libdlna-0.2.3.org/src/profiles.h 2007-11-26 21:47:43.000000000 +0100
54+++ libdlna-0.2.3/src/profiles.h 2008-12-27 22:24:47.000000000 +0100
55@@ -22,8 +22,8 @@
56 #ifndef _PROFILES_H_
57 #define _PROFILES_H_
58
59-#include <ffmpeg/avcodec.h>
60-#include <ffmpeg/avformat.h>
61+#include <libavcodec/avcodec.h>
62+#include <libavformat/avformat.h>
63
64 #include "dlna_internals.h"
65 #include "containers.h"