summaryrefslogtreecommitdiff
path: root/net-print/gutenprint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-15 03:02:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-15 03:02:36 +0000
commit57d1fe5ae0c56e604db5d29bf7b62d685c42e043 (patch)
treebc1bdf3c531b7b4cef73b051dbb3cd439dee4a39 /net-print/gutenprint
parentd3c7d3e5f9607edef1a795ccc502ab3eb3121165 (diff)
gentoo auto-resync : 15:11:2024 - 03:02:36
Diffstat (limited to 'net-print/gutenprint')
-rw-r--r--net-print/gutenprint/Manifest3
-rw-r--r--net-print/gutenprint/files/gutenprint-5.3.4-invalidint.patch13
-rw-r--r--net-print/gutenprint/gutenprint-5.3.4-r2.ebuild5
3 files changed, 19 insertions, 2 deletions
diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest
index 6caf4550bc5e..7627164d5156 100644
--- a/net-print/gutenprint/Manifest
+++ b/net-print/gutenprint/Manifest
@@ -1,4 +1,5 @@
AUX gutenprint-5.3.1-cflags.patch 659 BLAKE2B 90beb435d0b9a036f31e25f78afedca178b2b6d7bba3cf294ae45699e139d136bbc996dfca86db65d64a61ef004c343ba55f7e097e7304b1d6392efe0ed9cc31 SHA512 f7bac5fd0cff9c1e5b47c965c0304ffda47478241f715de4ada829a295ec54adf198046699bab866166f974c692ac525207f0541e7ba6959e18d63765128327d
+AUX gutenprint-5.3.4-invalidint.patch 494 BLAKE2B ce712e379012cc8ef5ded5326608c3d54a53219c032c079f16ac2e976801354322e6f63c9ac5bf105c7f519a7d9099e11b8ab98cb0c30bc54411056b6c6aa6b4 SHA512 1fb68c96cc2c1eb0fdc2d8f441550439d8a0e1b422380c4079d5bae2dd728a0c83d8572fa038ccbc0e4180f8b1868e2ff0d73767f7883935e5a9e9f65a047ecf
DIST gutenprint-5.3.4.tar.xz 5341824 BLAKE2B 134e59c7dbf9c0ba95b91c717f1e6841f35520b55105feb1ba40b82785c825b8e2a2429990e78186a1455e5c6de9880f911438d514c53c56d05575dd4e2d68a4 SHA512 63de0b62edbe255a7efaaeab1dcd22577b7b46d7e0e48441b79977f19e76bf3862e4e8e18c55dd1f2e7392d555f9e8ee875ea53b90c689852d2343491a8fbcc8
-EBUILD gutenprint-5.3.4-r2.ebuild 1910 BLAKE2B 20ef1a22dd8ae85a38a99e46d5b1f5407ecd0d17e07ea372d660824dc2959c403a52e1709f5f98ba022ae55d90f4a93fdd49ca3266b8b35bd33ccde649622559 SHA512 22914412a022924e7b35e5468098f433a79b911fdc61ea7b2c69d86e541a586a04756b1b06fc72742293980f36c74d0c88df345317f7d90a6f8f92d290c7ffde
+EBUILD gutenprint-5.3.4-r2.ebuild 1948 BLAKE2B 0dd267a6800e7212bb6a034b336cd5c6518e0af52bca8ea592c42f90116876d4d8912f59e098b59b6619668191e4e148fe55f094cfa890d45afefad74e48ee4b SHA512 6e99efc67800b6d812b1b7f21d9a408cc38fb18f7dcc0a6764cbfae9899594994f65f0ce9fea6abebb270f6d44d096893530e43d671a63058a4e19e7d9649c88
MISC metadata.xml 340 BLAKE2B 91ab730b8ea24dd11ef59949916cda1cb2a0b2a8b77144ef2a9287eb4145e5c38f98a0572381eb6f75a14dd73ff4ac4d1aaf495432ca4402ab75c6f3b7519e99 SHA512 f8fbc6a3db9143f2bd4094ae5a0a6e7ec0bba5e06c90082faed08d5c76e89972422751c5217e1dc118cd10eaee99ffd02249eba4b5ec885fe9e669e75cfdd595
diff --git a/net-print/gutenprint/files/gutenprint-5.3.4-invalidint.patch b/net-print/gutenprint/files/gutenprint-5.3.4-invalidint.patch
new file mode 100644
index 000000000000..a39a974d78b0
--- /dev/null
+++ b/net-print/gutenprint/files/gutenprint-5.3.4-invalidint.patch
@@ -0,0 +1,13 @@
+--- gutenprint-5.3.4.orig/src/gimp2/print.c 2024-09-17 01:59:12.666943714 -0400
++++ gutenprint-5.3.4/src/gimp2/print.c 2024-09-17 02:02:46.637482947 -0400
+@@ -114,8 +114,8 @@
+ {
+ if (gimp_thumbnail_data)
+ g_free(gimp_thumbnail_data);
+- gint x = gimp_image_width(image_ID);
+- gint y = gimp_image_height(image_ID);
++ gint x = gimp_image_width((gint32)(intptr_t)image_ID);
++ gint y = gimp_image_height((gint32)(intptr_t)image_ID);
+ if (*width > x)
+ *width = x;
+ if (*height > y)
diff --git a/net-print/gutenprint/gutenprint-5.3.4-r2.ebuild b/net-print/gutenprint/gutenprint-5.3.4-r2.ebuild
index 0fe23da68e57..7b623834aec4 100644
--- a/net-print/gutenprint/gutenprint-5.3.4-r2.ebuild
+++ b/net-print/gutenprint/gutenprint-5.3.4-r2.ebuild
@@ -39,7 +39,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} )
-PATCHES=( "${FILESDIR}"/${PN}-5.3.1-cflags.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.3.1-cflags.patch
+ "${FILESDIR}"/${P}-invalidint.patch
+)
src_prepare() {
default