games-puzzle/scramble: fix building with gcc-5 (bug #571460)
authorMichael Sterrett <mr_bones_@gentoo.org>
Tue, 19 Jan 2016 06:23:00 +0000 (01:23 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Tue, 19 Jan 2016 06:23:16 +0000 (01:23 -0500)
Package-Manager: portage-2.2.26

games-puzzle/scramble/scramble-0.9.5.ebuild

index 3b88d008a9658f6b5dfc0911cf5f83db49bcf53a..6ed597810cb53019250859bc4a563a8b6acd9a5b 100644 (file)
@@ -9,7 +9,7 @@ DESCRIPTION="Create as many words as you can before the time runs out"
 HOMEPAGE="http://www.shiftygames.com/scramble/scramble.html"
 SRC_URI="http://www.shiftygames.com/scramble/${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 IUSE=""
@@ -23,6 +23,8 @@ RDEPEND="${DEPEND}
 
 src_prepare() {
        append-cflags $(sdl-config --cflags)
+       sed -i -e 's/inline //' src/scramble.c || die
+       mv configure.{in,ac} || die
        eautoreconf
 }