git: 11d96fa01c90 - main - multimedia/libmediainfo: Fix aa49adc65a51fff6afe04b2e1b51dc86189af1d2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:42:52 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=11d96fa01c90d0ebf49eb5a60e6a3e8c336d75ca

commit 11d96fa01c90d0ebf49eb5a60e6a3e8c336d75ca
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:46:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:42 +0000

    multimedia/libmediainfo: Fix aa49adc65a51fff6afe04b2e1b51dc86189af1d2
    
    - Bump PORTREVISION for package change
    
    Tested with TINYXML2 option disabled.
    
    PR:             259190, 259853
---
 multimedia/libmediainfo/Makefile                |  4 +--
 multimedia/libmediainfo/files/patch-Makefile.am | 22 -------------
 multimedia/libmediainfo/files/patch-Makefile.in | 42 +++++++++++++++++++++++++
 3 files changed, 44 insertions(+), 24 deletions(-)

diff --git a/multimedia/libmediainfo/Makefile b/multimedia/libmediainfo/Makefile
index c5c69a9d7434..e51500e4abd5 100644
--- a/multimedia/libmediainfo/Makefile
+++ b/multimedia/libmediainfo/Makefile
@@ -1,8 +1,8 @@
-# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	libmediainfo
 PORTVERSION=	21.09
-PORTREVISION=	1
+PORTREVISION=	2
 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
deleted file mode 100644
index c61eb0546025..000000000000
--- a/multimedia/libmediainfo/files/patch-Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-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
- 
diff --git a/multimedia/libmediainfo/files/patch-Makefile.in b/multimedia/libmediainfo/files/patch-Makefile.in
new file mode 100644
index 000000000000..2727743b3aa4
--- /dev/null
+++ b/multimedia/libmediainfo/files/patch-Makefile.in
@@ -0,0 +1,42 @@
+Obtained from:	https://github.com/MediaArea/MediaInfoLib/commit/e40d91326ab070f88d3e8d194268ce3cd9275028 (based on)
+
+--- Makefile.in.orig	2021-09-17 08:01:27 UTC
++++ Makefile.in
+@@ -113,7 +113,6 @@ host_triplet = @host@
+ @COMPILE_HMAC_TRUE@                       ../../../Source/ThirdParty/hmac-gladman/hmac.c
+ 
+ @COMPILE_TINYXML2_TRUE@am__append_7 = \
+-@COMPILE_TINYXML2_TRUE@                       ../../../Source/ThirdParty/tfsxml/tfsxml.c \
+ @COMPILE_TINYXML2_TRUE@                       ../../../Source/ThirdParty/tinyxml2/tinyxml2.cpp
+ 
+ subdir = .
+@@ -416,8 +415,7 @@ am__dirstamp = $(am__leading_dot)dirstamp
+ @COMPILE_SHA1_TRUE@am__objects_4 = ../../../Source/ThirdParty/sha1-gladman/sha1.lo
+ @COMPILE_SHA2_TRUE@am__objects_5 = ../../../Source/ThirdParty/sha2-gladman/sha2.lo
+ @COMPILE_HMAC_TRUE@am__objects_6 = ../../../Source/ThirdParty/hmac-gladman/hmac.lo
+-@COMPILE_TINYXML2_TRUE@am__objects_7 = ../../../Source/ThirdParty/tfsxml/tfsxml.lo \
+-@COMPILE_TINYXML2_TRUE@	../../../Source/ThirdParty/tinyxml2/tinyxml2.lo
++@COMPILE_TINYXML2_TRUE@am__objects_7 = ../../../Source/ThirdParty/tinyxml2/tinyxml2.lo
+ am_lib@MediaInfoLib_LibName@_la_OBJECTS =  \
+ 	../../../Source/MediaInfo/File__Analyze.lo \
+ 	../../../Source/MediaInfo/File__Analyze_Buffer.lo \
+@@ -647,7 +645,8 @@ am_lib@MediaInfoLib_LibName@_la_OBJECTS =  \
+ 	../../../Source/MediaInfo/Video/File_Vp8.lo \
+ 	../../../Source/MediaInfo/Video/File_Y4m.lo \
+ 	../../../Source/MediaInfo/XmlUtils.lo \
+-	../../../Source/MediaInfo/OutputHelpers.lo $(am__objects_1) \
++	../../../Source/MediaInfo/OutputHelpers.lo \
++	../../../Source/ThirdParty/tfsxml/tfsxml.lo $(am__objects_1) \
+ 	$(am__objects_2) $(am__objects_3) $(am__objects_4) \
+ 	$(am__objects_5) $(am__objects_6) $(am__objects_7)
+ lib@MediaInfoLib_LibName@_la_OBJECTS =  \
+@@ -1427,7 +1427,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 $(am__append_1) \
++	../../../Source/MediaInfo/OutputHelpers.cpp \
++	../../../Source/ThirdParty/tfsxml/tfsxml.c $(am__append_1) \
+ 	$(am__append_2) $(am__append_3) $(am__append_4) \
+ 	$(am__append_5) $(am__append_6) $(am__append_7)
+ @MediaInfoLib_LibName@includedir = $(includedir)/MediaInfo