summarylogtreecommitdiffstats
path: root/freetype-1.3.1-gcc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'freetype-1.3.1-gcc.patch')
-rw-r--r--freetype-1.3.1-gcc.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/freetype-1.3.1-gcc.patch b/freetype-1.3.1-gcc.patch
new file mode 100644
index 000000000000..c0b1d0cf619b
--- /dev/null
+++ b/freetype-1.3.1-gcc.patch
@@ -0,0 +1,20 @@
+--- test/ftdump.c
++++ test/ftdump.c
+@@ -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 */