ghostscript: update to 8.71

This commit is contained in:
Juergen Daubert 2010-02-14 11:38:21 +01:00
parent 2800098f18
commit 8a029f9ede
4 changed files with 615 additions and 558 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,3 @@
fec96a1fb44b73a01ba1adda55744784 ghostscript-8.70.tar.xz
ca29dfd08fc18e15f5922367b3cbca70 ghostscript-8.71.patch
5005d68f7395c2bfc4b05c1a60d9b6ba ghostscript-8.71.tar.xz
6865682b095f8c4500c54b285ff05ef6 ghostscript-fonts-std-8.11.tar.gz

View File

@ -1,24 +1,27 @@
# Description: Postscript interpreter
# URL: http://www.ghostscript.com/awki
# URL: http://www.ghostscript.com
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: cups, fontconfig, xorg-libxt, xorg-libxext
name=ghostscript
version=8.70
version=8.71
release=1
source=(http://ghostscript.com/releases/$name-$version.tar.xz \
http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
source=(http://ghostscript.com/releases/$name-$version.tar.xz
http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz
$name-$version.patch)
build () {
cd $name-$version
patch -p1 -i $SRC/$name-$version.patch
./configure --prefix=/usr \
--mandir=/usr/man \
--enable-cups \
--disable-gtk \
--with-drivers=ALL
make so
make -j1 so
make DESTDIR=$PKG install soinstall
cp -r $SRC/fonts $PKG/usr/share/ghostscript

View File

@ -0,0 +1,50 @@
# http://bugs.ghostscript.com/show_bug.cgi?id=690695
From 2bcf9eb7d8a3ffb133bf815ae275cf1befd00292 Mon Sep 17 00:00:00 2001
From: Hib Eris <hib@hiberis.nl>
Date: Mon, 11 Jan 2010 11:37:15 +0100
Subject: [PATCH] Fix unix so build regression.
The fix for #690695 in r9948 caused a regression in building
dynamically linked gsc/gsx with 'make so'.
Passing LDFLAGS_SO to the compiler when linking gsc/gsx causes the
gsc/gsx program to segfault at run time. The LDFLAGS_SO should only
be passed to the linker of the shared object (GS_SO, build by
redefining GS_XE).
---
base/unix-dll.mak | 3 ++-
base/unixlink.mak | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/base/unix-dll.mak b/base/unix-dll.mak
index 2b08b11..68c673d 100644
--- a/base/unix-dll.mak
+++ b/base/unix-dll.mak
@@ -88,8 +88,9 @@ $(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
# ------------------------- Recursive make targets ------------------------- #
-SODEFS=LDFLAGS='$(LDFLAGS) $(LDFLAGS_SO)'\
+SODEFS=\
GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\
+ GS_XE_LDFLAGS=$(LDFLAGS_SO)\
STDIO_IMPLEMENTATION=c\
DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\
BINDIR=$(BINDIR)/$(SOBINRELDIR)\
diff --git a/base/unixlink.mak b/base/unixlink.mak
index e268c7d..176183b 100644
--- a/base/unixlink.mak
+++ b/base/unixlink.mak
@@ -50,7 +50,7 @@ $(GS_A): $(obj_tr) $(ECHOGS_XE) $(INT_ARCHIVE_ALL) $(INT_ALL) $(DEVS_ALL)
# which has limited environment space.
ldt_tr=$(PSOBJ)ldt.tr
$(GS_XE): $(ld_tr) $(ECHOGS_XE) $(XE_ALL) $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ)
- $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(LDFLAGS) -o $(GS_XE)
+ $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(GS_XE_LDFLAGS) $(LDFLAGS) -o $(GS_XE)
$(ECHOGS_XE) -a $(ldt_tr) -n -s $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ) $(PSOBJ)gs.$(OBJ) -s
cat $(ld_tr) >>$(ldt_tr)
$(ECHOGS_XE) -a $(ldt_tr) -s - $(EXTRALIBS) $(STDLIBS)
--
1.6.0.4