app-office/calcurse: clean duplicate patches.
authorMarty E. Plummer <hanetzer@startmail.com>
Sun, 8 Apr 2018 20:08:03 +0000 (15:08 -0500)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 9 Apr 2018 22:29:50 +0000 (00:29 +0200)
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/7895

app-office/calcurse/calcurse-4.2.1.ebuild
app-office/calcurse/calcurse-4.2.2.ebuild
app-office/calcurse/files/calcurse-4.2.2-tinfo.patch [deleted file]

index 533762c2e262191982148319c7538ee6ffbb0913..47cddd1eb69232bd15615398df4b4051cd8975a6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,7 +18,7 @@ DEPEND="${RDEPEND}"
 
 DOCS=( AUTHORS NEWS README )
 
-PATCHES=( "${FILESDIR}"/"${P}-tinfo.patch" )
+PATCHES=( "${FILESDIR}"/"${PN}-4.2.1-tinfo.patch" )
 
 src_prepare() {
        default
index 8e6722e27efea0aa1fceea8854310a14250f3462..109005b664a8fda8ce14242a0a66f0dd25793960 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,7 +18,7 @@ DEPEND="${RDEPEND}"
 
 DOCS=( AUTHORS NEWS README )
 
-PATCHES=( "${FILESDIR}"/"${P}-tinfo.patch" )
+PATCHES=( "${FILESDIR}"/"${PN}-4.2.1-tinfo.patch" )
 
 src_prepare() {
        default
diff --git a/app-office/calcurse/files/calcurse-4.2.2-tinfo.patch b/app-office/calcurse/files/calcurse-4.2.2-tinfo.patch
deleted file mode 100644 (file)
index f3d2aac..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -3,7 +3,7 @@
- #-------------------------------------------------------------------------------
- AC_PREREQ(2.59)
- AC_INIT([calcurse],
--        m4_esyscmd([build-aux/git-version-gen .version]),
-+        m4_esyscmd_s([cat .version]),
-         [bugs@calcurse.org])
- AM_INIT_AUTOMAKE
- #m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
-@@ -51,6 +51,9 @@
-   LIBS="$LIBS -l$available_ncurses"
- ])
- 
-+AC_SEARCH_LIBS([cbreak], [tinfow tinfo],,
-+    AC_MSG_ERROR([Cannot find a library providing cbreak]))
-+
- AC_CHECK_HEADERS([pthread.h], [
-     AC_CHECK_LIB(pthread, pthread_create, [
-       LIBS="$LIBS -pthread"