summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libmediainfo/files/libmediainfo-0.7.57-system-tinyxml.patch')
-rw-r--r--media-libs/libmediainfo/files/libmediainfo-0.7.57-system-tinyxml.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/libmediainfo/files/libmediainfo-0.7.57-system-tinyxml.patch b/media-libs/libmediainfo/files/libmediainfo-0.7.57-system-tinyxml.patch
new file mode 100644
index 000000000000..ba6a46b5b122
--- /dev/null
+++ b/media-libs/libmediainfo/files/libmediainfo-0.7.57-system-tinyxml.patch
@@ -0,0 +1,16 @@
+--- MediaInfoLib/Project/GNU/Library/configure.ac
++++ MediaInfoLib/Project/GNU/Library/configure.ac
+@@ -524,11 +524,8 @@
+ dnl libtinyxml2
+ dnl
+ if test "$with_libtinyxml2" = "yes"; then
+- PKG_CHECK_MODULES([TINYXML2], [tinyxml2])
+- CXXFLAGS="$CXXFLAGS $TINYXML2_CXXFLAGS"
+- MediaInfoLib_CXXFLAGS="$MediaInfoLib_CXXFLAGS $TINYXML2_CXXFLAGS"
+- LIBS="$LIBS $TINYXML2_LIBS"
+- MediaInfoLib_LIBS="$MediaInfoLib_LIBS $TINYXML2_LIBS"
++ LIBS="$LIBS -ltinyxml"
++ MediaInfoLib_LIBS="$MediaInfoLib_LIBS -ltinyxml"
+ AM_CONDITIONAL(COMPILE_TINYXML2, false)
+ using_libtinyxml2="system"
+ else