summaryrefslogtreecommitdiff
path: root/ghostscript
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2015-11-09 23:03:17 +1100
committerDanny Rawlins <monster.romster@gmail.com>2015-11-09 23:03:17 +1100
commita9ecb923e22039a3f4d35ba21d1f43085cf83cd5 (patch)
treee875a82cd647e8a4d6efa2a33a4d85ddcf1a0742 /ghostscript
parentfe7bbcd1b64fda32902f88a3b653782ddb15f2e0 (diff)
downloadopt-a9ecb923e22039a3f4d35ba21d1f43085cf83cd5.tar.gz
opt-a9ecb923e22039a3f4d35ba21d1f43085cf83cd5.tar.xz
ghostscript add header gserrors.h for gimp
Diffstat (limited to 'ghostscript')
-rw-r--r--ghostscript/.footprint1
-rw-r--r--ghostscript/.md5sum1
-rw-r--r--ghostscript/Pkgfile8
-rw-r--r--ghostscript/ghostscript-gpl-9.18-gserrors.h-backport.patch43
4 files changed, 51 insertions, 2 deletions
diff --git a/ghostscript/.footprint b/ghostscript/.footprint
index d3906cf91..b68184f4f 100644
--- a/ghostscript/.footprint
+++ b/ghostscript/.footprint
@@ -34,6 +34,7 @@ drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/ghostscript/
-rw-r--r-- root/root usr/include/ghostscript/gdevdsp.h
+-rw-r--r-- root/root usr/include/ghostscript/gserrors.h
-rw-r--r-- root/root usr/include/ghostscript/iapi.h
-rw-r--r-- root/root usr/include/ghostscript/ierrors.h
drwxr-xr-x root/root usr/include/ijs/
diff --git a/ghostscript/.md5sum b/ghostscript/.md5sum
index 4f9951916..ce96d5450 100644
--- a/ghostscript/.md5sum
+++ b/ghostscript/.md5sum
@@ -1,2 +1,3 @@
aa125af368d89b3dbd15fc379f13375f ghostscript-9.18.tar.bz2
6865682b095f8c4500c54b285ff05ef6 ghostscript-fonts-std-8.11.tar.gz
+22357972c680f6556b8038ed751ba94e ghostscript-gpl-9.18-gserrors.h-backport.patch
diff --git a/ghostscript/Pkgfile b/ghostscript/Pkgfile
index b4536f8b7..b2e49c523 100644
--- a/ghostscript/Pkgfile
+++ b/ghostscript/Pkgfile
@@ -5,13 +5,17 @@
name=ghostscript
version=9.18
-release=1
+release=2
source=(http://downloads.ghostscript.com/public/$name-$version.tar.bz2
- http://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
+ http://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz
+ ghostscript-gpl-9.18-gserrors.h-backport.patch)
build () {
cd $name-$version
+ # required for gimp
+ patch -p1 -i $SRC/ghostscript-gpl-9.18-gserrors.h-backport.patch
+
./configure --prefix=/usr \
--mandir=/usr/man \
--enable-cups \
diff --git a/ghostscript/ghostscript-gpl-9.18-gserrors.h-backport.patch b/ghostscript/ghostscript-gpl-9.18-gserrors.h-backport.patch
new file mode 100644
index 000000000..c34e48662
--- /dev/null
+++ b/ghostscript/ghostscript-gpl-9.18-gserrors.h-backport.patch
@@ -0,0 +1,43 @@
+From feafe5e540a0545ec5d28f3f66bb542056bba495 Mon Sep 17 00:00:00 2001
+From: Chris Liddell <chris.liddell@artifex.com>
+Date: Fri, 23 Oct 2015 10:16:11 +0100
+Subject: [PATCH] Bug 696301: add gserrors.h to the installed files
+
+for the so-install target.
+
+Also remove a spurious (copy'n'paste error) comment.
+
+No cluster differences
+---
+ base/gserrors.h | 2 +-
+ base/unix-dll.mak | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/base/gserrors.h b/base/gserrors.h
+index 5f18081..cdebb38 100644
+--- a/base/gserrors.h
++++ b/base/gserrors.h
+@@ -25,7 +25,7 @@
+ /* We don't use a typedef internally to avoid a lot of casting. */
+
+ enum gs_error_type {
+- gs_error_ok = 0, /* unknown error */
++ gs_error_ok = 0,
+ gs_error_unknownerror = -1, /* unknown error */
+ gs_error_dictfull = -2,
+ gs_error_dictstackoverflow = -3,
+diff --git a/base/unix-dll.mak b/base/unix-dll.mak
+index 7b67aa1..73b4fa9 100644
+--- a/base/unix-dll.mak
++++ b/base/unix-dll.mak
+@@ -186,6 +186,7 @@ install-so-subtarget: so-subtarget
+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
+ $(INSTALL_DATA) $(PSSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h
+ $(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)ierrors.h
++ $(INSTALL_DATA) $(GLSRC)gserrors.h $(DESTDIR)$(gsincludedir)gserrors.h
+ $(INSTALL_DATA) $(DEVSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h
+
+ soinstall:
+--
+2.5.1
+

Generated by cgit