Subject: CVS commit: pkgsrc/audio/libxmp
From: Nia Alarie
Date: 2021-11-13 11:28:27
Message id: 20211113102827.A6F61FAEC@cvs.NetBSD.org

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

Files:
RevisionActionfile
1.14modifypkgsrc/audio/libxmp/Makefile
1.13modifypkgsrc/audio/libxmp/distinfo
1.2modifypkgsrc/audio/libxmp/patches/patch-include_xmp.h
1.4modifypkgsrc/audio/libxmp/patches/patch-src_common.h