Skip to content

Commit

Permalink
libwildmidi: update to 0.4.4.
Browse files Browse the repository at this point in the history
Bug-fix and maintenance update after the previous version 0.4.3.
All users of wildmidi-0.4.x are strongly encouraged to upgrade.

What's new in 0.4.4:

    Fixed integer overflow in midi parser sample count calculation (bug #200).
    Fixed 8 bit ping pong GUS patch loaders (bug #207).
    Fixed wrong variable use in reverb code (bug #210).
    Reset block status of tty after playback (bug #211).
    Fixed broken file name handling for 'save as midi' command during playback.
    Clamp MUS volume commands (PR #226).
    CMake project improvements (bugs: #214, #216, #217, #218) - cmake version 3.1 or newer is now required.
  • Loading branch information
0-wiz-0 committed Apr 6, 2021
1 parent 991ad41 commit 6bd188d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 55 deletions.
10 changes: 2 additions & 8 deletions audio/libwildmidi/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.10 2020/08/08 21:18:30 schmonz Exp $
# $NetBSD: Makefile,v 1.11 2021/04/06 07:53:56 wiz Exp $

DISTNAME= wildmidi-0.4.3
DISTNAME= wildmidi-0.4.4
PKGNAME= lib${DISTNAME}
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=Mindwerks/}
Expand All @@ -16,12 +16,6 @@ WRKSRC= ${WRKDIR}/wildmidi-${DISTNAME}
USE_LANGUAGES= c99
USE_CMAKE= yes

SUBST_CLASSES+= man
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
SUBST_FILES.man+= src/CMakeLists.txt
SUBST_STAGE.man= post-extract
SUBST_MESSAGE.man= Fixing man page installation path.

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Darwin"
Expand Down
6 changes: 5 additions & 1 deletion audio/libwildmidi/PLIST
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
@comment $NetBSD: PLIST,v 1.4 2019/07/15 14:39:54 nia Exp $
@comment $NetBSD: PLIST,v 1.5 2021/04/06 07:53:56 wiz Exp $
bin/wildmidi
include/wildmidi_lib.h
lib/cmake/WildMidi/WildMidiConfig.cmake
lib/cmake/WildMidi/WildMidiConfigVersion.cmake
lib/cmake/WildMidi/WildMidiTargets-debug.cmake
lib/cmake/WildMidi/WildMidiTargets.cmake
lib/libWildMidi.so
lib/libWildMidi.so.2
lib/libWildMidi.so.2.1.0
Expand Down
13 changes: 6 additions & 7 deletions audio/libwildmidi/distinfo
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
$NetBSD: distinfo,v 1.8 2020/08/08 21:18:30 schmonz Exp $
$NetBSD: distinfo,v 1.9 2021/04/06 07:53:56 wiz Exp $

SHA1 (wildmidi-0.4.3.tar.gz) = 0a2294106690709263f9bf2b5604edb5ad8f5920
RMD160 (wildmidi-0.4.3.tar.gz) = 366715c08a344e07bdf783c21b2f00c078feea8f
SHA512 (wildmidi-0.4.3.tar.gz) = 7e86e998ee97cdf57328e4cf5ef52a64926fd01999879c0eae5b6c823be4e6d116f7026230bd15d209e6616fbc7ba1c29ebd1f3be04735e341ce5c83298f956f
Size (wildmidi-0.4.3.tar.gz) = 196750 bytes
SHA1 (patch-CMakeLists.txt) = fc91d32db65d9b33b74e96ce5cc9254d93e73dcd
SHA1 (patch-src_CMakeLists.txt) = e5d391fc3a341f0e1d7a4523f51e96b6cfa921a4
SHA1 (wildmidi-0.4.4.tar.gz) = 3c95c8ff211aa8b114d0ae70c5e812cbfa641b7a
RMD160 (wildmidi-0.4.4.tar.gz) = af6573feeee6f443c51d42ebf9e76963c88bdbcf
SHA512 (wildmidi-0.4.4.tar.gz) = 5b74ee83f1d7ce3b45d2f996aaa30ec6e7d7808eab294a3eaf6fcef77443523df1f54bb0fb1b3105edd0d72d75885fda1a2e97c68defb5bbd687bda5077d3454
Size (wildmidi-0.4.4.tar.gz) = 197597 bytes
SHA1 (patch-CMakeLists.txt) = 62675c407b01fd49d81089f75f4da43fadd2fcf2
21 changes: 6 additions & 15 deletions audio/libwildmidi/patches/patch-CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
$NetBSD: patch-CMakeLists.txt,v 1.1 2020/08/08 21:18:30 schmonz Exp $
$NetBSD: patch-CMakeLists.txt,v 1.2 2021/04/06 07:53:56 wiz Exp $

Don't build so specially for macOS.

--- CMakeLists.txt.orig 2018-11-24 08:55:50.000000000 +0000
--- CMakeLists.txt.orig 2021-03-21 08:55:50.000000000 +0000
+++ CMakeLists.txt
@@ -13,7 +13,7 @@ SET(SOVERSION 2)
SET(VERSION 2.1.0)

# Find Macros
-SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
+SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)

INCLUDE(CMakeDependentOption)
INCLUDE(CheckCCompilerFlag)
@@ -44,7 +44,7 @@ OPTION(WANT_OSX_DEPLOYMENT "OSX Deployme
@@ -42,7 +42,7 @@ OPTION(WANT_OSX_DEPLOYMENT "OSX Deployme
IF (WIN32 AND MSVC)
OPTION(WANT_MP_BUILD "Build with Multiple Processes (/MP)" OFF)
ENDIF ()
Expand All @@ -22,15 +13,15 @@ Don't build so specially for macOS.
SET(WILDMIDI_CFG "/etc/wildmidi/wildmidi.cfg" CACHE STRING "default config location")
ELSE ()
SET(WILDMIDI_CFG "wildmidi.cfg" CACHE STRING "default config location")
@@ -152,6 +152,7 @@ CHECK_C_SOURCE_COMPILES("static __inline
@@ -144,6 +144,7 @@ CHECK_C_SOURCE_COMPILES("static __inline
# we must not have any unresolved symbols:
if (APPLE)
SET(EXTRA_LDFLAGS "-Wl,-undefined,error")
+ SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
ELSE()
SET(OLD_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
SET(CMAKE_REQUIRED_FLAGS "${OLD_REQUIRED_FLAGS} -Wl,--no-undefined")
@@ -284,19 +285,11 @@ IF (AMIGA OR AROS)
@@ -261,19 +262,11 @@ IF (AMIGA OR AROS)
ENDIF ()

IF (APPLE)
Expand All @@ -48,5 +39,5 @@ Don't build so specially for macOS.
-ENDIF (APPLE)
-
# Setup up our config file
CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/include/config.h.cmake" "${CMAKE_BINARY_DIR}/include/config.h")
CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/include/config.h.cmake" "${PROJECT_BINARY_DIR}/include/config.h")

24 changes: 0 additions & 24 deletions audio/libwildmidi/patches/patch-src_CMakeLists.txt

This file was deleted.

0 comments on commit 6bd188d

Please sign in to comment.