From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz2dq-000498-Pf for guix-patches@gnu.org; Fri, 14 Apr 2017 10:56:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cz2dm-0007Jk-7f for guix-patches@gnu.org; Fri, 14 Apr 2017 10:56:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49123) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cz2dm-0007JT-4k for guix-patches@gnu.org; Fri, 14 Apr 2017 10:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cz2dl-0003Jf-Ui for guix-patches@gnu.org; Fri, 14 Apr 2017 10:56:01 -0400 Subject: bug#26462: [PATCH 1/2] gnu: icu4c: Fix crashes in programs using system ICU. Resent-Message-ID: References: <878tn5vr4b.fsf@lassieur.org> <20170412105325.8099-1-clement@lassieur.org> <87d1chete8.fsf@gnu.org> From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur In-reply-to: <87d1chete8.fsf@gnu.org> Date: Fri, 14 Apr 2017 16:55:37 +0200 Message-ID: <87bmrzm42e.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26462@debbugs.gnu.org Ludovic Courtès writes: > Clément Lassieur skribis: > >> * gnu/packages/patches/icu4c-reset-keyword-list-iterator.patch: New file. >> * gnu/local.mk (dist_patch_DATA): Add it. >> * gnu/packages/icu4c.scm (icu4c)[source]: Use it. > > [...] > >> +++ b/gnu/packages/patches/icu4c-reset-keyword-list-iterator.patch >> @@ -0,0 +1,128 @@ >> +Copied from upstream: http://bugs.icu-project.org/trac/changeset/39484/. >> + >> +Paths and line endings have been adapted. > > Woow, good catch! > > 1,700 packages depend on icu4c so the update would have to go to > ‘core-updates’, but that won’t be merged until several weeks. > > For ‘master’, in the meantime, I see two solutions: > > 1. If the bug only affects specific applications, we could add an > icu4c variant and use that only where needed (icecat, 0ad, etc.). > > 2. If the bug manifests itself pervasively we could graft it in > ‘master’ (I guess it’s ABI-compatible, right?). > > Thoughts? I prefer the second solution, in case the bug appears in other applications as well, and I think it is ABI-compatible. I just sent the patch for the graft in master. I'll do the patch for core-updates later, when master is merged into it.