summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2018-12-12 22:27:01 +0100
committerAndreas K. Huettel <dilfridge@gentoo.org>2018-12-12 22:27:36 +0100
commit70b98edc7ceb825ac3b52ec0efac213b5d8cae1d (patch)
tree2520806da1a3e5a27703ed1da181ec40cda50558 /sci-electronics/klayout/files
parentdev-util/meson: disable sandbox while testing (diff)
downloadgentoo-70b98edc7ceb825ac3b52ec0efac213b5d8cae1d.tar.gz
gentoo-70b98edc7ceb825ac3b52ec0efac213b5d8cae1d.tar.bz2
gentoo-70b98edc7ceb825ac3b52ec0efac213b5d8cae1d.zip
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 <dilfridge@gentoo.org>
Diffstat (limited to 'sci-electronics/klayout/files')
-rw-r--r--sci-electronics/klayout/files/klayout-0.25.6-gcc8.patch18
1 files changed, 18 insertions, 0 deletions
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 000000000000..250290f34901
--- /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;