<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1aa266aeb8d6aff98ec6764a883fc36531f5246b">https://github.com/macports/macports-ports/commit/1aa266aeb8d6aff98ec6764a883fc36531f5246b</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 1aa266aeb8d ghostscript: update to 10.01.2
</span>1aa266aeb8d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1aa266aeb8d6aff98ec6764a883fc36531f5246b
</span>Author: Remko Scharroo <remko.scharroo@eumetsat.int>
AuthorDate: Wed Jul 19 17:10:16 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> ghostscript: update to 10.01.2
</span>---
graphics/xfig/Portfile | 2 +-
print/ghostscript/Portfile | 13 +++----
print/ghostscript/files/patch-base_gspaint.diff | 42 ++++++++++++++++++++++
.../files/patch-ghostscript-gsicc_lcms2.diff | 15 --------
4 files changed, 50 insertions(+), 22 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/xfig/Portfile b/graphics/xfig/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d59a5c0cd9d..7789ce3006c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/xfig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/xfig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span>
name xfig
version 3.2.8b
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories graphics x11
license Permissive
maintainers nomaintainer
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/ghostscript/Portfile b/print/ghostscript/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 56fa720bc0e..0272f4505f4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/print/ghostscript/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/ghostscript/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,8 @@ PortSystem 1.0
</span> PortGroup muniversal 1.0
name ghostscript
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 9.56.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 10.01.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories print
license AGPL-3 BSD
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,12 +33,13 @@ distfiles ${distname}.tar.gz:source \
</span> ${mappingresources_commit}.zip:misc
patchfiles patch-base_unix-dll.mak.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-base_unixinst.mak.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-base_unixinst.mak.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-base_gspaint.diff
</span>
checksums ${distname}.tar.gz \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 babe8112b085191511fb9aec32f9162926c582d8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 6bf362286e359e31f934e5aad49db3d88a2382a3cac44b40572861ee5c536664 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 92134638 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 1a21460fb6ec98858a723cd6570a1b98e9f2124a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 ee76cb526f5b6683e2adcb65398a1f333f7972289cec960b67aaa227c0d72e88 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 96848797 \
</span> ghostscript-fonts-other-6.0.tar.gz \
rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f \
sha256 4fa051e341167008d37fe34c19d241060cd17b13909932cd7ca7fe759243c2de \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/ghostscript/files/patch-base_gspaint.diff b/print/ghostscript/files/patch-base_gspaint.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..91d384a4b77
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/ghostscript/files/patch-base_gspaint.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,42 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- base/gspaint.c.orig 2023-03-27 15:49:35.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ base/gspaint.c 2023-04-27 19:13:03.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -208,6 +208,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gs_fixed_rect bbox;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gs_int_rect ibox;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uint width, raster, band_space;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ uint dev_width, dev_height;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uint height, height2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gs_log2_scale_point log2_scale;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gs_memory_t *mem;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -223,6 +224,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ((ibox.q.y <= ibox.p.y) || (ibox.q.x <= ibox.p.x))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return 2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ width = (ibox.q.x - ibox.p.x) << log2_scale.x;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ dev_width = ibox.q.x << log2_scale.x;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ raster = bitmap_raster(width);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ band_space = raster << log2_scale.y;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ height2 = (ibox.q.y - ibox.p.y);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -232,6 +234,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (height > height2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ height = height2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ height <<= log2_scale.y;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ dev_height = ibox.q.y << log2_scale.y;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mem = pgs->memory;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mdev = gs_alloc_struct(mem, gx_device_memory, &st_device_memory,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "alpha_buffer_init");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -244,13 +247,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gs_make_mem_abuf_device(mdev, mem, dev, &log2_scale,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ alpha_bits, ibox.p.x << log2_scale.x, devn);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mdev->width = width;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mdev->height = height;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mdev->width = dev_width;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mdev->height = dev_height;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mdev->bitmap_memory = mem;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Set the horrible hacky flag that tells people that the width/height here
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * have been set for *our* convenience, rather than accurately depicting the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * size of the device for callers. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mdev->non_strict_bounds = 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if ((*dev_proc(mdev, open_device)) ((gx_device *) mdev) < 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* No room for bits, punt. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gs_free_object(mem, mdev, "alpha_buffer_init");
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/ghostscript/files/patch-ghostscript-gsicc_lcms2.diff b/print/ghostscript/files/patch-ghostscript-gsicc_lcms2.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 031aed9e62d..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/print/ghostscript/files/patch-ghostscript-gsicc_lcms2.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Undefined symbols for architecture x86_64:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "_gscms_transformm_color_const", referenced from:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _gscms_transform_color in gsicc_lcms2.o
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-http://git.ghostscript.com/?p=ghostpdl.git;a=commit;f=base/gsicc_lcms2.c;h=830afae5454dea3bff903869d82022306890a96c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- base/gsicc_lcms2.c.orig 2022-01-21 15:53:42.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ base/gsicc_lcms2.c 2022-01-21 15:54:00.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -462,7 +462,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gscms_transform_color(gx_device *dev, gsicc_link_t *icclink, void *inputcolor,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void *outputcolor, int num_bytes)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- return gscms_transformm_color_const(dev, icclink, inputcolor, outputcolor, num_bytes);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return gscms_transform_color_const(dev, icclink, inputcolor, outputcolor, num_bytes);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int
</span></pre><pre style='margin:0'>
</pre>