summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2016-07-25 21:38:18 -0500
committerErik Mackdanz <stasibear@gentoo.org>2016-07-25 21:38:18 -0500
commit557adf681b85f1673b3c6bc19e605b2c92f0e3ad (patch)
tree62485467a51b8b353fa4aab7f2dc2f97515010b8 /media-sound/meterbridge
parentapp-admin/salt: Version bump to 2015.8.11 (diff)
downloadgentoo-557adf681b85f1673b3c6bc19e605b2c92f0e3ad.tar.gz
gentoo-557adf681b85f1673b3c6bc19e605b2c92f0e3ad.tar.bz2
gentoo-557adf681b85f1673b3c6bc19e605b2c92f0e3ad.zip
media-sound/meterbridge: linkage fix, EAPI 6
Gentoo-Bug: 588126 Package-Manager: portage-2.3.0
Diffstat (limited to 'media-sound/meterbridge')
-rw-r--r--media-sound/meterbridge/files/meterbridge-0.9.3-setrgba.patch11
-rw-r--r--media-sound/meterbridge/meterbridge-0.9.3.ebuild6
2 files changed, 15 insertions, 2 deletions
diff --git a/media-sound/meterbridge/files/meterbridge-0.9.3-setrgba.patch b/media-sound/meterbridge/files/meterbridge-0.9.3-setrgba.patch
new file mode 100644
index 000000000000..52f00b3a6c5a
--- /dev/null
+++ b/media-sound/meterbridge/files/meterbridge-0.9.3-setrgba.patch
@@ -0,0 +1,11 @@
+--- meterbridge-0.9.3/src/linedraw.c.orig 2016-07-25 21:07:06.992953036 -0500
++++ meterbridge-0.9.3/src/linedraw.c 2016-07-25 21:07:24.640629427 -0500
+@@ -4,7 +4,7 @@
+ /* set a pixel on an SDL_Surface, assumes that the surface is 32bit RGBA,
+ * ordered ABGR (I think), probably wont work on bigendian systems */
+
+-inline void set_rgba(SDL_Surface *surface, Uint32 x, Uint32 y, Uint32 col)
++void set_rgba(SDL_Surface *surface, Uint32 x, Uint32 y, Uint32 col)
+ {
+ Uint32 *bufp = (Uint32 *)surface->pixels + y*surface->pitch/4 + x;
+ *bufp = col;
diff --git a/media-sound/meterbridge/meterbridge-0.9.3.ebuild b/media-sound/meterbridge/meterbridge-0.9.3.ebuild
index bf89331e0a6a..be2150e4d09a 100644
--- a/media-sound/meterbridge/meterbridge-0.9.3.ebuild
+++ b/media-sound/meterbridge/meterbridge-0.9.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=2
+EAPI=6
inherit eutils autotools
@@ -26,6 +26,8 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-gcc41.patch
epatch "${FILESDIR}"/${P}-asneeded.patch
epatch "${FILESDIR}"/${P}-cflags.patch
+ epatch "${FILESDIR}"/${P}-setrgba.patch
+ eapply_user
eautoreconf
}