X-Gentoo-Bug: 173562
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
---- iconfig.old 2008-08-22 21:35:16.000000000 +0600
-+++ iconfig.cpp 2008-08-22 21:35:20.000000000 +0600
+--- a/iconfig.cpp 2008-08-22 21:35:16.000000000 +0600
++++ b/iconfig.cpp 2008-08-22 21:35:20.000000000 +0600
@@ -30,7 +30,7 @@
#include <iostream>
#include <fstream>
#include <sys/stat.h>
#include <sys/types.h>
---- wm.old 2008-08-22 21:52:36.000000000 +0600
-+++ wm.cpp 2008-08-22 21:52:40.000000000 +0600
+--- a/wm.cpp 2008-08-22 21:52:36.000000000 +0600
++++ b/wm.cpp 2008-08-22 21:52:40.000000000 +0600
@@ -27,7 +27,7 @@
#include <time.h>
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-inherit eutils
+EAPI=6
DESCRIPTION="A themable desktop pager for fluxbox and other window managers"
HOMEPAGE="http://www.useperl.ru/ipager/index.en.html"
DEPEND="${RDEPEND}
dev-util/scons"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-scons_imlib2.patch
- epatch "${FILESDIR}"/${P}-scons_flags.patch
- epatch "${FILESDIR}"/${P}-gcc43.patch
- epatch "${FILESDIR}"/${P}-gcc47.patch
-}
+PATCHES=( "${FILESDIR}/${P}-scons_imlib2.patch"
+ "${FILESDIR}/${P}-scons_flags.patch"
+ "${FILESDIR}/${P}-gcc43.patch"
+ "${FILESDIR}/${P}-gcc47.patch" )
src_compile() {
CONFIG_OPTS="xinerama=false"