ports/107207: cups-pstoraster misses PostScript fonts

Frank Mayhar frank at exit.com
Tue Dec 26 21:10:16 UTC 2006


The following reply was made to PR ports/107207; it has been noted by GNATS.

From: Frank Mayhar <frank at exit.com>
To: bug-followup at FreeBSD.org, rea-fbsd at codelabs.ru
Cc:  
Subject: Re: ports/107207: cups-pstoraster misses PostScript fonts
Date: Tue, 26 Dec 2006 12:54:52 -0800

 Yep, it's a problem.  Sorry about that.
 
 Here's a patch that fixes this as well as removes an unneeded file:
 
 --- cups-pstoraster.diff begins here ---
 Index: cups-pstoraster/Makefile
 ===================================================================
 RCS file: /cvs/repos/ports/print/cups-pstoraster/Makefile,v
 retrieving revision 1.24
 diff -u -r1.24 Makefile
 --- cups-pstoraster/Makefile	6 Dec 2006 07:46:57 -0000	1.24
 +++ cups-pstoraster/Makefile	26 Dec 2006 20:50:53 -0000
 @@ -32,6 +32,7 @@
  
  USE_BZIP2=	yes
  USE_GMAKE=	yes
 +USE_GHOSTSCRIPT_RUN= yes
  GNU_CONFIGURE=	yes
  CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
  CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 @@ -44,10 +45,6 @@
  		libexec/cups/filter/pstopxl libexec/cups/filter/pstoraster \
  		share/cups/model/pxlcolor.ppd share/cups/model/pxlmono.ppd
  
 -.ifdef(WITH_GHOSTSCRIPT_AFPL)
 -IGNORE=		doesn't build with AFPL version of Ghostscript; please use gnu
 ghostscript instead
 -.endif
 -
  pre-configure:
  	${RM} -f ${WRKSRC}/ijs/config.guess ${WRKSRC}/ijs/missing
 ${WRKSRC}/ijs/config.sub ${WRKSRC}/ijs/install-sh
 ${WRKSRC}/ijs/ltmain.sh
  	${RM} -f ${WRKSRC}/trunk/ijs/config.guess ${WRKSRC}/trunk/ijs/missing
 ${WRKSRC}/trunk/ijs/config.sub ${WRKSRC}/trunk/ijs/install-sh
 ${WRKSRC}/trunk/ijs/ltmain.sh
 Index: cups-pstoraster/files/patch-src:gxobj.h
 ===================================================================
 RCS
 file: /cvs/repos/ports/print/cups-pstoraster/files/Attic/patch-src:gxobj.h,v
 retrieving revision 1.2
 diff -u -r1.2 patch-src:gxobj.h
 --- cups-pstoraster/files/patch-src:gxobj.h	26 Nov 2004 21:05:46 -0000
 1.2
 +++ cups-pstoraster/files/patch-src:gxobj.h	26 Dec 2006 20:48:15 -0000
 @@ -1,17 +0,0 @@
 ---- src/gxobj.h.orig	Fri Feb 22 19:45:59 2002
 -+++ src/gxobj.h	Thu Dec 19 00:16:57 2002
 -@@ -99,10 +99,14 @@
 -  * The final | is because back pointer values are divided by
 obj_back_scale,
 -  * so objects must be aligned at least 0 mod obj_back_scale.
 -  */
 -+#if !defined(__ia64__) && !defined(__amd64__)
 - #define obj_align_mod\
 -   (((arch_align_long_mod - 1) | (arch_align_ptr_mod - 1) |\
 -     (arch_align_double_mod - 1) | (align_bitmap_mod - 1) |\
 -     (obj_back_scale - 1)) + 1)
 -+#else
 -+#define obj_align_mod	16
 -+#endif
 - /* The only possible values for obj_align_mod are 4, 8, or 16.... */
 - #if obj_align_mod == 4
 - #  define log2_obj_align_mod 2
 --- cups-pstoraster.diff ends here ---
 



More information about the freebsd-ports-bugs mailing list