x11-terms/mrxvt: bumpt to EAPI=7
authorAnthony G. Basile <blueness@gentoo.org>
Tue, 3 Dec 2019 14:31:32 +0000 (09:31 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Tue, 3 Dec 2019 14:31:45 +0000 (09:31 -0500)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
x11-terms/mrxvt/files/mrxvt-0.5.4-001-fix-segfault-when-wd-empty.patch
x11-terms/mrxvt/files/mrxvt-0.5.4-libpng14.patch
x11-terms/mrxvt/mrxvt-0.5.4.ebuild

index a52a10269bc1c4ac842b0faacf13bfee2922b0ab..bf5362b3ee37465c1225df583228df08cac31d87 100644 (file)
@@ -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,
index a475b70685dc1183a27c65e7a91feb6d27a25a81..1c2215937099211239511f511905ec1ab5cdd7f6 100644 (file)
@@ -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));
  
index 3355069ef6395a0b983c4a888de308a92961538f..5d841cb7c6821e66cf1242260036c7c9632d465e 100644 (file)
@@ -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