Dash:
[t2-trunk.git] / package / x11 / freetype1 / hotfix-gcc33support.patch
blobf6fb59d1c53f65bd0a0f4187a566faeb08c1b267
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../freetype1/gcc33-support.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
18 diff -urN -x '*~' freetype-1.3.1/test/ftdump.c freetype-1.3.1-gcc-3.3.1/test/ftdump.c
19 --- freetype-1.3.1/test/ftdump.c 1999-09-04 09:11:29.000000000 +0200
20 +++ freetype-1.3.1-gcc-3.3.1/test/ftdump.c 2003-08-14 05:13:41.000000000 +0200
21 @@ -140,7 +140,7 @@
22 old_memory += *var;
25 -#define FOOTPRINT( field ) Save_Memory( &memory_footprint.##field )
26 +#define FOOTPRINT( field ) Save_Memory( &memory_footprint.field )
29 static void
30 @@ -153,7 +153,7 @@
33 #define PRINT_MEM( field, string ) \
34 - Print_Mem( memory_footprint.##field, string )
35 + Print_Mem( memory_footprint.field, string )
38 /* Print the memory footprint */