From b9f6cb57e9884e9a1505561d52ab59ed98a54eb0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 5 Apr 2021 15:09:11 +0000 Subject: app-admin/xstow: drop duplicate patch Signed-off-by: Sam James --- app-admin/xstow/files/xstow-1.0.2-ncurses.patch | 56 ------------------------- app-admin/xstow/xstow-1.0.2.ebuild | 2 +- 2 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 app-admin/xstow/files/xstow-1.0.2-ncurses.patch (limited to 'app-admin/xstow') diff --git a/app-admin/xstow/files/xstow-1.0.2-ncurses.patch b/app-admin/xstow/files/xstow-1.0.2-ncurses.patch deleted file mode 100644 index b7d29f287e7f..000000000000 --- a/app-admin/xstow/files/xstow-1.0.2-ncurses.patch +++ /dev/null @@ -1,56 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -91,11 +91,12 @@ - AC_MSG_RESULT(disabled) - support_curses=0 - else -+ AC_MSG_RESULT(enabled) - support_curses=1 - fi - ], -- [ -- AC_MSG_RESULT(enabled) -+ []) -+if test $support_curses -eq 1; then - AC_CHECK_HEADER([curses.h], - [ - # test which libraray to use -@@ -146,7 +147,7 @@ - fi - - if test $support_curses -eq 1; then -- AC_SUBST(LDFLAGS_DYNAMIC, "$LDFLAGS -l$curseslib $tinfolib") -+ AC_SUBST(LDFLAGS_DYNAMIC, "-l$curseslib $tinfolib") - AC_DEFINE(HAVE_CURSES_H, 1, [curses library can be used]) - fi - -@@ -154,8 +155,7 @@ - [ - support_curses=0 - ]) -- ]) -- -+fi - - NO_STL_SSTREAM=0 - NO_STL_STRSTREAM=0 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -46,7 +46,7 @@ - backtrace.h \ - backtrace.cpp - --xstow_LDFLAGS= $(LDFLAGS) $(LDFLAGS_DYNAMIC) -+xstow_LDADD= $(LDFLAGS_DYNAMIC) - - if ENABLE_MERGE - -@@ -63,7 +63,7 @@ - backtrace.h \ - backtrace.cpp - --merge_info_LDFLAGS= $(LDFLAGS) $(LDFLAGS_DYNAMIC) -+merge_info_LDADD= $(LDFLAGS_DYNAMIC) - - endif - diff --git a/app-admin/xstow/xstow-1.0.2.ebuild b/app-admin/xstow/xstow-1.0.2.ebuild index d041f7daf686..30abbbbc0dd2 100644 --- a/app-admin/xstow/xstow-1.0.2.ebuild +++ b/app-admin/xstow/xstow-1.0.2.ebuild @@ -18,7 +18,7 @@ DEPEND="ncurses? ( sys-libs/ncurses:0= )" RDEPEND="${DEPEND}" PATCHES=( - "${FILESDIR}"/${P}-ncurses.patch + "${FILESDIR}"/${PN}-1.0.1-ncurses.patch ) src_prepare() { -- cgit v1.2.3-65-gdbad