public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/evolution-data-server/, gnome-extra/evolution-data-server/files/
Date: Thu, 20 Sep 2018 07:42:29 +0000 (UTC)	[thread overview]
Message-ID: <1537429299.76c4e3ee7ae45255d6078eb8d4338d39371c4951.leio@gentoo> (raw)

commit:     76c4e3ee7ae45255d6078eb8d4338d39371c4951
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 20 07:41:39 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Thu Sep 20 07:41:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76c4e3ee

gnome-extra/evolution-data-server: fix compatibility with dev-libs/icu 61 and 62

Fixes: https://bugs.gentoo.org/666544
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 .../evolution-data-server-3.24.7.ebuild            |  1 +
 .../evolution-data-server-3.26.6.ebuild            |  5 ++-
 .../evolution-data-server/files/icu61-compat.patch | 38 ++++++++++++++++++++++
 3 files changed, 41 insertions(+), 3 deletions(-)

diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.24.7.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.24.7.ebuild
index cfc4ff4b4e9..6047dfa5c70 100644
--- a/gnome-extra/evolution-data-server/evolution-data-server-3.24.7.ebuild
+++ b/gnome-extra/evolution-data-server/evolution-data-server-3.24.7.ebuild
@@ -76,6 +76,7 @@ RESTRICT="test"
 PATCHES=(
 	"${FILESDIR}"/${PV}-DESTDIR-honoring.patch
 	"${FILESDIR}"/${PV}-libical3-compat.patch
+	"${FILESDIR}"/icu61-compat.patch
 )
 
 pkg_setup() {

diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.26.6.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.26.6.ebuild
index c48dbec871b..e38990e8c24 100644
--- a/gnome-extra/evolution-data-server/evolution-data-server-3.26.6.ebuild
+++ b/gnome-extra/evolution-data-server/evolution-data-server-3.26.6.ebuild
@@ -78,10 +78,9 @@ pkg_setup() {
 	python-any-r1_pkg_setup
 }
 
-# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare
-# call; if needed, set them after cmake-utils_src_prepare call, if that works
-
+# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
 src_prepare() {
+	eapply "${FILESDIR}"/icu61-compat.patch
 	use vala && vala_src_prepare
 	cmake-utils_src_prepare
 	gnome2_src_prepare

diff --git a/gnome-extra/evolution-data-server/files/icu61-compat.patch b/gnome-extra/evolution-data-server/files/icu61-compat.patch
new file mode 100644
index 00000000000..2b5b76afd73
--- /dev/null
+++ b/gnome-extra/evolution-data-server/files/icu61-compat.patch
@@ -0,0 +1,38 @@
+From 2cd08a03bc637fa6fefb6fbe13ae2c78abe6bf9f Mon Sep 17 00:00:00 2001
+From: Hussam Al-Tayeb <me@hussam.eu.org>
+Date: Mon, 16 Apr 2018 13:38:33 +0200
+Subject: [PATCH] Bug 795295 - Fails to compile after icu 61.1 upgrade
+ (icu::UnicodeString)
+
+---
+ src/libedataserver/e-alphabet-index-private.cpp | 1 +
+ src/libedataserver/e-transliterator-private.cpp | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/libedataserver/e-alphabet-index-private.cpp b/src/libedataserver/e-alphabet-index-private.cpp
+index d3e44f488..a789f4409 100644
+--- a/src/libedataserver/e-alphabet-index-private.cpp
++++ b/src/libedataserver/e-alphabet-index-private.cpp
+@@ -36,6 +36,7 @@
+ 
+ using icu::AlphabeticIndex;
+ using icu::Locale;
++using icu::UnicodeString;
+ 
+ struct _EAlphabetIndex {
+ 	AlphabeticIndex *priv;
+diff --git a/src/libedataserver/e-transliterator-private.cpp b/src/libedataserver/e-transliterator-private.cpp
+index bb15593d5..6f1d89c8d 100644
+--- a/src/libedataserver/e-transliterator-private.cpp
++++ b/src/libedataserver/e-transliterator-private.cpp
+@@ -35,6 +35,7 @@
+ #include <unicode/translit.h>
+ 
+ using icu::Transliterator;
++using icu::UnicodeString;
+ 
+ struct _ETransliterator {
+ 	Transliterator *priv;
+-- 
+2.18.0
+


             reply	other threads:[~2018-09-20  7:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-20  7:42 Mart Raudsepp [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-25 16:49 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/evolution-data-server/, gnome-extra/evolution-data-server/files/ Pacho Ramos
2024-02-11 14:21 Mart Raudsepp
2021-12-09 17:11 Mart Raudsepp
2021-11-05 13:36 Mart Raudsepp
2020-08-09  7:22 Mart Raudsepp
2019-12-23 21:34 Mart Raudsepp
2019-09-07 22:09 Mart Raudsepp
2019-05-18 22:08 Mart Raudsepp
2017-03-20 17:05 Mart Raudsepp
2017-02-06 21:21 Mart Raudsepp

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=1537429299.76c4e3ee7ae45255d6078eb8d4338d39371c4951.leio@gentoo \
    --to=leio@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