[packages/libsidplay] Rel 3
arekm
arekm at pld-linux.org
Sun Mar 15 16:59:36 CET 2026
commit 06104ce9335ba09b0b1370fec22412e1c9c3aebb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 16:59:29 2026 +0100
Rel 3
libsidplay-unsigned-char.patch | 20 ++++++++++++++++++++
libsidplay.spec | 4 +++-
2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/libsidplay.spec b/libsidplay.spec
index e3606a9..e5f581f 100644
--- a/libsidplay.spec
+++ b/libsidplay.spec
@@ -2,11 +2,12 @@ Summary: A Commodore 64 music player and SID chip emulator library
Summary(pl.UTF-8): Biblioteka odtwarzająca muzyczki z Commodore 64 i emulująca układ SID
Name: libsidplay
Version: 1.36.60
-Release: 2
+Release: 3
License: GPL v2+
Group: Libraries
Source0: http://home.arcor.de/ms2002sep/bak/%{name}-%{version}.tar.bz2
# Source0-md5: 46c5ceccd31636e3f83774dd0b3d4003
+Patch0: %{name}-unsigned-char.patch
# dead together with geocities
#URL: http://www.geocities.com/SiliconValley/Lakes/5147/
BuildRequires: autoconf
@@ -55,6 +56,7 @@ Ten pakiet zawiera statyczną wersję libsidplay.
%prep
%setup -q
+%patch -P0 -p1
%build
%{__libtoolize}
diff --git a/libsidplay-unsigned-char.patch b/libsidplay-unsigned-char.patch
new file mode 100644
index 0000000..8efd896
--- /dev/null
+++ b/libsidplay-unsigned-char.patch
@@ -0,0 +1,20 @@
+--- libsidplay-1.36.60/src/samples.cpp.orig 2020-12-31 00:00:00.000000000 +0100
++++ libsidplay-1.36.60/src/samples.cpp 2020-12-31 00:00:01.000000000 +0100
+@@ -75,7 +75,7 @@
+ sampleChannel ch4, ch5;
+
+
+-const sbyte galwayNoiseTab1[16] =
++const ubyte galwayNoiseTab1[16] =
+ {
+ 0x80,0x91,0xa2,0xb3,0xc4,0xd5,0xe6,0xf7,
+ 0x08,0x19,0x2a,0x3b,0x4c,0x5d,0x6e,0x7f
+@@ -84,7 +84,7 @@
+ ubyte galwayNoiseVolTab[16];
+ sbyte galwayNoiseSamTab[16];
+
+-const sbyte sampleConvertTab[16] =
++const ubyte sampleConvertTab[16] =
+ {
+ // 0x81,0x99,0xaa,0xbb,0xcc,0xdd,0xee,0xff,
+ // 0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x7f
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libsidplay.git/commitdiff/06104ce9335ba09b0b1370fec22412e1c9c3aebb
More information about the pld-cvs-commit
mailing list