From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BA277138350 for ; Thu, 9 Jan 2020 13:43:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2231E089D; Thu, 9 Jan 2020 13:43:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B41F6E089D for ; Thu, 9 Jan 2020 13:43:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3016434DEDE for ; Thu, 9 Jan 2020 13:43:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0AC090 for ; Thu, 9 Jan 2020 13:43:27 +0000 (UTC) From: "Akinori Hattori" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" Message-ID: <1578577387.59195c0e272656e9e87dd1af35005d5aff85c16b.hattya@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/gauche-gtk/, dev-scheme/gauche-gtk/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild X-VCS-Directories: dev-scheme/gauche-gtk/ dev-scheme/gauche-gtk/files/ X-VCS-Committer: hattya X-VCS-Committer-Name: Akinori Hattori X-VCS-Revision: 59195c0e272656e9e87dd1af35005d5aff85c16b X-VCS-Branch: master Date: Thu, 9 Jan 2020 13:43:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ce000f52-4ab6-401d-97fd-09d08d8ee940 X-Archives-Hash: e75d3148e749e0d2110733489450a1d0 commit: 59195c0e272656e9e87dd1af35005d5aff85c16b Author: Akinori Hattori gentoo org> AuthorDate: Thu Jan 9 13:42:25 2020 +0000 Commit: Akinori Hattori gentoo org> CommitDate: Thu Jan 9 13:43:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59195c0e dev-scheme/gauche-gtk: fix build with >=sys-libs/glibc-2.27 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Akinori Hattori gentoo.org> dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch | 14 ++++++++++++++ dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild | 2 ++ 2 files changed, 16 insertions(+) diff --git a/dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch b/dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch new file mode 100644 index 00000000000..36a723fee98 --- /dev/null +++ b/dev-scheme/gauche-gtk/files/gauche-gtk-glgd.patch @@ -0,0 +1,14 @@ +--- a/glgd/glgdGraph.c ++++ b/glgd/glgdGraph.c +@@ -19,11 +19,7 @@ + #define GLGDGRAPH_CAMORBIT (0) + #define GLGDGRAPH_NODENAME (1) + #define GLGDGRAPH_LINKNAME (2) +-#ifdef __MINGW32__ + #define _MAXFLT (HUGE_VAL) +-#else /*!__MINGW32__*/ +-#define _MAXFLT (HUGE) +-#endif /*!__MINGW32__*/ + #define _PANGO_DPI (72) + #define _PANGO_SCALE (3) + #define _TEXW (1024) diff --git a/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild b/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild index e9d8d564876..408f80d26af 100644 --- a/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild +++ b/dev-scheme/gauche-gtk/gauche-gtk-0.6_pre1.ebuild @@ -28,6 +28,8 @@ RDEPEND="x11-libs/gtk+:2 )" S="${WORKDIR}/${MY_P}" +PATCHES=( "${FILESDIR}"/${PN}-glgd.patch ) + src_prepare() { default eautoconf