--- /dev/null
+--- 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;
-# 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
epatch "${FILESDIR}"/${P}-gcc41.patch
epatch "${FILESDIR}"/${P}-asneeded.patch
epatch "${FILESDIR}"/${P}-cflags.patch
+ epatch "${FILESDIR}"/${P}-setrgba.patch
+ eapply_user
eautoreconf
}