Browse Source

Benjamin Schieder:


			
			
				rocklinux
			
			
		
Benjamin Schieder 18 years ago
parent
commit
ae81456f3b
2 changed files with 15 additions and 0 deletions
  1. +3
    -0
      package/praenti/cups/cups.conf
  2. +12
    -0
      package/praenti/cups/hotfix.diff_x86_64

+ 3
- 0
package/praenti/cups/cups.conf

@ -29,6 +29,9 @@ cups_pm(){
chown daemon:daemon $root/var/spool/cups/tmp
}
if [ "${ROCKCFG_X86_BITS}" = "64" ] ; then
var_append patchfiles ' ' "$base/package/praenti/cups/hotfix.diff_x86_64"
fi
var_append copfopt "--with-logdir=/var/cups/log
--with-cups-user=daemon --with-cups-group=daemon"

+ 12
- 0
package/praenti/cups/hotfix.diff_x86_64

@ -0,0 +1,12 @@
diff -pruN -x CVS cups-1.1.23/pdftops/GfxFont.cxx build/64-TRUNK-x86-crystal/ROCK/src.cups.1152101103.27092.2813494945/cups-1.1.23/pdftops/GfxFont.cxx
--- cups-1.1.23/pdftops/GfxFont.cxx 2004-02-02 22:41:09.000000000 +0000
+++ build/64-TRUNK-x86-crystal/ROCK/src.cups.1152101103.27092.2813494945/cups-1.1.23/pdftops/GfxFont.cxx 2006-07-05 12:26:58.000000000 +0000
@@ -969,7 +969,7 @@ Gushort *Gfx8BitFont::getCodeToGIDMap(Tr
if ((nameToGID = ff->getNameToGID())) {
for (i = 0; i < 256; ++i) {
if (!map[i] && (charName = enc[i])) {
- map[i] = (Gushort)(int)nameToGID->lookup(charName);
+ map[i] = (Gushort)(long)nameToGID->lookup(charName);
}
}
delete nameToGID;

Loading…
Cancel
Save