From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/hstr/files/
Date: Fri, 28 Aug 2015 13:09:17 +0000 (UTC) [thread overview]
Message-ID: <1440767356.a9b630af663e3f3b932303b6853478d9b094d325.jlec@gentoo> (raw)
commit: a9b630af663e3f3b932303b6853478d9b094d325
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 28 13:09:12 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Aug 28 13:09:16 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9b630af
app-shells/hstr: Update patch to first detect ncursesw
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
app-shells/hstr/files/hstr-1.17-tinfo.patch | 35 ++++++++++++++---------------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/app-shells/hstr/files/hstr-1.17-tinfo.patch b/app-shells/hstr/files/hstr-1.17-tinfo.patch
index 5c9ea9b..0ffbd0c 100644
--- a/app-shells/hstr/files/hstr-1.17-tinfo.patch
+++ b/app-shells/hstr/files/hstr-1.17-tinfo.patch
@@ -1,25 +1,14 @@
- configure.ac | 22 ++++++++++++----------
- src/Makefile.am | 2 ++
- 2 files changed, 14 insertions(+), 10 deletions(-)
-
diff --git a/configure.ac b/configure.ac
-index 9cf6a53..7367a32 100644
+index 9cf6a53..cbc649d 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -18,17 +18,19 @@ AC_PROG_CC
+@@ -18,17 +18,21 @@ AC_PROG_CC
# Platform specific ncurses check.
AC_CANONICAL_HOST
-AS_CASE([$host_os],
- [darwin*],
-+PKG_CHECK_MODULES([NCURSES], [ncurses], [], [
-+ AS_CASE([$host_os],
-+ [darwin*],
-+ [
-+ AC_CHECK_LIB(ncurses, killwchar, [], [AC_MSG_ERROR([Could not find ncurses library])])
-+ AC_CHECK_HEADER(curses.h)
-+ ],
- [
+- [
- AC_CHECK_LIB(ncurses, killwchar, [], [AC_MSG_ERROR([Could not find ncurses library])])
- AC_CHECK_HEADER(curses.h)
- ],
@@ -28,10 +17,20 @@ index 9cf6a53..7367a32 100644
- AC_CHECK_HEADER(ncursesw/curses.h)
- ]
-)
-+ AC_CHECK_LIB(ncursesw, killwchar, [], [AC_MSG_ERROR([Could not find ncursesw library])])
-+ AC_CHECK_HEADER(ncursesw/curses.h)
-+ ]
-+ )
++PKG_CHECK_MODULES([NCURSES], [ncursesw], [], [
++ PKG_CHECK_MODULES([NCURSES], [ncurses], [], [
++ AS_CASE([$host_os],
++ [darwin*],
++ [
++ AC_CHECK_LIB(ncurses, killwchar, [], [AC_MSG_ERROR([Could not find ncurses library])])
++ AC_CHECK_HEADER(curses.h)
++ ],
++ [
++ AC_CHECK_LIB(ncursesw, killwchar, [], [AC_MSG_ERROR([Could not find ncursesw library])])
++ AC_CHECK_HEADER(ncursesw/curses.h)
++ ]
++ )
++ ])
+])
# Checks for libraries.
next reply other threads:[~2015-08-28 13:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-28 13:09 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-02-08 23:33 [gentoo-commits] repo/gentoo:master commit in: app-shells/hstr/files/ Patrice Clement
2017-10-16 22:29 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1440767356.a9b630af663e3f3b932303b6853478d9b094d325.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox