summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-01-29 23:24:25 +0100
committerJeroen Roovers <jer@gentoo.org>2017-01-29 23:38:00 +0100
commitc2374d1613f689dcea637a805f383da4cfe511b6 (patch)
tree23a32fc4463482f419c1dddd7d6333c3c211e28a /media-libs/libsidplay
parentapp-text/mupdf: Add ~arm64 keyword (https://github.com/gentoo/gentoo/pull/3638). (diff)
downloadgentoo-c2374d1613f689dcea637a805f383da4cfe511b6.tar.gz
gentoo-c2374d1613f689dcea637a805f383da4cfe511b6.tar.bz2
gentoo-c2374d1613f689dcea637a805f383da4cfe511b6.zip
media-libs/libsidplay: Fix patches.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/libsidplay')
-rw-r--r--media-libs/libsidplay/files/libsidplay-2.1.1-fbsd.patch4
-rw-r--r--media-libs/libsidplay/files/libsidplay-2.1.1-gcc41.patch (renamed from media-libs/libsidplay/files/libsidplay2-gcc41.patch)8
-rw-r--r--media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch16
-rw-r--r--media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch8
-rw-r--r--media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild4
5 files changed, 20 insertions, 20 deletions
diff --git a/media-libs/libsidplay/files/libsidplay-2.1.1-fbsd.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-fbsd.patch
index b2f4acd41a7c..0f4740e3856f 100644
--- a/media-libs/libsidplay/files/libsidplay-2.1.1-fbsd.patch
+++ b/media-libs/libsidplay/files/libsidplay-2.1.1-fbsd.patch
@@ -1,5 +1,5 @@
---- libsidutils/src/ini/ini.cpp
-+++ libsidutils/src/ini/ini.cpp
+--- a/libsidutils/src/ini/ini.cpp
++++ b/libsidutils/src/ini/ini.cpp
@@ -100,7 +100,7 @@
//*******************************************************************************************************************
#include <assert.h>
diff --git a/media-libs/libsidplay/files/libsidplay2-gcc41.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-gcc41.patch
index f2e3b314d493..c05f8d3e60e3 100644
--- a/media-libs/libsidplay/files/libsidplay2-gcc41.patch
+++ b/media-libs/libsidplay/files/libsidplay-2.1.1-gcc41.patch
@@ -1,5 +1,5 @@
---- libsidplay/include/sidplay/SmartPtr.h
-+++ libsidplay/include/sidplay/SmartPtr.h
+--- a/libsidplay/include/sidplay/SmartPtr.h
++++ b/libsidplay/include/sidplay/SmartPtr.h
@@ -211,16 +211,16 @@
{
if ( bufferLen >= 1 )
@@ -24,8 +24,8 @@
}
}
};
---- libsidutils/include/sidplay/utils/SidUsage.h
-+++ libsidutils/include/sidplay/utils/SidUsage.h
+--- a/libsidutils/include/sidplay/utils/SidUsage.h
++++ b/libsidutils/include/sidplay/utils/SidUsage.h
@@ -33,7 +33,7 @@
uint_least16_t length; // usage scan length
diff --git a/media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch
index 857a29750d11..419b126a1d8e 100644
--- a/media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch
+++ b/media-libs/libsidplay/files/libsidplay-2.1.1-gcc43.patch
@@ -1,5 +1,5 @@
---- builders/resid-builder/src/resid.cpp
-+++ builders/resid-builder/src/resid.cpp
+--- a/builders/resid-builder/src/resid.cpp
++++ b/builders/resid-builder/src/resid.cpp
@@ -16,6 +16,8 @@
* *
***************************************************************************/
@@ -9,8 +9,8 @@
#include "config.h"
#ifdef HAVE_EXCEPTIONS
---- builders/resid-builder/src/resid-builder.cpp
-+++ builders/resid-builder/src/resid-builder.cpp
+--- a/builders/resid-builder/src/resid-builder.cpp
++++ b/builders/resid-builder/src/resid-builder.cpp
@@ -37,6 +37,7 @@
***************************************************************************/
@@ -19,8 +19,8 @@
#include "config.h"
#ifdef HAVE_EXCEPTIONS
---- builders/hardsid-builder/src/hardsid-builder.cpp
-+++ builders/hardsid-builder/src/hardsid-builder.cpp
+--- a/builders/hardsid-builder/src/hardsid-builder.cpp
++++ b/builders/hardsid-builder/src/hardsid-builder.cpp
@@ -47,6 +47,7 @@
***************************************************************************/
@@ -29,8 +29,8 @@
#include "config.h"
#ifdef HAVE_EXCEPTIONS
---- libsidplay/src/sidtune/SidTune.cpp
-+++ libsidplay/src/sidtune/SidTune.cpp
+--- a/libsidplay/src/sidtune/SidTune.cpp
++++ b/libsidplay/src/sidtune/SidTune.cpp
@@ -283,7 +283,7 @@
uint_least32_t fileLen = 0;
diff --git a/media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch b/media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch
index ee0564306a66..c93f3cfba29b 100644
--- a/media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch
+++ b/media-libs/libsidplay/files/libsidplay-2.1.1-no_libtool_reference.patch
@@ -1,5 +1,5 @@
---- libsidplay/unix/libsidplay2.pc.in
-+++ libsidplay/unix/libsidplay2.pc.in
+--- a/libsidplay/unix/libsidplay2.pc.in
++++ b/libsidplay/unix/libsidplay2.pc.in
@@ -7,5 +7,5 @@
Name: @PACKAGE@
Description: C64 cycle exact stereo sidplayer library.
@@ -7,8 +7,8 @@
-Libs: ${libdir}/libsidplay2.la
+Libs: -lsidplay2
Cflags: -DHAVE_UNIX -I${includedir}
---- libsidutils/unix/libsidutils.pc.in
-+++ libsidutils/unix/libsidutils.pc.in
+--- a/libsidutils/unix/libsidutils.pc.in
++++ b/libsidutils/unix/libsidutils.pc.in
@@ -6,5 +6,5 @@
Name: @PACKAGE@
Description: Utils for supporting the libsidplay2 library.
diff --git a/media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild b/media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild
index 99e72b3517a9..9dbf82345def 100644
--- a/media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild
+++ b/media-libs/libsidplay/libsidplay-2.1.1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -26,7 +26,7 @@ MULTILIB_WRAPPED_HEADERS=(
src_prepare() {
epatch \
- "${FILESDIR}"/${PN}2-gcc41.patch \
+ "${FILESDIR}"/${P}-gcc41.patch \
"${FILESDIR}"/${P}-fbsd.patch \
"${FILESDIR}"/${P}-gcc43.patch \
"${FILESDIR}"/${P}-no_libtool_reference.patch