diff options
author | adam <adam@pkgsrc.org> | 2003-09-16 11:56:59 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2003-09-16 11:56:59 +0000 |
commit | 1e8ceb0abc6430020cb4027c91202b192e8c81af (patch) | |
tree | cbf4666cf8cd6e7b575bf886faac9c6575f3d4df /graphics | |
parent | 7dccb0ec6130ac0fe49229768d6f449a42b35fd4 (diff) | |
download | pkgsrc-1e8ceb0abc6430020cb4027c91202b192e8c81af.tar.gz |
Added a patch to make freetype-utils compile with gcc-3.x (PR#22444)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/freetype-lib/distinfo | 3 | ||||
-rw-r--r-- | graphics/freetype-lib/patches/patch-ad | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/graphics/freetype-lib/distinfo b/graphics/freetype-lib/distinfo index b15b88e221e..7e07d3febd0 100644 --- a/graphics/freetype-lib/distinfo +++ b/graphics/freetype-lib/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 09:54:11 wiz Exp $ +$NetBSD: distinfo,v 1.3 2003/09/16 11:56:59 adam Exp $ SHA1 (freetype-1.3.1.tar.gz) = a398fb4d6dd756826e459058d8075759086f8ca4 Size (freetype-1.3.1.tar.gz) = 1427072 bytes SHA1 (patch-aa) = b75fc2d414c2bab0c4abf2bc84c370c9298c1664 SHA1 (patch-ab) = 8bea35dceffa399cf0f17065e2d1f9aafabf56e3 SHA1 (patch-ac) = b27f18b5f84c4d1451376295cf3b7caf08d2d56f +SHA1 (patch-ad) = 136577ca779ddb205440bec01f2b6a4ee61932f8 diff --git a/graphics/freetype-lib/patches/patch-ad b/graphics/freetype-lib/patches/patch-ad new file mode 100644 index 00000000000..b71ea63bf66 --- /dev/null +++ b/graphics/freetype-lib/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1 2003/09/16 11:56:59 adam Exp $ + +--- test/ftdump.c.orig 2003-09-16 13:35:23.000000000 +0200 ++++ 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 */ |