games-emulation/dosbox: [qa]: create a snapshot release to fix multiple bugs
authorWilliam Hubbs <williamh@gentoo.org>
Wed, 29 Jun 2016 19:41:26 +0000 (14:41 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Wed, 29 Jun 2016 20:05:08 +0000 (15:05 -0500)
This snapshot release fixes the following bugs:

https://bugs.gentoo.org/show_bug.cgi?id=449060
https://bugs.gentoo.org/show_bug.cgi?id=586650
https://bugs.gentoo.org/show_bug.cgi?id=587382

Package-Manager: portage-2.2.28

games-emulation/dosbox/dosbox-0.74_p20160629.ebuild [moved from games-emulation/dosbox/dosbox-3989.ebuild with 86% similarity]
games-emulation/dosbox/files/dosbox-0.74-gcc46.patch

similarity index 86%
rename from games-emulation/dosbox/dosbox-3989.ebuild
rename to games-emulation/dosbox/dosbox-0.74_p20160629.ebuild
index 50488ee55b8f0b97a28d99845fb0498287910bb4..f638a1e98fbbb6ce80f55c7149f83821f322684f 100644 (file)
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
-inherit autotools eutils games
+EAPI=6
+inherit autotools eutils
 
 PATCH=3989
 DESCRIPTION="DOS emulator"
@@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/dosbox-code-0-${PATCH}-dosbox-trunk.zip"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
 IUSE="alsa debug hardened opengl"
 
 RDEPEND="alsa? ( media-libs/alsa-lib )
@@ -27,12 +27,17 @@ DEPEND="${RDEPEND}
 
 S=${WORKDIR}/${PN}-code-0-${PATCH}-dosbox-trunk
 
+PATCHES=(
+"${FILESDIR}"/dosbox-0.74-gcc46.patch
+)
+
 src_prepare() {
+       default
        eautoreconf
 }
 
 src_configure() {
-       egamesconf \
+       econf \
                $(use_enable alsa alsa-midi) \
                $(use_enable !hardened dynamic-core) \
                $(use_enable !hardened dynamic-x86) \
@@ -44,5 +49,4 @@ src_install() {
        default
        make_desktop_entry dosbox DOSBox /usr/share/pixmaps/dosbox.ico
        doicon src/dosbox.ico
-       prepgamesdirs
 }
index 16811d47d6404cd0da031b5335e7e41c5ba19796..98b4508f519fbda67a80b0cc94700bf6eebe8dac 100644 (file)
@@ -1,5 +1,5 @@
---- include/dos_inc.h.old      2011-04-28 08:46:04.505011354 +0200
-+++ include/dos_inc.h  2011-04-28 08:46:27.104408178 +0200
+--- a/include/dos_inc.h        2011-04-28 08:46:04.505011354 +0200
++++ b/include/dos_inc.h        2011-04-28 08:46:27.104408178 +0200
 @@ -21,6 +21,7 @@
  #ifndef DOSBOX_DOS_INC_H
  #define DOSBOX_DOS_INC_H