From 84cdfc9edf08535a3e2e0dd177f2456b5174a308 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sat, 21 Nov 2015 22:31:11 -0500 Subject: use epatch to apply patch Package-Manager: portage-2.2.20.1 --- games-emulation/dosbox/dosbox-0.74.ebuild | 8 +++++--- games-emulation/dosbox/dosbox-9999.ebuild | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/games-emulation/dosbox/dosbox-0.74.ebuild b/games-emulation/dosbox/dosbox-0.74.ebuild index 56a0bb8c15d4..522a4615f027 100644 --- a/games-emulation/dosbox/dosbox-0.74.ebuild +++ b/games-emulation/dosbox/dosbox-0.74.ebuild @@ -16,14 +16,16 @@ IUSE="alsa debug hardened opengl" DEPEND="alsa? ( media-libs/alsa-lib ) opengl? ( virtual/glu virtual/opengl ) - debug? ( sys-libs/ncurses ) + debug? ( sys-libs/ncurses:0 ) media-libs/libpng:0 media-libs/libsdl[joystick,video,X] media-libs/sdl-net media-libs/sdl-sound" -RDEPEND="${DEPEND}" +RDEPEND=${DEPEND} -PATCHES=( "${FILESDIR}"/${P}-gcc46.patch ) +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc46.patch +} src_configure() { egamesconf \ diff --git a/games-emulation/dosbox/dosbox-9999.ebuild b/games-emulation/dosbox/dosbox-9999.ebuild index f01034ef4e64..f0caa33b0f3c 100644 --- a/games-emulation/dosbox/dosbox-9999.ebuild +++ b/games-emulation/dosbox/dosbox-9999.ebuild @@ -16,7 +16,7 @@ IUSE="alsa debug hardened opengl" DEPEND="alsa? ( media-libs/alsa-lib ) opengl? ( virtual/glu virtual/opengl ) - debug? ( sys-libs/ncurses ) + debug? ( sys-libs/ncurses:0 ) media-libs/libpng:0 media-libs/libsdl[joystick,video,X] media-libs/sdl-net -- cgit v1.2.3-65-gdbad