From aa49adc65a51fff6afe04b2e1b51dc86189af1d2 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Wed, 22 Dec 2021 02:55:04 +0800 Subject: [PATCH] multimedia/libmediainfo: Fix undefined tfsxml_* symbols - Bump PORTREVISION for package change PR: 259853 Reported by: Johannes Falke Obtained from: https://github.com/MediaArea/MediaInfoLib/commit/e40d91326ab070f88d3e8d194268ce3cd9275028 --- multimedia/libmediainfo/Makefile | 1 + .../libmediainfo/files/patch-Makefile.am | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 multimedia/libmediainfo/files/patch-Makefile.am diff --git a/multimedia/libmediainfo/Makefile b/multimedia/libmediainfo/Makefile index 47a03a98389b..c5c69a9d7434 100644 --- a/multimedia/libmediainfo/Makefile +++ b/multimedia/libmediainfo/Makefile @@ -2,6 +2,7 @@ PORTNAME= libmediainfo PORTVERSION= 21.09 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= https://mediaarea.net/download/binary/mediainfo/${PORTVERSION}/ \ LOCAL/sunpoet diff --git a/multimedia/libmediainfo/files/patch-Makefile.am b/multimedia/libmediainfo/files/patch-Makefile.am new file mode 100644 index 000000000000..c61eb0546025 --- /dev/null +++ b/multimedia/libmediainfo/files/patch-Makefile.am @@ -0,0 +1,22 @@ +Obtained from: https://github.com/MediaArea/MediaInfoLib/commit/e40d91326ab070f88d3e8d194268ce3cd9275028 + +--- Makefile.am.orig 2021-09-17 08:01:27 UTC ++++ Makefile.am +@@ -230,7 +230,8 @@ lib@MediaInfoLib_LibName@_la_SOURCES = \ + ../../../Source/MediaInfo/Video/File_Vp8.cpp \ + ../../../Source/MediaInfo/Video/File_Y4m.cpp \ + ../../../Source/MediaInfo/XmlUtils.cpp \ +- ../../../Source/MediaInfo/OutputHelpers.cpp ++ ../../../Source/MediaInfo/OutputHelpers.cpp \ ++ ../../../Source/ThirdParty/tfsxml/tfsxml.c + + @MediaInfoLib_LibName@includedir = $(includedir)/MediaInfo + @MediaInfoLib_LibName@include_HEADERS = \ +@@ -280,7 +281,6 @@ endif + + if COMPILE_TINYXML2 + lib@MediaInfoLib_LibName@_la_SOURCES += \ +- ../../../Source/ThirdParty/tfsxml/tfsxml.c \ + ../../../Source/ThirdParty/tinyxml2/tinyxml2.cpp + endif +