On Fri, Apr 04, 2008 at 07:49:42PM +0300, Onat I. wrote:
> I noticed that ghostscript didn't work
> after the last update. Then I found out that
> some crucial files in the lib directory of
> ghostscript are removed from the PLIST, files
> like xlatmap, Fontmap etc. I extracted the
> source tarball and copied the files to their
> proper places and gs worked again. You can check
> the diff of PLIST to see which files are
> removed, and hopefully fix this issue for
> everybody else.
Oops! This patch should unbreak it:
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.54
diff -u -p -r1.54 Makefile
--- Makefile 1 Apr 2008 20:37:00 -0000 1.54
+++ Makefile 4 Apr 2008 18:38:21 -0000
@@ -4,6 +4,7 @@ COMMENT= GNU PostScript interpreter
VERSION= 8.62
DISTNAME= ghostscript-${VERSION}
+PKGNAME= ${DISTNAME}p0
CATEGORIES= print lang
SHARED_LIBS= gs 11.0
Index: patches/patch-src_unix-gcc_mak
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/patches/patch-src_unix-gcc_mak,v
retrieving revision 1.6
diff -u -p -r1.6 patch-src_unix-gcc_mak
--- patches/patch-src_unix-gcc_mak 1 Apr 2008 20:37:01 -0000 1.6
+++ patches/patch-src_unix-gcc_mak 4 Apr 2008 18:38:21 -0000
@@ -1,6 +1,6 @@
$OpenBSD: patch-src_unix-gcc_mak,v 1.6 2008/04/01 20:37:01 kili Exp $
--- src/unix-gcc.mak.orig Fri Feb 29 09:13:08 2008
-+++ src/unix-gcc.mak Sat Mar 22 22:28:54 2008
++++ src/unix-gcc.mak Fri Apr 4 19:44:50 2008
@@ -30,6 +30,7 @@ PSLIBDIR=./lib
PSRESDIR=./Resource
PSGENDIR=./obj
@@ -64,7 +64,7 @@ $OpenBSD: patch-src_unix-gcc_mak,v 1.6 2
#DEVICE_DEVS1=
#DEVICE_DEVS2=
#DEVICE_DEVS3=
-@@ -375,31 +382,8 @@ DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.
+@@ -375,33 +382,13 @@ DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.
#DEVICE_DEVS19=
#DEVICE_DEVS20=
@@ -96,8 +96,13 @@ $OpenBSD: patch-src_unix-gcc_mak,v 1.6 2
+#GS_SHARED_OBJS=$(GLOBJDIR)/X11.so $(GLOBJDIR)/lvga256.so
$(GLOBJDIR)/vgalib.so
#GS_SHARED_OBJS=$(GLOBJDIR)/X11.so
++# Copied from Makefile.in
++EXTRA_INIT_FILES= Fontmap cidfmap xlatmap FAPI FCOfontmap-PCLPS2 gs_cet.ps
++
# ---------------------------- End of options --------------------------- #
-@@ -440,6 +424,7 @@ include $(GLSRCDIR)/jpeg.mak
+
+ # Define the name of the partial makefile that specifies options --
+@@ -440,6 +427,7 @@ include $(GLSRCDIR)/jpeg.mak
include $(GLSRCDIR)/zlib.mak
include $(GLSRCDIR)/libpng.mak
include $(GLSRCDIR)/jbig2.mak
@@ -105,7 +110,7 @@ $OpenBSD: patch-src_unix-gcc_mak,v 1.6 2
include $(GLSRCDIR)/icclib.mak
include $(GLSRCDIR)/ijs.mak
include $(GLSRCDIR)/devs.mak
-@@ -449,6 +434,8 @@ include $(GLSRCDIR)/unixlink.mak
+@@ -449,6 +437,8 @@ include $(GLSRCDIR)/unixlink.mak
include $(GLSRCDIR)/unix-dll.mak
include $(GLSRCDIR)/unix-end.mak
include $(GLSRCDIR)/unixinst.mak
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/pkg/PLIST,v
retrieving revision 1.12
diff -u -p -r1.12 PLIST
--- pkg/PLIST 1 Apr 2008 20:37:01 -0000 1.12
+++ pkg/PLIST 4 Apr 2008 18:38:21 -0000
@@ -430,6 +430,8 @@ share/ghostscript/${VERSION}/examples/ti
share/ghostscript/${VERSION}/examples/vasarely.ps
share/ghostscript/${VERSION}/examples/waterfal.ps
share/ghostscript/${VERSION}/lib/
+share/ghostscript/${VERSION}/lib/FCOfontmap-PCLPS2
+share/ghostscript/${VERSION}/lib/Fontmap
share/ghostscript/${VERSION}/lib/Fontmap.GS
share/ghostscript/${VERSION}/lib/PDFA_def.ps
share/ghostscript/${VERSION}/lib/PDFX_def.ps
@@ -467,6 +469,7 @@ share/ghostscript/${VERSION}/lib/cdj550.
share/ghostscript/${VERSION}/lib/cdj690.upp
share/ghostscript/${VERSION}/lib/cdj690ec.upp
share/ghostscript/${VERSION}/lib/cid2code.ps
+share/ghostscript/${VERSION}/lib/cidfmap
share/ghostscript/${VERSION}/lib/decrypt.ps
share/ghostscript/${VERSION}/lib/dnj750c.upp
share/ghostscript/${VERSION}/lib/dnj750m.upp
@@ -654,6 +657,7 @@ share/ghostscript/${VERSION}/lib/viewps2
share/ghostscript/${VERSION}/lib/wftopfa.ps
share/ghostscript/${VERSION}/lib/winmaps.ps
share/ghostscript/${VERSION}/lib/wrfont.ps
+share/ghostscript/${VERSION}/lib/xlatmap
share/ghostscript/${VERSION}/lib/zeroline.ps
%%cups%%
%%gtk%%
--
Bad English is the international language ;)
-- Gerardo Santana Gómez Garrido in [EMAIL PROTECTED]