summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/patch-libavcodec-detection.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-11 03:36:56 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-11 03:36:56 -0300
commit1187d7cb38d2700e4773d79b1a3d26fd46adf0df (patch)
treee2894f6cbde68cdb4a176b8541eceb628e42a607 /pcr/zoneminder/patch-libavcodec-detection.patch
parent2874d5896296204c9c6863c6d13e72be392d9fcf (diff)
zoneminder: adding new package to [pcr] repo
Diffstat (limited to 'pcr/zoneminder/patch-libavcodec-detection.patch')
-rw-r--r--pcr/zoneminder/patch-libavcodec-detection.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/zoneminder/patch-libavcodec-detection.patch b/pcr/zoneminder/patch-libavcodec-detection.patch
new file mode 100644
index 000000000..0aaa9bc23
--- /dev/null
+++ b/pcr/zoneminder/patch-libavcodec-detection.patch
@@ -0,0 +1,11 @@
+--- configure.ac~ 2012-07-15 22:27:11.195257379 +0100
++++ configure.ac 2012-07-15 22:24:34.308268675 +0100
+@@ -276,7 +276,7 @@
+ AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming))
+ # Don't bother to warn about this one
+ AC_CHECK_LIB(avcore,av_image_copy,,)
+-AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming))
++AC_CHECK_LIB(avcodec,avcodec_open,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming))
+ AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming))
+ AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming))
+ AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) \ No newline at end of file