From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH 1/3] gnu: ldc: make isnan and isinf work. Date: Wed, 3 Aug 2016 11:20:13 +0200 Message-ID: <20160803092015.8541-2-dannym@scratchpost.org> References: <20160803095110.3e5cf1bc@scratchpost.org> <20160803092015.8541-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.9.1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUsLh-0004Bh-7y for guix-devel@gnu.org; Wed, 03 Aug 2016 05:20:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUsLc-0001jN-K7 for guix-devel@gnu.org; Wed, 03 Aug 2016 05:20:24 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:35168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUsLc-0001jJ-Ce for guix-devel@gnu.org; Wed, 03 Aug 2016 05:20:20 -0400 In-Reply-To: <20160803092015.8541-1-dannym@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------2.9.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable * gnu/packages/ldc.scm (ldc): Added substitution. --- gnu/packages/ldc.scm | 6 ++++++ 1 file changed, 6 insertions(+) --------------2.9.1 Content-Type: text/x-patch; name="0001-gnu-ldc-make-isnan-and-isinf-work.patch" Content-Disposition: attachment; filename="0001-gnu-ldc-make-isnan-and-isinf-work.patch" Content-Transfer-Encoding: quoted-printable diff --git a/gnu/packages/ldc.scm b/gnu/packages/ldc.scm index 1709f59..601804a 100644 --- a/gnu/packages/ldc.scm +++ b/gnu/packages/ldc.scm @@ -101,6 +101,12 @@ and freshness without requiring additional informati= on from the user.") (and (unpack "phobos-src" "runtime/phobos") (unpack "druntime-src" "runtime/druntime") (unpack "dmd-testsuite-src" "tests/d2/dmd-testsuite"= ))))) + (add-after 'unpack-submodule-sources 'patch-dmd2 + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "dmd2/root/port.c" + ((" ::isnan") " isnan") + ((" ::isinf") " isinf")) + #t)) (add-after 'unpack-submodule-sources 'patch-phobos (lambda* (#:key inputs #:allow-other-keys) (substitute* "runtime/phobos/std/process.d" --------------2.9.1--