summaryrefslogtreecommitdiff
path: root/dev-perl/Cairo
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Cairo')
-rw-r--r--dev-perl/Cairo/Cairo-1.109.0-r1.ebuild36
-rw-r--r--dev-perl/Cairo/Manifest2
-rw-r--r--dev-perl/Cairo/files/Cairo-1.109.0-c99.patch14
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-perl/Cairo/Cairo-1.109.0-r1.ebuild b/dev-perl/Cairo/Cairo-1.109.0-r1.ebuild
new file mode 100644
index 000000000000..7f8242531e34
--- /dev/null
+++ b/dev-perl/Cairo/Cairo-1.109.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=XAOC
+DIST_VERSION=1.109
+DIST_EXAMPLES=("examples/*")
+inherit perl-module
+
+DESCRIPTION="Perl interface to the cairo library"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+RDEPEND="
+ >=x11-libs/cairo-1.0.0
+"
+DEPEND="
+ >=x11-libs/cairo-1.0.0
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ >=dev-perl/ExtUtils-Depends-0.200.0
+ >=dev-perl/ExtUtils-PkgConfig-1.0.0
+ test? (
+ dev-perl/Test-Number-Delta
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.107-fatal-exit.patch"
+ "${FILESDIR}/${PN}-1.109.0-c99.patch"
+)
diff --git a/dev-perl/Cairo/Manifest b/dev-perl/Cairo/Manifest
index 9231ed471b75..522fe98a4949 100644
--- a/dev-perl/Cairo/Manifest
+++ b/dev-perl/Cairo/Manifest
@@ -1,4 +1,6 @@
AUX Cairo-1.107-fatal-exit.patch 562 BLAKE2B 321c95dcead052af47e6541d0ed7b86a75d09707ebea63ee474c28dada5adabfce00be211d70cdd289d400e7147f0e874d0cea06a610a26e37a629c4ffa10a69 SHA512 3ff858177e63842d48b9faa1e186fef49907e67aab9b07e5e162df95a82890013965e4c958e106651292826fcc541c2a3c09f61000d6ebd6f0fb3a13feae7fac
+AUX Cairo-1.109.0-c99.patch 435 BLAKE2B e627fe16031cfe73fb99394ee1ae09d0e1f497f7334935be50bd72d386105685b33fdf71aa0fb492936374feaf84b4d3c2578b761bd4fc5954990e55646fa367 SHA512 8ed038604771fdb409d3a72f07084a6310eff64f4295dfffcdaf3724e588521f4562a6149a169c17d9bedbe1ff5ec40744733224c47108a3b74124d64101ec3a
DIST Cairo-1.109.tar.gz 116924 BLAKE2B 0761066948797b06dcf89adb5f0d962f4ed48ba6bc3aa0c4b99a31c4bea96f71ffe0f378a1ea27e080c099b99cf8e99896abcbd042d91da747786475a3da1bf5 SHA512 b80841bff480acf95f69659cba02ca17c79b67a2dc5c9b9302efb15bbd79bd4bc2f1801c001c220723da11081e86a08a83e07ecc8866810ebf9406e1f6fa1c53
+EBUILD Cairo-1.109.0-r1.ebuild 763 BLAKE2B 723bb00dacc4501d8e408504e3ab75b64a3d0b3dc9c9191bc5e958c9419b12372e1313c7b114655659cad0ed41f4491d3fff7b596a0acd1ad12c29b6b560d545 SHA512 ff63017f155dc8c059d191558a8b62c81da2a8b5e952b3d863964a67c21c790988f0acbde18a3c9005175927a0bc4d8fc79f5e3fb693c9f43827969d3ce88a74
EBUILD Cairo-1.109.0.ebuild 836 BLAKE2B aad9cbb62fd3e21436261e147eff5244fcd6d65ff06b04ab15bd529e29779f9afe75683be4a52f6637296f419641d6fa07ae6db80c5387d61deb783620beb275 SHA512 1602af9a60a707c9da6c4d1b8b2ae2ce4de29865657a1f235423dda8e3f5271fb027912ecde6426e67b977fb292d20ebf7a6bb3ff9066f22aef18ed1ca75900a
MISC metadata.xml 382 BLAKE2B 4acf895db01bfa4f8411719ccab7a76d0eb8552daffd7052a45f8c573ac5ba3b7828f686a876d1a04f9e4271829c80a9063f5979dfe1485467cc32076a386fef SHA512 6c2ae098490270cf780394cc729634d2f2fd5b12c9a92dac4fa88c764f0e4e4f010267347a7e1df610147b67ab6cb883d94660edebed52647c09e52cf4b52242
diff --git a/dev-perl/Cairo/files/Cairo-1.109.0-c99.patch b/dev-perl/Cairo/files/Cairo-1.109.0-c99.patch
new file mode 100644
index 000000000000..5bac174069bd
--- /dev/null
+++ b/dev-perl/Cairo/files/Cairo-1.109.0-c99.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/924211
+https://gitlab.gnome.org/GNOME/perl-cairo/-/issues/2
+
+--- a/CairoSurface.xs
++++ b/CairoSurface.xs
+@@ -389,7 +389,7 @@ cairo_status_t
+ cairo_surface_set_mime_data (cairo_surface_t *surface, const char *mime_type, SV *data);
+ PREINIT:
+ const unsigned char *mime_data;
+- unsigned long length;
++ STRLEN length;
+ CODE:
+ SvREFCNT_inc (data);
+ mime_data = (const unsigned char *) SvPV(data, length);