git: fef700549fe9 - main - multimedia/libmediainfo: Update to 23.03
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 13:39:56 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fef700549fe99450e97dcc2da969b5c45f1f2925 commit fef700549fe99450e97dcc2da969b5c45f1f2925 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-09 13:29:58 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-09 13:36:35 +0000 multimedia/libmediainfo: Update to 23.03 Changes: https://github.com/MediaArea/MediaInfoLib/blob/master/History_DLL.txt --- multimedia/libmediainfo/Makefile | 6 ++++-- multimedia/libmediainfo/distinfo | 6 +++--- multimedia/libmediainfo/files/patch-memset | 22 ++++++++++++++++++++++ 3 files changed, 29 insertions(+), 5 deletions(-) diff --git a/multimedia/libmediainfo/Makefile b/multimedia/libmediainfo/Makefile index c8b73acce76a..8984e7d22b86 100644 --- a/multimedia/libmediainfo/Makefile +++ b/multimedia/libmediainfo/Makefile @@ -1,6 +1,5 @@ PORTNAME= libmediainfo -PORTVERSION= 22.12 -PORTREVISION= 3 +PORTVERSION= 23.03 CATEGORIES= multimedia MASTER_SITES= https://mediaarea.net/download/binary/mediainfo/${PORTVERSION}/ \ LOCAL/sunpoet @@ -27,6 +26,9 @@ USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library +DOS2UNIX_FILES= ../../../Source/MediaInfo/Audio/File_Usac.cpp \ + ../../../Source/MediaInfo/Audio/File_Usac.h + OPTIONS_DEFINE= CURL OPTIONS_DEFAULT=CURL diff --git a/multimedia/libmediainfo/distinfo b/multimedia/libmediainfo/distinfo index 71eee4447932..019b744038d8 100644 --- a/multimedia/libmediainfo/distinfo +++ b/multimedia/libmediainfo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1677771027 -SHA256 (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = e67ce7419ec6af9fb54ffbe3164a42ae1cd874a7e559bfff017868cef1106947 -SIZE (MediaInfo_CLI_22.12_GNU_FromSource.tar.xz) = 3352944 +TIMESTAMP = 1680726042 +SHA256 (MediaInfo_CLI_23.03_GNU_FromSource.tar.xz) = 8502098957e63c613bd97899ecaa22402c87dde395e90761d662cbe45c904cde +SIZE (MediaInfo_CLI_23.03_GNU_FromSource.tar.xz) = 3376144 diff --git a/multimedia/libmediainfo/files/patch-memset b/multimedia/libmediainfo/files/patch-memset new file mode 100644 index 000000000000..8fafcd706141 --- /dev/null +++ b/multimedia/libmediainfo/files/patch-memset @@ -0,0 +1,22 @@ +--- ../../../Source/MediaInfo/Audio/File_Usac.cpp.orig 2023-03-28 20:58:50 UTC ++++ ../../../Source/MediaInfo/Audio/File_Usac.cpp +@@ -3158,7 +3158,7 @@ void File_Usac::arithData(size_t ch, int16u N, int16u + // arith_map_context + { + if (arith_reset_flag || C.arithContext[ch].previous_window_size==(int16u)-1) +- memset(&C.arithContext[ch].q, NULL, sizeof(C.arithContext[ch].q)); ++ memset(&C.arithContext[ch].q, 0, sizeof(C.arithContext[ch].q)); + else if (N != C.arithContext[ch].previous_window_size) + { + if (!N) +--- ../../../Source/MediaInfo/Audio/File_Usac.h.orig 2023-03-28 20:58:50 UTC ++++ ../../../Source/MediaInfo/Audio/File_Usac.h +@@ -305,7 +305,7 @@ public : + + arith_context() : previous_window_size((int16u)-1) + { +- memset(&q, NULL, sizeof(q)); ++ memset(&q, 0, sizeof(q)); + } + }; +