* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/klayout/files/, sci-electronics/klayout/
@ 2017-04-16 18:57 David Seifert
0 siblings, 0 replies; 5+ messages in thread
From: David Seifert @ 2017-04-16 18:57 UTC (permalink / raw
To: gentoo-commits
commit: 7ad2c402e2e1a7998ea1724f7675d126b8b5b6bc
Author: Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 21 00:05:31 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 18:57:14 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad2c402
sci-electronics/klayout: Fix "error: throw will always call terminate()" (bug #612978)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4267
...layout-0.24.9-c++11-no-throw-in-destuctor.patch | 34 ++++++++++++++++++++++
sci-electronics/klayout/klayout-0.24.9.ebuild | 4 ++-
2 files changed, 37 insertions(+), 1 deletion(-)
diff --git a/sci-electronics/klayout/files/klayout-0.24.9-c++11-no-throw-in-destuctor.patch b/sci-electronics/klayout/files/klayout-0.24.9-c++11-no-throw-in-destuctor.patch
new file mode 100644
index 00000000000..4cb6473d58c
--- /dev/null
+++ b/sci-electronics/klayout/files/klayout-0.24.9-c++11-no-throw-in-destuctor.patch
@@ -0,0 +1,34 @@
+# Fixes "error: throw will always call terminate() [-Werror=terminate]". Gentoo bug 612978.
+
+--- a/src/tlAssert.h.old
++++ b/src/tlAssert.h
+@@ -27,6 +27,16 @@
+
+ #include "config.h"
+
++// For >=C++11, mark assertion_failed() with attribute [[noreturn]] and call std::terminate().
++// Or else, throw int(0) to tell the compiler that the assertion will not return.
++#if __cplusplus < 201103L
++#define ATTRIB_ASSERT KLAYOUT_DLL
++#define END_ASSERT throw int(0)
++#else
++#define ATTRIB_ASSERT [[noreturn]] KLAYOUT_DLL
++#define END_ASSERT std::terminate()
++#endif
++
+ namespace tl
+ {
+
+@@ -34,10 +44,10 @@
+ * @brief The corresponding assert macro
+ */
+
+-KLAYOUT_DLL void assertion_failed (const char *filename, unsigned int line, const char *condition);
++ATTRIB_ASSERT void assertion_failed (const char *filename, unsigned int line, const char *condition);
+
+ // the throw int(0) instruction will tell the compiler that the assertion will not return
+-#define tl_assert(COND) if (!(COND)) { tl::assertion_failed (__FILE__, __LINE__, #COND); throw int(0); }
++#define tl_assert(COND) if (!(COND)) { tl::assertion_failed (__FILE__, __LINE__, #COND); END_ASSERT; }
+
+ } // namespace tl
+
diff --git a/sci-electronics/klayout/klayout-0.24.9.ebuild b/sci-electronics/klayout/klayout-0.24.9.ebuild
index ff57ef39774..8c7ca923bbd 100644
--- a/sci-electronics/klayout/klayout-0.24.9.ebuild
+++ b/sci-electronics/klayout/klayout-0.24.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -27,6 +27,8 @@ RDEPEND="
DEPEND="${RDEPEND}"
all_ruby_prepare() {
+ epatch "${FILESDIR}"/${P}-c++11-no-throw-in-destuctor.patch
+
# now we generate the stub build configuration file for the home-brew build system
cp "${FILESDIR}/${PN}-0.23.10-Makefile.conf.linux-gentoo" "${S}/config/Makefile.conf.linux-gentoo" || die
}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/klayout/files/, sci-electronics/klayout/
@ 2017-10-07 9:25 Andreas Hüttel
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Hüttel @ 2017-10-07 9:25 UTC (permalink / raw
To: gentoo-commits
commit: 1fdb0bcfc939df9627bb06171b8ca58a8d67dfdb
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 7 09:24:27 2017 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Oct 7 09:25:33 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fdb0bcf
sci-electronics/klayout: Simplify; remove upstreamed patch
Package-Manager: Portage-2.3.11, Repoman-2.3.3
.../klayout/files/klayout-9999-expert.patch | 104 ---------------------
sci-electronics/klayout/klayout-9999.ebuild | 9 +-
2 files changed, 1 insertion(+), 112 deletions(-)
diff --git a/sci-electronics/klayout/files/klayout-9999-expert.patch b/sci-electronics/klayout/files/klayout-9999-expert.patch
deleted file mode 100644
index 6fb1b873430..00000000000
--- a/sci-electronics/klayout/files/klayout-9999-expert.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-diff --git a/build.sh b/build.sh
-index ad9ac30..6a61904 100755
---- a/build.sh
-+++ b/build.sh
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/bin/bash
-
- #
- # KLayout Layout Viewer
-@@ -44,6 +44,7 @@ RPATH=""
- MAKE_OPT=""
-
- CONFIG="release"
-+BUILD_EXPERT=0
-
- # Check, whether build.sh is run from the top level folder
- if ! [ -e src ] || ! [ -e src/klayout.pro ]; then
-@@ -75,6 +76,9 @@ while [ "$*" != "" ]; do
- -debug)
- CONFIG="debug"
- ;;
-+ -expert)
-+ BUILD_EXPERT=1
-+ ;;
- -python)
- PYTHON="$1"
- shift
-@@ -500,28 +504,53 @@ $QMAKE -v
- # Force a minimum rebuild because of version info
- touch $CURR_DIR/src/version/version.h
-
--qmake_cmd="$QMAKE $CURR_DIR/src/klayout.pro -recursive \
-- CONFIG+=$CONFIG \
-- RUBYLIBFILE=$RUBYLIBFILE \
-- RUBYINCLUDE=$RUBYINCLUDE \
-- RUBYINCLUDE2=$RUBYINCLUDE2 \
-- RUBYVERSIONCODE=$RUBYVERSIONCODE \
-- HAVE_RUBY=$HAVE_RUBY \
-- PYTHONLIBFILE=$PYTHONLIBFILE \
-- PYTHONINCLUDE=$PYTHONINCLUDE \
-- HAVE_PYTHON=$HAVE_PYTHON \
-- HAVE_QTBINDINGS=$HAVE_QTBINDINGS \
-- HAVE_64BIT_COORD=$HAVE_64BIT_COORD \
-- HAVE_QT5=$HAVE_QT5 \
-- PREFIX='$BIN' \
-- RPATH='$RPATH' \
-- KLAYOUT_VERSION=$KLAYOUT_VERSION \
-- KLAYOUT_VERSION_DATE=$KLAYOUT_VERSION_DATE \
-- KLAYOUT_VERSION_REV=$KLAYOUT_VERSION_REV \
--"
--
--echo $qmake_cmd
--$qmake_cmd
-+qmake_options=(
-+ -recursive
-+ CONFIG+="$CONFIG"
-+ RUBYLIBFILE="$RUBYLIBFILE"
-+ RUBYINCLUDE="$RUBYINCLUDE"
-+ RUBYINCLUDE2="$RUBYINCLUDE2"
-+ RUBYVERSIONCODE="$RUBYVERSIONCODE"
-+ HAVE_RUBY="$HAVE_RUBY"
-+ PYTHONLIBFILE="$PYTHONLIBFILE"
-+ PYTHONINCLUDE="$PYTHONINCLUDE"
-+ HAVE_PYTHON="$HAVE_PYTHON"
-+ HAVE_QTBINDINGS="$HAVE_QTBINDINGS"
-+ HAVE_64BIT_COORD="$HAVE_64BIT_COORD"
-+ HAVE_QT5="$HAVE_QT5"
-+ PREFIX="$BIN"
-+ RPATH="$RPATH"
-+ KLAYOUT_VERSION="$KLAYOUT_VERSION"
-+ KLAYOUT_VERSION_DATE="$KLAYOUT_VERSION_DATE"
-+ KLAYOUT_VERSION_REV="$KLAYOUT_VERSION_REV"
-+)
-+
-+if [ $BUILD_EXPERT = 1 ]; then
-+ qmake_options+=(
-+ QMAKE_AR="$AR cqs"
-+ QMAKE_LINK_C="$CC"
-+ QMAKE_LINK_C_SHLIB="$CC"
-+ QMAKE_LINK="$CXX"
-+ QMAKE_LINK_SHLIB="$CXX"
-+ QMAKE_OBJCOPY="$OBJCOPY"
-+ QMAKE_RANLIB=
-+ QMAKE_STRIP=
-+ QMAKE_CC="$CC"
-+ QMAKE_CXX="$CXX"
-+ QMAKE_CFLAGS="$CFLAGS"
-+ QMAKE_CFLAGS_RELEASE=
-+ QMAKE_CFLAGS_DEBUG=
-+ QMAKE_CXXFLAGS="$CXXFLAGS"
-+ QMAKE_CXXFLAGS_RELEASE=
-+ QMAKE_CXXFLAGS_DEBUG=
-+ QMAKE_LFLAGS="$LDFLAGS"
-+ QMAKE_LFLAGS_RELEASE=
-+ QMAKE_LFLAGS_DEBUG=
-+ )
-+fi
-+
-+echo $QMAKE "$CURR_DIR/src/klayout.pro" "${qmake_options[@]}"
-+$QMAKE "$CURR_DIR/src/klayout.pro" "${qmake_options[@]}"
-
- cd $CURR_DIR
- echo ""
diff --git a/sci-electronics/klayout/klayout-9999.ebuild b/sci-electronics/klayout/klayout-9999.ebuild
index c7e32ad87f9..d6a39fafedf 100644
--- a/sci-electronics/klayout/klayout-9999.ebuild
+++ b/sci-electronics/klayout/klayout-9999.ebuild
@@ -37,10 +37,6 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-PATCHES=(
- "${FILESDIR}/${PN}-9999-expert.patch"
-)
-
pkg_setup() {
python-single-r1_pkg_setup
ruby-ng_pkg_setup
@@ -61,10 +57,7 @@ each_ruby_configure() {
-option "${MAKEOPTS}" \
-with-qtbinding \
-without-64bit-coord \
- -qt5 \
- -qtbin /usr/lib64/qt5/bin \
- -qtinc /usr/include/qt5 \
- -qtlib "/usr/$(get_libdir)/qt5" || die "Configuration failed"
+ -qt5 || die "Configuration failed"
}
each_ruby_compile() {
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/klayout/files/, sci-electronics/klayout/
@ 2017-12-27 23:30 Andreas Hüttel
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Hüttel @ 2017-12-27 23:30 UTC (permalink / raw
To: gentoo-commits
commit: 924de845e09c14313584dbd75f87ee82bd01b989
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 27 23:29:07 2017 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 23:29:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=924de845
sci-electronics/klayout: Add backported patch. Build still fails.
See also
https://github.com/klayoutmatthias/klayout/issues/47
https://github.com/klayoutmatthias/klayout/issues/34
https://github.com/klayoutmatthias/klayout/commit/11cb5eb99836e043d71b556af010b29624c3f569
Package-Manager: Portage-2.3.19, Repoman-2.3.6
.../klayout/files/klayout-0.25-qt58.patch | 38 ++++++++++++++++++++++
sci-electronics/klayout/klayout-0.25.ebuild | 2 ++
2 files changed, 40 insertions(+)
diff --git a/sci-electronics/klayout/files/klayout-0.25-qt58.patch b/sci-electronics/klayout/files/klayout-0.25-qt58.patch
new file mode 100644
index 00000000000..544bf2992c6
--- /dev/null
+++ b/sci-electronics/klayout/files/klayout-0.25-qt58.patch
@@ -0,0 +1,38 @@
+From 11cb5eb99836e043d71b556af010b29624c3f569 Mon Sep 17 00:00:00 2001
+From: Matthias Koefferlein <matthias@koefferlein.de>
+Date: Sun, 26 Nov 2017 22:51:36 +0100
+Subject: [PATCH] Qt 5.8.0 compatibility
+
+---
+ scripts/mkqtdecl5/mkqtdecl.conf | 2 ++
+ src/gsiqt5/gsiDeclQtTypeTraits.h | 1 +
+ 2 files changed, 3 insertions(+)
+
+diff --git a/scripts/mkqtdecl5/mkqtdecl.conf b/scripts/mkqtdecl5/mkqtdecl.conf
+index a704ebc..ee58b82 100644
+--- a/scripts/mkqtdecl5/mkqtdecl.conf
++++ b/scripts/mkqtdecl5/mkqtdecl.conf
+@@ -1484,6 +1484,8 @@ final_class "QAccessibleObject" # because navigate cannot be implemented
+ # final_class "QAccessiblePlugin" # because navigate cannot be implemented
+ final_class "QAccessibleWidget" # because navigate cannot be implemented
+
++no_copy_ctor "QIconEngine"
++
+ # --------------------------------------------------------------
+ # QtXml
+
+diff --git a/src/gsiqt5/gsiDeclQtTypeTraits.h b/src/gsiqt5/gsiDeclQtTypeTraits.h
+index eba0986..dd68128 100644
+--- a/src/gsiqt5/gsiDeclQtTypeTraits.h
++++ b/src/gsiqt5/gsiDeclQtTypeTraits.h
+@@ -3418,6 +3418,7 @@ template <> struct type_traits<QIconEngine> : public type_traits<void> {
+ class QIconEngine_Adaptor;
+ namespace tl {
+ template <> struct type_traits<QIconEngine_Adaptor> : public type_traits<void> {
++ typedef tl::false_tag has_copy_constructor;
+ };
+ }
+
+--
+2.15.1
+
diff --git a/sci-electronics/klayout/klayout-0.25.ebuild b/sci-electronics/klayout/klayout-0.25.ebuild
index 157da060047..e3b40dead5b 100644
--- a/sci-electronics/klayout/klayout-0.25.ebuild
+++ b/sci-electronics/klayout/klayout-0.25.ebuild
@@ -37,6 +37,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/${P}-qt58.patch" )
+
pkg_setup() {
python-single-r1_pkg_setup
ruby-ng_pkg_setup
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/klayout/files/, sci-electronics/klayout/
@ 2017-12-28 11:43 Andreas Hüttel
0 siblings, 0 replies; 5+ messages in thread
From: Andreas Hüttel @ 2017-12-28 11:43 UTC (permalink / raw
To: gentoo-commits
commit: 20efdba7b39f8f8c6cc136bd314e2c5beb09cac3
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 11:42:29 2017 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 11:42:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20efdba7
sci-electronics/klayout: Add one more patch, restore keywords.
See also:
https://github.com/klayoutmatthias/klayout/issues/47
https://github.com/klayoutmatthias/klayout/commit/28ff493de71cbafa38e214b75dd6874b0226813f
Package-Manager: Portage-2.3.19, Repoman-2.3.6
.../klayout/files/klayout-0.25-qt59.patch | 78 ++++++++++++++++++++++
sci-electronics/klayout/klayout-0.25.ebuild | 7 +-
2 files changed, 83 insertions(+), 2 deletions(-)
diff --git a/sci-electronics/klayout/files/klayout-0.25-qt59.patch b/sci-electronics/klayout/files/klayout-0.25-qt59.patch
new file mode 100644
index 00000000000..31f25055ca1
--- /dev/null
+++ b/sci-electronics/klayout/files/klayout-0.25-qt59.patch
@@ -0,0 +1,78 @@
+From cde03b075031efaa6e3f6d69356f077daa6da0dd Mon Sep 17 00:00:00 2001
+From: Matthias Koefferlein <matthias@koefferlein.de>
+Date: Sun, 17 Dec 2017 15:30:37 +0100
+Subject: [PATCH] Replace WindowOkButtonHint, WindowCancelButtonHint
+
+This commit removes symbols which are not available on MacOS
+by a code-generation solution.
+
+These symbols are only required for WindowsCE so their
+unavailability on other systems is not a big loss.
+
+(cherry picked from commit 28ff493de71cbafa38e214b75dd6874b0226813f)
+---
+ scripts/mkqtdecl4/mkqtdecl.conf | 2 ++
+ scripts/mkqtdecl5/mkqtdecl.conf | 2 ++
+ src/gsiqt4/gsiDeclQt_3.cc | 4 +---
+ src/gsiqt5/gsiDeclQt_4.cc | 4 +---
+ 4 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/scripts/mkqtdecl4/mkqtdecl.conf b/scripts/mkqtdecl4/mkqtdecl.conf
+index 9e87acc..edf48ae 100644
+--- a/scripts/mkqtdecl4/mkqtdecl.conf
++++ b/scripts/mkqtdecl4/mkqtdecl.conf
+@@ -10,6 +10,8 @@
+ # drops enum members
+ drop_enum_const "Qt", /WindowType::WindowSoftkeysVisibleHint/
+ drop_enum_const "Qt", /WindowType::WindowSoftkeysRespondHint/
++drop_enum_const "Qt", /WindowType::WindowOkButtonHint/ # only available on CE
++drop_enum_const "Qt", /WindowType::WindowCancelButtonHint/ # only available on CE
+
+ # --------------------------------------------------------------
+ # QtCore
+diff --git a/scripts/mkqtdecl5/mkqtdecl.conf b/scripts/mkqtdecl5/mkqtdecl.conf
+index 311f08a..d2fd2e5 100644
+--- a/scripts/mkqtdecl5/mkqtdecl.conf
++++ b/scripts/mkqtdecl5/mkqtdecl.conf
+@@ -10,6 +10,8 @@
+ # drops enum members
+ drop_enum_const "Qt", /WindowType::WindowSoftkeysVisibleHint/
+ drop_enum_const "Qt", /WindowType::WindowSoftkeysRespondHint/
++drop_enum_const "Qt", /WindowType::WindowOkButtonHint/ # only available on CE
++drop_enum_const "Qt", /WindowType::WindowCancelButtonHint/ # only available on CE
+
+ # --------------------------------------------------------------
+ # QtCore
+diff --git a/src/gsiqt4/gsiDeclQt_3.cc b/src/gsiqt4/gsiDeclQt_3.cc
+index 0055145..4f74bb9 100644
+--- a/src/gsiqt4/gsiDeclQt_3.cc
++++ b/src/gsiqt4/gsiDeclQt_3.cc
+@@ -453,9 +453,7 @@ static gsi::Enum<Qt::WindowType> decl_Qt_WindowType_Enum ("Qt_WindowType",
+ gsi::enum_const ("WindowStaysOnBottomHint", Qt::WindowStaysOnBottomHint, "@brief Enum constant Qt::WindowStaysOnBottomHint") +
+ gsi::enum_const ("WindowCloseButtonHint", Qt::WindowCloseButtonHint, "@brief Enum constant Qt::WindowCloseButtonHint") +
+ gsi::enum_const ("MacWindowToolBarButtonHint", Qt::MacWindowToolBarButtonHint, "@brief Enum constant Qt::MacWindowToolBarButtonHint") +
+- gsi::enum_const ("BypassGraphicsProxyWidget", Qt::BypassGraphicsProxyWidget, "@brief Enum constant Qt::BypassGraphicsProxyWidget") +
+- gsi::enum_const ("WindowOkButtonHint", Qt::WindowOkButtonHint, "@brief Enum constant Qt::WindowOkButtonHint") +
+- gsi::enum_const ("WindowCancelButtonHint", Qt::WindowCancelButtonHint, "@brief Enum constant Qt::WindowCancelButtonHint"),
++ gsi::enum_const ("BypassGraphicsProxyWidget", Qt::BypassGraphicsProxyWidget, "@brief Enum constant Qt::BypassGraphicsProxyWidget"),
+ "@qt\n@brief This class represents the Qt::WindowType enum");
+
+ static gsi::QFlagsClass<Qt::WindowType > decl_Qt_WindowType_Enums ("Qt_QFlags_WindowType",
+diff --git a/src/gsiqt5/gsiDeclQt_4.cc b/src/gsiqt5/gsiDeclQt_4.cc
+index b768649..6c7fb4b 100644
+--- a/src/gsiqt5/gsiDeclQt_4.cc
++++ b/src/gsiqt5/gsiDeclQt_4.cc
+@@ -153,9 +153,7 @@ static gsi::Enum<Qt::WindowType> decl_Qt_WindowType_Enum ("Qt_WindowType",
+ gsi::enum_const ("MacWindowToolBarButtonHint", Qt::MacWindowToolBarButtonHint, "@brief Enum constant Qt::MacWindowToolBarButtonHint") +
+ gsi::enum_const ("BypassGraphicsProxyWidget", Qt::BypassGraphicsProxyWidget, "@brief Enum constant Qt::BypassGraphicsProxyWidget") +
+ gsi::enum_const ("NoDropShadowWindowHint", Qt::NoDropShadowWindowHint, "@brief Enum constant Qt::NoDropShadowWindowHint") +
+- gsi::enum_const ("WindowFullscreenButtonHint", Qt::WindowFullscreenButtonHint, "@brief Enum constant Qt::WindowFullscreenButtonHint") +
+- gsi::enum_const ("WindowOkButtonHint", Qt::WindowOkButtonHint, "@brief Enum constant Qt::WindowOkButtonHint") +
+- gsi::enum_const ("WindowCancelButtonHint", Qt::WindowCancelButtonHint, "@brief Enum constant Qt::WindowCancelButtonHint"),
++ gsi::enum_const ("WindowFullscreenButtonHint", Qt::WindowFullscreenButtonHint, "@brief Enum constant Qt::WindowFullscreenButtonHint"),
+ "@qt\n@brief This class represents the Qt::WindowType enum");
+
+ static gsi::QFlagsClass<Qt::WindowType > decl_Qt_WindowType_Enums ("Qt_QFlags_WindowType",
+--
+2.15.1
+
diff --git a/sci-electronics/klayout/klayout-0.25.ebuild b/sci-electronics/klayout/klayout-0.25.ebuild
index e3b40dead5b..a819784c86a 100644
--- a/sci-electronics/klayout/klayout-0.25.ebuild
+++ b/sci-electronics/klayout/klayout-0.25.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} = 9999* ]]; then
EGIT_CHECKOUT_DIR=${WORKDIR}/all/${P}
else
SRC_URI="http://www.klayout.org/downloads/source/${P}.tar.gz"
-# KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Viewer and editor for GDS and OASIS integrated circuit layouts"
@@ -37,7 +37,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}/${P}-qt58.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-qt58.patch"
+ "${FILESDIR}/${P}-qt59.patch"
+)
pkg_setup() {
python-single-r1_pkg_setup
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-electronics/klayout/files/, sci-electronics/klayout/
@ 2018-12-12 21:27 Andreas K. Hüttel
0 siblings, 0 replies; 5+ messages in thread
From: Andreas K. Hüttel @ 2018-12-12 21:27 UTC (permalink / raw
To: gentoo-commits
commit: 70b98edc7ceb825ac3b52ec0efac213b5d8cae1d
Author: Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 12 21:27:01 2018 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> 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 <dilfridge <AT> 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}} )
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-12-12 21:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-28 11:43 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/klayout/files/, sci-electronics/klayout/ Andreas Hüttel
-- strict thread matches above, loose matches on Subject: below --
2018-12-12 21:27 Andreas K. Hüttel
2017-12-27 23:30 Andreas Hüttel
2017-10-07 9:25 Andreas Hüttel
2017-04-16 18:57 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox