summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-12-26 09:58:54 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-12-26 09:59:35 +0100
commit039e05313098a299f93038ea55934ebfd5b6bb9a (patch)
treeecf5f47fd5ff1413f8fc2d3477bd36d247d21869 /media-gfx
parentmedia-gfx/digikam: add 8.2.0 (diff)
downloadgentoo-039e05313098a299f93038ea55934ebfd5b6bb9a.tar.gz
gentoo-039e05313098a299f93038ea55934ebfd5b6bb9a.tar.bz2
gentoo-039e05313098a299f93038ea55934ebfd5b6bb9a.zip
media-gfx/krita: Fix build w/ >=dev-python/sip-6.8.0
Closes: https://bugs.gentoo.org/919139 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/krita/files/krita-5.1.5-sip-6.8.patch26
-rw-r--r--media-gfx/krita/krita-5.1.5.ebuild1
2 files changed, 27 insertions, 0 deletions
diff --git a/media-gfx/krita/files/krita-5.1.5-sip-6.8.patch b/media-gfx/krita/files/krita-5.1.5-sip-6.8.patch
new file mode 100644
index 000000000000..d9bcd937a3d2
--- /dev/null
+++ b/media-gfx/krita/files/krita-5.1.5-sip-6.8.patch
@@ -0,0 +1,26 @@
+From 2d71c47661d43a4e3c1ab0c27803de980bdf2bb2 Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <arojas@archlinux.org>
+Date: Mon, 11 Dec 2023 20:26:13 +0100
+Subject: [PATCH] Bump SIP ABI version to 12.8
+
+Fixes build with SIP 6.8
+---
+ cmake/modules/pyproject.toml.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/modules/pyproject.toml.in b/cmake/modules/pyproject.toml.in
+index 090b2d4b0cb..085ddf41799 100644
+--- a/cmake/modules/pyproject.toml.in
++++ b/cmake/modules/pyproject.toml.in
+@@ -9,7 +9,7 @@ name = "@module_name_toml@"
+ sip-module = "@sip_name@"
+ sip-include-dirs = @sip_include_dirs@
+ sip-files-dir = "@module_srcs@"
+-abi-version = "12"
++abi-version = "12.8"
+
+ [tool.sip.bindings.@module_name_toml@]
+ tags = @module_tags@
+--
+GitLab
+
diff --git a/media-gfx/krita/krita-5.1.5.ebuild b/media-gfx/krita/krita-5.1.5.ebuild
index f313dc477e04..ab68ac1db844 100644
--- a/media-gfx/krita/krita-5.1.5.ebuild
+++ b/media-gfx/krita/krita-5.1.5.ebuild
@@ -90,6 +90,7 @@ PATCHES=(
"${FILESDIR}/${PN}-4.3.1-tests-optional.patch"
"${WORKDIR}/${P}-exiv2-0.28.patch" # bug 906472
"${FILESDIR}/${P}-ocio-2.3.0.patch" # bug 915107
+ "${FILESDIR}/${P}-sip-6.8.patch" # bug 919139
)
pkg_setup() {