From 65e89ddba7e72ad0b40b40b66f1193d978bc5678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 13 Apr 2017 13:46:31 +0300 Subject: main/ghostscript: fix sse variable alignment fixes #7138 (cherry picked from commit 6784f21b55402e44a5da70ef16912bb19a28bd62) --- main/ghostscript/APKBUILD | 12 ++++++++---- main/ghostscript/fix-alignment.patch | 11 +++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 main/ghostscript/fix-alignment.patch diff --git a/main/ghostscript/APKBUILD b/main/ghostscript/APKBUILD index d313d1bcf5..0f094c0c21 100644 --- a/main/ghostscript/APKBUILD +++ b/main/ghostscript/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Cameron Banta pkgname=ghostscript pkgver=9.16 -pkgrel=1 +pkgrel=2 pkgdesc="An interpreter for the PostScript language and for PDF" url="http://ghostscript.com/" arch="all" @@ -17,6 +17,7 @@ source="http://downloads.ghostscript.com/public/$pkgname-$pkgver.tar.gz ghostscript-wrf-snprintf.patch fix-sprintf.patch CVE-2015-3228.patch + fix-alignment.patch " _builddir="$srcdir/ghostscript-$pkgver" @@ -116,16 +117,19 @@ c180cac458c6ab7bcd319fe092abb9cd ghostscript-system-zlib.patch 7bc12888cccf6d2827d0ff012813220f ghostscript-system-openjpeg2.patch f5129f6cc01a3d593cf02fe1ef94cbe8 ghostscript-wrf-snprintf.patch ed14fa288463e08e1e6074a5d1ebbcbb fix-sprintf.patch -27971c7530ffd4e4046d1ffb61cac13d CVE-2015-3228.patch" +27971c7530ffd4e4046d1ffb61cac13d CVE-2015-3228.patch +5ebdebe1e22a6eb1b7ebbf3e89c55314 fix-alignment.patch" sha256sums="746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d ghostscript-9.16.tar.gz bcbd4154fc186b3564fa6140d57117f243a5d703823c03443434c09aeef20684 ghostscript-system-zlib.patch 0d029c98b2149715b63d2eae9634eca0d427bf77e713dd355854412fc92b35ac ghostscript-system-openjpeg2.patch 3ca8f75d743aae7f2baa109a2a9217c33867c13e88e0ddbc96dc9be39157ae72 ghostscript-wrf-snprintf.patch 3051dff937ab9ced9f88b36384400b10bc9cdb39b2abd3ece8f4c41a0246874e fix-sprintf.patch -e6407cc5d74b6963242efec942c92b093a076c835451e6b949417b85d24c85d1 CVE-2015-3228.patch" +e6407cc5d74b6963242efec942c92b093a076c835451e6b949417b85d24c85d1 CVE-2015-3228.patch +22262be45ba77db5508e60cb2eef7f78178b9a38bfbfbb85d4082d4d7a2c1710 fix-alignment.patch" sha512sums="cd7da12f55379f7d388bd2573a307426da230a2220766a7138ab49990fb34343801a6d5e76ba0f4d6c97a5871359658ca043fcc700242b02f30de30a15b2847f ghostscript-9.16.tar.gz 6449fe3594d2b61aa4a96762a91db847242dbbb407c6743af8a5db0f7f18bb82df3c89e974e6b23deecaaf7b6bf1fb6930713cbe6229ec3d8b26dd65115893a8 ghostscript-system-zlib.patch f874540fc53f85a3587253aaf8a29fc7792590938daf7f44e573cbbdac258b39db8baccce9569737c5c1a0a3816c6a8ff55b97f60dbefbba0c1729fd202d0ddd ghostscript-system-openjpeg2.patch 86f30dd61c4ee87e1cf72686da4ee6d0dd89100e122279c038dd7cb813a72b95d170ca2ae8cf6a10f2a01b18e49c704dc6aca5cbb5253886908332a90b7a7c2b ghostscript-wrf-snprintf.patch 300712709ec75f728c703f6a2a5abd992b7c2137df81cc1dd4f6e96c690077e0d5a4afd0e06ce55660061911ddfbf1e68d7020ec3e5f2124602133a10451ec42 fix-sprintf.patch -142772a600d69e48e2a58d84ebf08fb89a8794cfa0424b81f35b7bb99399a07ed2bbfb2a2e7c60663f3e8cfcc223c04c23433cb81a3ab5dbd59cd8252f930367 CVE-2015-3228.patch" +142772a600d69e48e2a58d84ebf08fb89a8794cfa0424b81f35b7bb99399a07ed2bbfb2a2e7c60663f3e8cfcc223c04c23433cb81a3ab5dbd59cd8252f930367 CVE-2015-3228.patch +7c6f40217dc687df27ee6d33351fba12a737c2ae06d1c35208dc943776d8efa66c3e882f0b1b9aec566fad69fd28ce360cc243f1c1aa20834467e769889194f2 fix-alignment.patch" diff --git a/main/ghostscript/fix-alignment.patch b/main/ghostscript/fix-alignment.patch new file mode 100644 index 0000000000..2608a0a083 --- /dev/null +++ b/main/ghostscript/fix-alignment.patch @@ -0,0 +1,11 @@ +--- ghostscript-9.21/base/gxht_thresh.c.orig 2017-04-13 13:39:39.850641972 +0300 ++++ ghostscript-9.21/base/gxht_thresh.c 2017-04-13 13:39:50.380785619 +0300 +@@ -38,7 +38,7 @@ + /* #define PACIFY_VALGRIND */ + + #ifndef __WIN32__ +-#define __align16 __attribute__((align(16))) ++#define __align16 __attribute__((aligned(16))) + #else + #define __align16 __declspec(align(16)) + #endif -- cgit v1.2.3