public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi/, net-irc/irssi/files/
Date: Tue, 12 Feb 2019 21:22:03 +0000 (UTC)	[thread overview]
Message-ID: <1550006516.43ceaf84adc61f8ba0e0bcbaf8d63465d052b8a3.polynomial-c@gentoo> (raw)

commit:     43ceaf84adc61f8ba0e0bcbaf8d63465d052b8a3
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 12 21:19:16 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Feb 12 21:21:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43ceaf84

net-irc/irssi: Disable automagic dep on dev-libs/libutf8proc

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../irssi-1.2.0-fix-libutf8proc-include.patch      | 25 ----------------------
 ...irssi-1.2.0-r1.ebuild => irssi-1.2.0-r2.ebuild} | 25 ++++++++++++----------
 2 files changed, 14 insertions(+), 36 deletions(-)

diff --git a/net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch b/net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch
deleted file mode 100644
index 019c2660eec..00000000000
--- a/net-irc/irssi/files/irssi-1.2.0-fix-libutf8proc-include.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 138596d84dfa060b5d035b96e7d1a57a7cbcd7b0 Mon Sep 17 00:00:00 2001
-From: Mikle Kolyada <zlogene@gentoo.org>
-Date: Tue, 12 Feb 2019 19:38:36 +0300
-Subject: [PATCH] wcwidth-wrapper.c: fix libutf8proc include path
-
----
- src/core/wcwidth-wrapper.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/core/wcwidth-wrapper.c b/src/core/wcwidth-wrapper.c
-index 03d0dc0c..b0df662f 100644
---- a/src/core/wcwidth-wrapper.c
-+++ b/src/core/wcwidth-wrapper.c
-@@ -27,7 +27,7 @@
- #include "utf8.h"
- 
- #ifdef HAVE_LIBUTF8PROC
--#include <utf8proc.h>
-+#include <libutf8proc/utf8proc.h>
- #endif
- 
- /* wcwidth=2 since unicode 5.2.0 */
--- 
-2.19.2
-

diff --git a/net-irc/irssi/irssi-1.2.0-r1.ebuild b/net-irc/irssi/irssi-1.2.0-r2.ebuild
similarity index 65%
rename from net-irc/irssi/irssi-1.2.0-r1.ebuild
rename to net-irc/irssi/irssi-1.2.0-r2.ebuild
index 79724a44e3b..eaa6be9d5a3 100644
--- a/net-irc/irssi/irssi-1.2.0-r1.ebuild
+++ b/net-irc/irssi/irssi-1.2.0-r2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="otr +perl selinux socks5 +proxy libressl"
 
 COMMON_DEPEND="
@@ -35,7 +35,6 @@ DEPEND="
 
 RDEPEND="
 	${COMMON_DEPEND}
-	dev-libs/libutf8proc
 	selinux? ( sec-policy/selinux-irc )
 	perl? ( !net-im/silc-client )"
 
@@ -45,20 +44,24 @@ S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
 	default
-	eapply "${FILESDIR}"/${P}-fix-libutf8proc-include.patch
-	if has_version '>=dev-libs/libressl-2.7.3'; then
-	eapply "${FILESDIR}"/libressl.patch
+	if has_version '>=dev-libs/libressl-2.7.3' ; then
+		eapply "${FILESDIR}"/libressl.patch
 	fi
 }
 
 src_configure() {
-	econf \
-		--with-perl-lib=vendor \
-		--enable-true-color \
-		$(use_with otr) \
-		$(use_with proxy) \
-		$(use_with perl) \
+	# Disable automagic dependency on dev-libs/libutf8proc (bug #677804)
+	export ac_cv_lib_utf8proc_utf8proc_version=no
+
+	local myeconfargs=(
+		--with-perl-lib=vendor
+		--enable-true-color
+		$(use_with otr)
+		$(use_with proxy)
+		$(use_with perl)
 		$(use_with socks5 socks)
+	)
+	econf "${myeconfargs[@]}"
 }
 
 src_install() {


             reply	other threads:[~2019-02-12 21:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-12 21:22 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-31 20:47 [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi/, net-irc/irssi/files/ Sam James
2022-06-12 10:42 Sam James
2021-05-16  8:26 Mikle Kolyada
2020-10-05  9:06 Lars Wendler
2019-02-12 17:05 Mikle Kolyada
2018-10-22 14:56 Mikle Kolyada
2017-03-17 15:13 Jeroen Roovers
2017-01-07 13:43 Sven Wegener
2016-09-30 16:50 Sven Wegener
2016-09-26 20:57 Sven Wegener

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=1550006516.43ceaf84adc61f8ba0e0bcbaf8d63465d052b8a3.polynomial-c@gentoo \
    --to=polynomial-c@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