diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-10 15:40:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-10 15:40:27 +0000 |
commit | 6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (patch) | |
tree | cee0a97398040001220ece3cd48c3d568bcddb4a /media-libs/libsidplay/files | |
parent | 1db00cc6e94b90c08090bb5b8c406622946c4ae5 (diff) |
gentoo resync : 10.02.2019
Diffstat (limited to 'media-libs/libsidplay/files')
-rw-r--r-- | media-libs/libsidplay/files/libsidplay-2.1.1-gcc6.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/libsidplay/files/libsidplay-2.1.1-gcc6.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-gcc6.patch new file mode 100644 index 000000000000..7cfac32b2295 --- /dev/null +++ b/media-libs/libsidplay/files/libsidplay-2.1.1-gcc6.patch @@ -0,0 +1,22 @@ +Description: explicit cast to int8_t + Fix FTBFS with GCC 6 due to narrowing conversions from 'char' to 'int8_t'. +Author: Laszlo Boszormenyi (GCS) <gcs@debian.org> +Forwarded: no +Bug-Debian: https://bugs.debian.org/837378 +Last-Update: 2016-09-19 + +--- + +--- sidplay-libs-2.1.1.orig/libsidplay/src/xsid/xsid.cpp ++++ sidplay-libs-2.1.1/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 = |