apply fix from upstream bug 704737, preventing asymptote from working properly

This commit is contained in:
Tom spot Callaway 2021-12-30 18:59:11 -05:00
parent 4c31fbc87b
commit 6439c2477a
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -up ghostscript-9.55.0/base/gdevdbit.c.fix-gx_default_copy_alpha-calling-get_bits_rectangle ghostscript-9.55.0/base/gdevdbit.c
--- ghostscript-9.55.0/base/gdevdbit.c.fix-gx_default_copy_alpha-calling-get_bits_rectangle 2021-12-30 18:39:58.655089208 -0500
+++ ghostscript-9.55.0/base/gdevdbit.c 2021-12-30 18:40:57.458462173 -0500
@@ -379,7 +379,7 @@ gx_default_copy_alpha(gx_device * dev, c
int l_xprev = x;
gs_get_bits_params_t params;
- params.options = (GB_ALIGN_ANY |
+ params.options = (GB_ALIGN_STANDARD |
(GB_RETURN_COPY | GB_RETURN_POINTER) |
GB_OFFSET_0 |
GB_RASTER_STANDARD | GB_PACKING_CHUNKY |

View File

@ -45,7 +45,7 @@
Name: ghostscript
Summary: Interpreter for PostScript language & PDF
Version: 9.55.0
Release: 1%{?dist}
Release: 2%{?dist}
License: AGPLv3+
@ -104,6 +104,10 @@ BuildRequires: make
# ---------------- last rebase that are necessary for any reason:
#Patch000: example000.patch
Patch001: ghostscript-9.55-fix-typo-in-gsicc-lcms2.patch
# https://bugs.ghostscript.com/show_bug.cgi?id=704737
# https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=d9d8db23e862707795e76ea8f8cdcf7434b2df65
Patch002: ghostscript-9.55.0-fix-gx_default_copy_alpha-calling-get_bits_rectangle.patch
# Downstream patches -- these should be always included when doing rebase:
# ------------------
@ -434,6 +438,9 @@ done
# =============================================================================
%changelog
* Thu Dec 30 2021 Tom Callaway <spot@fedoraproject.org> - 9.55.0-2
- apply fix from upstream bug 704737, preventing asymptote from working properly
* Mon Oct 11 2021 Richard Lescak <rlescak@redhat.com> - 9.55.0-1
- Rebase to new gs version (#2008146)