From 20854bcca9f9073546adf066ef2aa209e1e8e822 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Jul 07 2017 13:04:13 +0000 Subject: Resolves: rhbz#1467512 mask not created as 1 bit depth --- diff --git a/0001-Resolves-rhbz-1467512-mask-not-created-as-1-bit-dept.patch b/0001-Resolves-rhbz-1467512-mask-not-created-as-1-bit-dept.patch new file mode 100644 index 0000000..41177ed --- /dev/null +++ b/0001-Resolves-rhbz-1467512-mask-not-created-as-1-bit-dept.patch @@ -0,0 +1,26 @@ +From 577899517576f6d79311093d4e49d9b775ddcf0c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= +Date: Fri, 7 Jul 2017 13:59:27 +0100 +Subject: [PATCH] Resolves: rhbz#1467512 mask not created as 1 bit depth + +Change-Id: Ib5bdd594efd41eb881dfc4e2454b72e4739ffd56 +--- + vcl/headless/svpgdi.cxx | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx +index 033389e..c694fc0 100644 +--- a/vcl/headless/svpgdi.cxx ++++ b/vcl/headless/svpgdi.cxx +@@ -1110,7 +1110,7 @@ void SvpSalGraphics::drawMask( const SalTwoRect& rTR, + SalBitmap* SvpSalGraphics::getBitmap( long nX, long nY, long nWidth, long nHeight ) + { + SvpSalBitmap* pBitmap = new SvpSalBitmap(); +- pBitmap->Create(Size(nWidth, nHeight), 32, BitmapPalette()); ++ pBitmap->Create(Size(nWidth, nHeight), GetBitCount(), BitmapPalette()); + + cairo_surface_t* target = SvpSalGraphics::createCairoSurface(pBitmap->GetBuffer()); + cairo_t* cr = cairo_create(target); +-- +2.9.3 + diff --git a/libreoffice.spec b/libreoffice.spec index 51c77ef..ea9f4f7 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -58,7 +58,7 @@ Summary: Free Software Productivity Suite Name: libreoffice Epoch: 1 Version: %{libo_version}.2 -Release: 1%{?libo_prerelease}%{?dist} +Release: 2%{?libo_prerelease}%{?dist} License: (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and Artistic and MPLv2.0 and CC0 URL: http://www.libreoffice.org/ @@ -254,6 +254,7 @@ Patch18: 0005-Resolves-rhbz-144437-make-gnome-documents-not-crash-.patch Patch19: 0001-make-opengl-transitions-under-X-flicker-free-on-ente.patch Patch20: 0001-rename-IsAutoCapitalizeWordDelim-to-NonFieldWordDeli.patch Patch21: 0002-consider-field-marks-as-text-for-auto-quotes.patch +Patch22: 0001-Resolves-rhbz-1467512-mask-not-created-as-1-bit-dept.patch %if 0%{?rhel} # not upstreamed @@ -2341,6 +2342,9 @@ done %{_includedir}/LibreOfficeKit %changelog +* Fri Jul 07 2017 Caolán McNamara - 1:5.3.4.2-2 +- Resolves: rhbz#1467512 mask not created as 1 bit depth + * Sun Jul 02 2017 David Tardon - 1:5.3.4.2-1 - update to 5.3.4 rc2