From e69b26f67b3a6e4a18799b30013a7e1fbbf998cb Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Sat, 2 Jan 2021 10:30:03 +0100 Subject: [PATCH] libsidplay2 libsidplay2 Signed-off-by: Daniel Engberg --- audio/libsidplay2/Makefile | 10 +++++----- .../files/patch-libsidplay_src_xsid_xsid.cpp | 13 +++++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 audio/libsidplay2/files/patch-libsidplay_src_xsid_xsid.cpp diff --git a/audio/libsidplay2/Makefile b/audio/libsidplay2/Makefile index 20c7c1cb277f..7185141bbfab 100644 --- a/audio/libsidplay2/Makefile +++ b/audio/libsidplay2/Makefile @@ -2,18 +2,18 @@ # $FreeBSD$ PORTNAME= libsidplay2 -PORTVERSION= 2.1.1 -PORTREVISION= 8 +DISTVERSION= 2.1.1 +PORTREVISION= 9 CATEGORIES= audio emulators -MASTER_SITES= SF/sidplay2/sidplay2/sidplay-libs-${PORTVERSION} -DISTNAME= sidplay-libs-${PORTVERSION} +MASTER_SITES= SF/sidplay2/sidplay2/sidplay-libs-${DISTVERSION} +DISTNAME= sidplay-libs-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Library to play Commodore 64 SID-tunes cycle accurately GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= gmake libtool pathfix pkgconfig +USES= libtool pathfix pkgconfig USE_LDCONFIG= yes post-patch: diff --git a/audio/libsidplay2/files/patch-libsidplay_src_xsid_xsid.cpp b/audio/libsidplay2/files/patch-libsidplay_src_xsid_xsid.cpp new file mode 100644 index 000000000000..54f89fce9c19 --- /dev/null +++ b/audio/libsidplay2/files/patch-libsidplay_src_xsid_xsid.cpp @@ -0,0 +1,13 @@ +--- libsidplay/src/xsid/xsid.cpp.orig 2004-06-14 20:08:02 UTC ++++ libsidplay/src/xsid/xsid.cpp +@@ -96,8 +96,8 @@ const int8_t XSID::sampleConvertTable[16] = + */ + const int8_t XSID::sampleConvertTable[16] = + { +- '\x80', '\x94', '\xa9', '\xbc', '\xce', '\xe1', '\xf2', '\x03', +- '\x1b', '\x2a', '\x3b', '\x49', '\x58', '\x66', '\x73', '\x7f' ++ (int8_t)'\x80', (int8_t)'\x94', (int8_t)'\xa9', (int8_t)'\xbc', (int8_t)'\xce', (int8_t)'\xe1', (int8_t)'\xf2', (int8_t)'\x03', ++ (int8_t)'\x1b', (int8_t)'\x2a', (int8_t)'\x3b', (int8_t)'\x49', (int8_t)'\x58', (int8_t)'\x66', (int8_t)'\x73', (int8_t)'\x7f' + }; + + const char *XSID::credit = -- 2.29.2