Author: ken
Date: 2006-03-04 07:37:40 -0700 (Sat, 04 Mar 2006)
New Revision: 1427
Added:
trunk/cups/cups-1.1.23-x86_64-1.patch
Log:
Add cups patch needed for amd64.
Added: trunk/cups/cups-1.1.23-x86_64-1.patch
===================================================================
--- trunk/cups/cups-1.1.23-x86_64-1.patch (rev 0)
+++ trunk/cups/cups-1.1.23-x86_64-1.patch 2006-03-04 14:37:40 UTC (rev
1427)
@@ -0,0 +1,20 @@
+Submitted By: Ken Moffat <ken_at_linuxfromscratch_dot_org>
+Date: 2006-03-04
+Initial Package Version: 1.1.23
+Upstream Status: Unknown
+Origin: Gentoo
+Description: Fixes compilation on x86_64 with gcc4
+
+
+diff -Npaur cups-1.1.23/pdftops/GfxFont.cxx
cups-1.1.23-patched/pdftops/GfxFont.cxx
+--- cups-1.1.23/pdftops/GfxFont.cxx 2004-02-02 23:41:09.000000000 +0100
++++ cups-1.1.23-patched/pdftops/GfxFont.cxx 2005-01-28 02:04:15.613249488
+0100
+@@ -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;
--
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page