From 777b8eccb294ecae84fe00016b329265c8dace8a Mon Sep 17 00:00:00 2001
From: "Anthony G. Basile" <blueness@gentoo.org>
Date: Tue, 3 Dec 2019 09:31:32 -0500
Subject: x11-terms/mrxvt: bumpt to EAPI=7

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
---
 .../mrxvt/files/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch | 4 ++--
 x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch                 | 8 ++++----
 x11-terms/mrxvt/mrxvt-0.5.4.ebuild                               | 9 +++++----
 3 files changed, 11 insertions(+), 10 deletions(-)

(limited to 'x11-terms')

diff --git a/x11-terms/mrxvt/files/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch b/x11-terms/mrxvt/files/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
index a52a10269bc1..bf5362b3ee37 100644
--- a/x11-terms/mrxvt/files/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
+++ b/x11-terms/mrxvt/files/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
@@ -1,7 +1,7 @@
 Index: src/tabbar.c
 ===================================================================
---- src/tabbar.c	(revision 337)
-+++ src/tabbar.c	(working copy)
+--- ./src/tabbar.c	(revision 337)
++++ ./src/tabbar.c	(working copy)
 @@ -1327,7 +1327,7 @@
  		if( p.we_wordc > 1)
  		    rxvt_msg( DBG_ERROR, DBG_TABBAR,
diff --git a/x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch b/x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch
index a475b70685dc..1c2215937099 100644
--- a/x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch
+++ b/x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch
@@ -1,7 +1,7 @@
 http://repos.archlinux.org/wsvn/packages/mrxvt/trunk/libpng14.patch
 
---- configure.ac
-+++ configure.ac
+--- ./configure.ac
++++ ./configure.ac
 @@ -952,7 +952,7 @@
  if test "x$support_png" = "xyes"; then
      AC_CHECK_LIB(
@@ -11,8 +11,8 @@ http://repos.archlinux.org/wsvn/packages/mrxvt/trunk/libpng14.patch
          [],
          [support_png=no],
          [-lz -lm]
---- src/mpng.c
-+++ src/mpng.c
+--- ./src/mpng.c
++++ ./src/mpng.c
 @@ -83,7 +83,7 @@
      display_depth = XDefaultDepth(display,XDefaultScreen(display));
  
diff --git a/x11-terms/mrxvt/mrxvt-0.5.4.ebuild b/x11-terms/mrxvt/mrxvt-0.5.4.ebuild
index 3355069ef639..5d841cb7c682 100644
--- a/x11-terms/mrxvt/mrxvt-0.5.4.ebuild
+++ b/x11-terms/mrxvt/mrxvt-0.5.4.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 inherit autotools eutils
 
 DESCRIPTION="Multi-tabbed rxvt clone with XFT, transparent background and CJK support"
@@ -31,8 +31,9 @@ DEPEND="${RDEPEND}
 	x11-base/xorg-proto"
 
 src_prepare() {
-	epatch "${FILESDIR}"/${P}-001-fix-segfault-when-wd-empty.patch \
-		"${FILESDIR}"/${P}-libpng14.patch
+	eapply "${FILESDIR}"/${P}-001-fix-segfault-when-wd-empty.patch
+	eapply "${FILESDIR}"/${P}-libpng14.patch
+	eapply_user
 
 	eautoreconf
 
-- 
cgit v1.2.3-65-gdbad