Fix build on 12.0-CURRENT

Notified by:	pkg-fallout
This commit is contained in:
Emanuel Haupt 2018-02-21 13:44:19 +00:00
parent 3463defdf1
commit 1faf852ad2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462523
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= sidplayer
PORTVERSION= 4.4
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= audio
MASTER_SITES= http://sidplayer.cebix.net/downloads/ \
LOCAL/ehaupt

View File

@ -0,0 +1,11 @@
--- src/sid.cpp.orig 2004-05-08 11:29:06 UTC
+++ src/sid.cpp
@@ -471,7 +471,7 @@ static filt_t ffreq_hp[256]; // High-pas
// Table for sampled voices
#ifdef SID_PLAYER
-static const int16 sample_tab[16 * 3] = {
+static const uint16_t sample_tab[16 * 3] = {
0x8000, 0x9111, 0xa222, 0xb333, 0xc444, 0xd555, 0xe666, 0xf777,
0x0888, 0x1999, 0x2aaa, 0x3bbb, 0x4ccc, 0x5ddd, 0x6eee, 0x7fff,