summaryrefslogtreecommitdiff
path: root/x11/kdelibs4/patches/patch-cmake_modules_FindFFmpeg.cmake
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-14 13:03:23 +0000
committerwiz <wiz@pkgsrc.org>2014-08-14 13:03:23 +0000
commit96207b7f583351443664b27142ac9ccad2f203f8 (patch)
tree3710756344b4a8a2f9e81f786d8646f6651a6bf6 /x11/kdelibs4/patches/patch-cmake_modules_FindFFmpeg.cmake
parent5bd36ef02eb73c198cb6d125d92778a7aa63f867 (diff)
downloadpkgsrc-96207b7f583351443664b27142ac9ccad2f203f8.tar.gz
Fix ffmpeg detection.
Bump PKGREVISION.
Diffstat (limited to 'x11/kdelibs4/patches/patch-cmake_modules_FindFFmpeg.cmake')
-rw-r--r--x11/kdelibs4/patches/patch-cmake_modules_FindFFmpeg.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/kdelibs4/patches/patch-cmake_modules_FindFFmpeg.cmake b/x11/kdelibs4/patches/patch-cmake_modules_FindFFmpeg.cmake
new file mode 100644
index 00000000000..05a243b9058
--- /dev/null
+++ b/x11/kdelibs4/patches/patch-cmake_modules_FindFFmpeg.cmake
@@ -0,0 +1,16 @@
+$NetBSD: patch-cmake_modules_FindFFmpeg.cmake,v 1.1 2014/08/14 13:03:23 wiz Exp $
+
+Fix detection using pkg-config.
+https://bugs.kde.org/show_bug.cgi?id=338266
+
+--- cmake/modules/FindFFmpeg.cmake.orig 2014-08-14 11:43:40.000000000 +0000
++++ cmake/modules/FindFFmpeg.cmake
+@@ -62,7 +62,7 @@ macro(find_component _component _pkgconf
+ # in the FIND_PATH() and FIND_LIBRARY() calls
+ find_package(PkgConfig)
+ if (PKG_CONFIG_FOUND)
+- pkg_check_modules(PC_${_component} ${_pkgconfig})
++ pkg_check_modules(PC_LIB${_component} ${_pkgconfig})
+ endif ()
+ endif (NOT WIN32)
+