Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id A7BB81A923A for ; Sat, 13 Nov 2021 10:28:30 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id A6A6F84F44; Sat, 13 Nov 2021 10:28:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DFFCD84F43 for ; Sat, 13 Nov 2021 10:28:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ZLvVKXkRb_Yz for ; Sat, 13 Nov 2021 10:28:27 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id BA1C284E6E for ; Sat, 13 Nov 2021 10:28:27 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A6F61FAEC; Sat, 13 Nov 2021 10:28:27 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_163679930755240" MIME-Version: 1.0 Date: Sat, 13 Nov 2021 10:28:27 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/audio/libxmp To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20211113102827.A6F61FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_163679930755240 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: nia Date: Sat Nov 13 10:28:27 UTC 2021 Modified Files: pkgsrc/audio/libxmp: Makefile distinfo pkgsrc/audio/libxmp/patches: patch-include_xmp.h patch-src_common.h Log Message: libxmp: update to 4.5.0 4.5.0 (20210606): Changes by Alice Rowan: - xmp_load_module_from_callbacks and xmp_test_module_from_callbacks added to api - fix xmp_set_position et al. when used during loops, pattern delay - make xmp_set_position() consistently clear pattern break/jump vars - avoid shell command injection when calling external unmo3 or unrar - fix volume event handling for FAR modules - fix GDM loader to correctly handle empty notes - fix GDM fine effects - fix incorrect handling of GDM speed effect - implement GDM surround effect - add support for DSMI 0.8 and 0.9 AMF modules - fix incorrect DSMI AMF volume and note 0x7f handling - fix DSMI AMF track 0 remapping bug - fix DSMI AMF speed effect and pan command conversions - fix IMAGO Orpheus channel panning and status values - fix S3M ADPCM4 samples - fix OctaMED 'tracker compatibility' tempos, more accurate OctaMED 8-channel mode BPM tables. - ignore MED volume/slide effects with param of 0, fix speed bound. - improve MOD loader checks for Mod's Grave WOW files - fix Schism Tracker version date calculation - fix MED2 BPM handling - fix MED modules with pattern lengths > 256 - fix MED instrument corruption - allow up to 512 rows in X-Tracker patterns - add support for DigiBooster Pro pan envelopes - fix DigiBooster Pro volume envelope number of points - fix fine effects for DigiBooster Pro modules - fix loading DigiBooster Pro modules with large sample chunks - fix IT bug where Cxx on same row as SBx would not be ignored - fix IT bug where Qxy would ignore the volume parameter - fix IT sample global volume and sample vibrato - fix two IT bugs related to note off and volume handling - fix event out-of-bounds reads due to invalid key values - fix multiple out-of-bounds reads/writes, memory corruptions, uninitialized reads and hangs in several loaders (thanks to Lionel Debroux for providing fuzz files) - fix xmp_release_module double frees when invoked multiple times - check external sample file names before opening them - make it possible to disable module depacker functionality - make it possible to disable prowizard module loaders Changes by viiri: - fix samples corruption in STM modules - support more versions of STM modules Changes by Özkan Sezer: - add new xmp_syserrno call to the api - xmp_get_format_list() now returns const char* const*, not char** (no ABI change) - xmp_test_module, xmp_load_module, xmp_set_instrument_path and xmp_smix_load_sample() now accept const char* path parameters (no ABI change) - xmp_load_module_from_memory() now accepts a const void* memory param (no ABI change) - xmp_load_module_from_memory() no longer accepts sizes <= 0. - explicitly document that callers of xmp_load_module_from_file() are responsible for closing their own file. - remove nonportable use of fdopen in xmp_load_module_from_file() - fix a seek issue with xmp_load_module_from_memory - fix memory-io functions' error handling - fix number of envelope points sanity check in IMF loader - rewrite the UMX loader - revise sanity checks to prevent oob reads in s404 depacker - fix vorbis depacker to function properly on big endian systems - fix windows static library builds - fix win64 compatibility in ptpopen - fix build with C89 compilers - fix issues related to visibility attributes - fix compatibility with old gcc, mingw, djgpp - fix warnings in configure script - fix Watcom C build on OS/2 - fix Amiga build - several code clean-ups Changes by Carsten Teibes: - fix lite build mod loader symbols Changes by NoSuck: - add new xmp_set_row() call to skip replay to the given row - IT: T00 now repeats previous slide - prevent clobbering of muted channels' volumes in IT modules - clamp number of IT envelope nodes at load time - fix IT message (comment) length miscalculation - fix IT volume panning effect - fix mute status on player creation Changes by Cameron Cawley: - fix sanity check in Digital Symphony loader - fix and enable the Coconizer loader - support compiling for Windows with OpenWatcom Changes by Ghabry: - add xmp_test_module_from_memory and xmp_test_module_from_file calls to api Fix problems reported by Ralf Hoffmann: - fix MMD3 instrument type sanity check - fix strictness of MOD pattern data tester - fix loading of XMLiTE XM modules - fix loading of ST modules with invalid names Fix problems reported by Lionel Debroux: - fix PTM loader issues - fix MED4 invalid sample load error - fix NNA and DCT/DCA issues Fix problems reported by Dennis Mulleneers: - handle XM 16-bit samples with odd in-file data Fix problems reported by Jay Garcia: - fix smix sample allocation - force reset of buffer state on player start Fix problems reported by Vitaly Novichkov: - fix Emscripten builds - fix linkage errors with MSVC debug builds Other changes: - fix IT pattern delay volume reset bug (read row events only once per row) - fix volume, pitch and pan slides lagging behind one frame - fix tempo assignment in module scan to fix seek issues/crashes - fix double free in case of ADPCM sample load error - code refactoring and cleanup - add new xmp_set_tempo_factor() call to set the replay tempo multiplier - fix XM keyoff with instrument - fix loading xm instruments with more than 16 samples To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 pkgsrc/audio/libxmp/Makefile cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/libxmp/distinfo cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/libxmp/patches/patch-include_xmp.h cvs rdiff -u -r1.3 -r1.4 pkgsrc/audio/libxmp/patches/patch-src_common.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_163679930755240 Content-Disposition: inline Content-Length: 4111 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/audio/libxmp/Makefile diff -u pkgsrc/audio/libxmp/Makefile:1.13 pkgsrc/audio/libxmp/Makefile:1.14 --- pkgsrc/audio/libxmp/Makefile:1.13 Sun Jan 26 05:26:12 2020 +++ pkgsrc/audio/libxmp/Makefile Sat Nov 13 10:28:27 2021 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.13 2020/01/26 05:26:12 rillig Exp $ +# $NetBSD: Makefile,v 1.14 2021/11/13 10:28:27 nia Exp $ -DISTNAME= libxmp-4.4.1 +DISTNAME= libxmp-4.5.0 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmp/} Index: pkgsrc/audio/libxmp/distinfo diff -u pkgsrc/audio/libxmp/distinfo:1.12 pkgsrc/audio/libxmp/distinfo:1.13 --- pkgsrc/audio/libxmp/distinfo:1.12 Tue Oct 26 09:59:10 2021 +++ pkgsrc/audio/libxmp/distinfo Sat Nov 13 10:28:27 2021 @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.12 2021/10/26 09:59:10 nia Exp $ +$NetBSD: distinfo,v 1.13 2021/11/13 10:28:27 nia Exp $ -BLAKE2s (libxmp-4.4.1.tar.gz) = fe3cc7355b94833e6f38a2e7e0457114b6c90bf93a2c7af941ee725741169c84 -SHA512 (libxmp-4.4.1.tar.gz) = 81608b60f9b952ae4899854235c99493f0acb9e79254143037f7f5b8d368a0149d52e5c32cd4fd07882d02897f801bac3f7e27d6dd20ba9f6106534f54ab1cf6 -Size (libxmp-4.4.1.tar.gz) = 618448 bytes -SHA1 (patch-include_xmp.h) = 235dbcae39926fcacb07eea5dde4b64a6064dca9 -SHA1 (patch-src_common.h) = f23d1490d6b3f0ec95c4ff7932348a4b05266570 +BLAKE2s (libxmp-4.5.0.tar.gz) = 3a1187f8a40581df800b5ed8276a71faeb0b5e038a21fb655237a7a654b933aa +SHA512 (libxmp-4.5.0.tar.gz) = 71a57c7fcd696267c6e2d3cc12b43fe09adce9ed83f9f130755d3b2c2b984eb52e4ae4fad115ffeb07397c7cc4886fc3c4e01cbb1f047449228f7a557760cb1a +Size (libxmp-4.5.0.tar.gz) = 652983 bytes +SHA1 (patch-include_xmp.h) = 4976367981f3706514f54801665cab5b7600bf26 +SHA1 (patch-src_common.h) = 9ae1b83d53968841e2001b45bd2ef83f6efd748c Index: pkgsrc/audio/libxmp/patches/patch-include_xmp.h diff -u pkgsrc/audio/libxmp/patches/patch-include_xmp.h:1.1 pkgsrc/audio/libxmp/patches/patch-include_xmp.h:1.2 --- pkgsrc/audio/libxmp/patches/patch-include_xmp.h:1.1 Thu Feb 27 09:29:10 2014 +++ pkgsrc/audio/libxmp/patches/patch-include_xmp.h Sat Nov 13 10:28:27 2021 @@ -1,4 +1,6 @@ -$NetBSD: patch-include_xmp.h,v 1.1 2014/02/27 09:29:10 rxg Exp $ +$NetBSD: patch-include_xmp.h,v 1.2 2021/11/13 10:28:27 nia Exp $ + +Up max sampling rate to 192 kHz. --- include/xmp.h.orig 2014-02-22 22:13:36.000000000 +0000 +++ include/xmp.h Index: pkgsrc/audio/libxmp/patches/patch-src_common.h diff -u pkgsrc/audio/libxmp/patches/patch-src_common.h:1.3 pkgsrc/audio/libxmp/patches/patch-src_common.h:1.4 --- pkgsrc/audio/libxmp/patches/patch-src_common.h:1.3 Thu Nov 21 23:48:27 2019 +++ pkgsrc/audio/libxmp/patches/patch-src_common.h Sat Nov 13 10:28:27 2021 @@ -1,13 +1,15 @@ -$NetBSD: patch-src_common.h,v 1.3 2019/11/21 23:48:27 nia Exp $ +$NetBSD: patch-src_common.h,v 1.4 2021/11/13 10:28:27 nia Exp $ ---- src/common.h.orig 2016-10-12 10:30:03.000000000 +0000 +Avoid versioned symbols on SunOS to fix dependencies. + +--- src/common.h.orig 2021-06-10 00:24:24.000000000 +0000 +++ src/common.h -@@ -10,7 +10,7 @@ - #include "xmp.h" +@@ -22,7 +22,7 @@ + #endif - #if defined(__GNUC__) || defined(__clang__) --#if !defined(WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(__AMIGA__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && !defined(__MINT__) -+#if !defined(WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(__AMIGA__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && !defined(__MINT__) && !defined(__sun) + #if (defined(__GNUC__) || defined(__clang__)) && defined(XMP_SYM_VISIBILITY) +-#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(LIBXMP_AMIGA) && !defined(__MSDOS__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && !defined(__MINT__) ++#if !defined(_WIN32) && !defined(__ANDROID__) && !defined(__APPLE__) && !defined(LIBXMP_AMIGA) && !defined(__MSDOS__) && !defined(B_BEOS_VERSION) && !defined(__ATHEOS__) && !defined(EMSCRIPTEN) && !defined(__MINT__) && !defined(__sun) #define USE_VERSIONED_SYMBOLS #endif #endif --_----------=_163679930755240--