cvs commit: patches/freetype freetype-1.3.1-gcc33-1.patch

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Mon Sep 1 23:33:53 PDT 2003


tushar      03/09/02 00:33:53

  Added:       freetype freetype-1.3.1-gcc33-1.patch
  Log:
  add freetype-1.3.1-gcc33-1.patch
  
  Revision  Changes    Path
  1.1                  patches/freetype/freetype-1.3.1-gcc33-1.patch
  
  Index: freetype-1.3.1-gcc33-1.patch
  ===================================================================
  Submitted By: Jim Gifford (patches at jg555 dot com)
  Date: 2003-08-16
  Initial Package Version: 1.3.1
  Origin: Jim Gifford
  Description: Fixes GCC 3.3 Compile Errors
  
  diff -Naur freetype-1.3.1.orig/test/ftdump.c freetype-1.3.1/test/ftdump.c
  --- freetype-1.3.1.orig/test/ftdump.c	1999-09-04 07:11:29.000000000 +0000
  +++ freetype-1.3.1/test/ftdump.c	2003-08-16 21:10:27.000000000 +0000
  @@ -140,7 +140,7 @@
       old_memory += *var;
     }
   
  -#define FOOTPRINT( field )  Save_Memory( &memory_footprint.##field )
  +#define FOOTPRINT( field )  Save_Memory( &memory_footprint.field )
   
   
     static void
  @@ -153,7 +153,7 @@
     }
   
   #define PRINT_MEM( field, string ) \
  -          Print_Mem( memory_footprint.##field, string )
  +          Print_Mem( memory_footprint.field, string )
   
   
     /* Print the memory footprint */
  
  
  



More information about the patches mailing list