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 DC03B138334 for ; Wed, 12 Dec 2018 21:28:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C383E0A65; Wed, 12 Dec 2018 21:28:03 +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 4CE5DE0A65 for ; Wed, 12 Dec 2018 21:28:02 +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 93F32335CEA for ; Wed, 12 Dec 2018 21:28:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E83045B for ; Wed, 12 Dec 2018 21:27:58 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1544650056.70b98edc7ceb825ac3b52ec0efac213b5d8cae1d.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/klayout/files/, sci-electronics/klayout/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/klayout/Manifest sci-electronics/klayout/files/klayout-0.25.6-gcc8.patch sci-electronics/klayout/klayout-0.25.6.ebuild sci-electronics/klayout/klayout-9999.ebuild X-VCS-Directories: sci-electronics/klayout/files/ sci-electronics/klayout/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 70b98edc7ceb825ac3b52ec0efac213b5d8cae1d X-VCS-Branch: master Date: Wed, 12 Dec 2018 21:27: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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a5375e54-5253-449b-bea6-220a1e3fae15 X-Archives-Hash: 4daaf0a3ed9f05552ab44e12846a97f9 commit: 70b98edc7ceb825ac3b52ec0efac213b5d8cae1d Author: Andreas K. Huettel gentoo org> AuthorDate: Wed Dec 12 21:27:01 2018 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Wed Dec 12 21:27:36 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70b98edc sci-electronics/klayout: Version bump, for ruby 2.4 and gcc 8 See https://github.com/klayoutmatthias/klayout/issues/127 for the source of the patch. Bug: https://bugs.gentoo.org/672986 Closes: https://bugs.gentoo.org/672990 Closes: https://bugs.gentoo.org/669340 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel gentoo.org> sci-electronics/klayout/Manifest | 1 + .../klayout/files/klayout-0.25.6-gcc8.patch | 18 ++++++++++++++++++ .../{klayout-9999.ebuild => klayout-0.25.6.ebuild} | 8 ++++++-- sci-electronics/klayout/klayout-9999.ebuild | 4 ++-- 4 files changed, 27 insertions(+), 4 deletions(-) diff --git a/sci-electronics/klayout/Manifest b/sci-electronics/klayout/Manifest index 9a6ef10503a..34d25dd2f01 100644 --- a/sci-electronics/klayout/Manifest +++ b/sci-electronics/klayout/Manifest @@ -1 +1,2 @@ +DIST klayout-0.25.6.tar.gz 21008915 BLAKE2B f5e06790b8eac682b61bf83dce167c4c9eb8767d6bfb040e203ed2ec43b39781e64203c8319bf58ed2f4b7b2349d958f24a7ad1957bc27befa583b00eeee650c SHA512 38d13bd6f0cef5685ef32ebf00edf07f588d445174e2a56320940a7036e65a3fbb11d1efab92af9f8abfce7e77c782df5f05460a7de4d98ade924c761396db5a DIST klayout-0.25.tar.gz 16461165 BLAKE2B 321d5c03b49b922b051407767f72135d0ff7e3fb0fe5dd237e27ce6c42d2b847f0bc4d96ae551c51b6581c0d39eb71f7053c8814dcb7afdfd027a24af9d553fd SHA512 0c05b0786e7e1dbf8035cbb3888eff776c0b96a4fcf2ebbc3065fe43340ae020b6713c2e1d2e7ab5caaf64d7ec84bea9d691ba6c0aea88e93c957530d3d4d114 diff --git a/sci-electronics/klayout/files/klayout-0.25.6-gcc8.patch b/sci-electronics/klayout/files/klayout-0.25.6-gcc8.patch new file mode 100644 index 00000000000..250290f3490 --- /dev/null +++ b/sci-electronics/klayout/files/klayout-0.25.6-gcc8.patch @@ -0,0 +1,18 @@ +Source: https://github.com/klayoutmatthias/klayout/issues/127 + +diff -ruN klayout-0.25.6.orig/src/db/db/dbCellMapping.cc klayout-0.25.6/src/db/db/dbCellMapping.cc +--- klayout-0.25.6.orig/src/db/db/dbCellMapping.cc 2018-11-26 18:53:43.000000000 +0100 ++++ klayout-0.25.6/src/db/db/dbCellMapping.cc 2018-12-12 20:05:11.210171097 +0100 +@@ -75,6 +75,12 @@ + return *this; + } + ++ SortedCellIndexIterator &operator--() ++ { ++ --m_n; ++ return *this; ++ } ++ + SortedCellIndexIterator &operator+=(size_t n) + { + m_n += n; diff --git a/sci-electronics/klayout/klayout-9999.ebuild b/sci-electronics/klayout/klayout-0.25.6.ebuild similarity index 94% copy from sci-electronics/klayout/klayout-9999.ebuild copy to sci-electronics/klayout/klayout-0.25.6.ebuild index 98b5a4200ed..d5a9f0b3aaf 100644 --- a/sci-electronics/klayout/klayout-9999.ebuild +++ b/sci-electronics/klayout/klayout-0.25.6.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 RUBY_OPTIONAL=no -USE_RUBY="ruby23" +USE_RUBY="ruby24" # note: define maximally ONE implementation here PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) @@ -44,6 +44,10 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}/${P}-gcc8.patch" +) + pkg_setup() { python-single-r1_pkg_setup ruby-ng_pkg_setup diff --git a/sci-electronics/klayout/klayout-9999.ebuild b/sci-electronics/klayout/klayout-9999.ebuild index 98b5a4200ed..941995116f5 100644 --- a/sci-electronics/klayout/klayout-9999.ebuild +++ b/sci-electronics/klayout/klayout-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 RUBY_OPTIONAL=no -USE_RUBY="ruby23" +USE_RUBY="ruby24" # note: define maximally ONE implementation here PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )