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 4E92F138334 for ; Mon, 1 Oct 2018 06:50:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34837E091F; Mon, 1 Oct 2018 06:50:05 +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 08541E091F for ; Mon, 1 Oct 2018 06:50:04 +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 93422335C2B for ; Mon, 1 Oct 2018 06:50:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 76C4C3F6 for ; Mon, 1 Oct 2018 06:49:58 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1538376579.6fa22c5a66480b8ba93225e2da9bd7e51c7c5aad.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/agg/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/agg/files/agg-2.5-gcc8.patch X-VCS-Directories: x11-libs/agg/files/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 6fa22c5a66480b8ba93225e2da9bd7e51c7c5aad X-VCS-Branch: master Date: Mon, 1 Oct 2018 06:49:58 +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-Archives-Salt: afe4c749-4500-4ec5-90a3-e0aa328929be X-Archives-Hash: 950209367136783a5b7671d6fbf47d5c commit: 6fa22c5a66480b8ba93225e2da9bd7e51c7c5aad Author: Pacho Ramos gentoo org> AuthorDate: Mon Oct 1 06:49:39 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Mon Oct 1 06:49:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa22c5a x11-libs/agg: Really commit gcc8 patch (#667376) Closes: https://bugs.gentoo.org/667376 Signed-off-by: Pacho Ramos gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 x11-libs/agg/files/agg-2.5-gcc8.patch | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/x11-libs/agg/files/agg-2.5-gcc8.patch b/x11-libs/agg/files/agg-2.5-gcc8.patch index 6214bd62e3a..2e43d0bf79b 100644 --- a/x11-libs/agg/files/agg-2.5-gcc8.patch +++ b/x11-libs/agg/files/agg-2.5-gcc8.patch @@ -1,24 +1,12 @@ -From ca818d4dcd428c5560fc3c341fbaf427a7485e32 Mon Sep 17 00:00:00 2001 -From: Tom Hughes -Date: Sat, 22 Jun 2013 12:34:37 +0100 -Subject: [PATCH 15/15] Ensure first value in the gamma table is always zero - ---- - include/agg_gamma_functions.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/include/agg_gamma_functions.h b/include/agg_gamma_functions.h -index beb0c04..b8eda52 100644 ---- a/include/agg_gamma_functions.h -+++ b/include/agg_gamma_functions.h -@@ -49,6 +49,7 @@ namespace agg +diff -uprN agg-2.5/include/agg_renderer_outline_aa.h agg-2.5-fixed/include/agg_renderer_outline_aa.h +--- agg-2.5/include/agg_renderer_outline_aa.h 2018-08-25 02:02:52.507254241 +0800 ++++ agg-2.5-fixed/include/agg_renderer_outline_aa.h 2018-08-25 02:04:15.291175316 +0800 +@@ -1375,7 +1375,7 @@ namespace agg + //--------------------------------------------------------------------- + void profile(const line_profile_aa& prof) { m_profile = &prof; } + const line_profile_aa& profile() const { return *m_profile; } +- line_profile_aa& profile() { return *m_profile; } ++ const line_profile_aa& profile() { return *m_profile; } - double operator() (double x) const - { -+ if (x == 0.0) return 0.0; - return pow(x, m_gamma); - } - --- -1.8.1.4 - + //--------------------------------------------------------------------- + int subpixel_width() const { return m_profile->subpixel_width(); }