[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] freetype install problem
From: |
Werner LEMBERG |
Subject: |
Re: [Freetype] freetype install problem |
Date: |
Thu, 26 Jun 2003 10:41:07 +0200 (CEST) |
> I am trying to install freetype under SUSE. My installation path is
> /usr/lib/freetype-1.3.1. After 'make install' part I am getting the
> following error messages:
>
> ftdump.c:172:29:pasting "." and "glyph_object" does not give a valid
> processing token
Aah, new cruelties from the C preprocessor of recent gcc versions...
Please try the patch below and report whether it works.
Werner
======================================================================
--- ftdump.c.old Wed Nov 27 21:36:09 2002
+++ ftdump.c Thu Jun 26 10:37:20 2003
@@ -141,7 +141,13 @@
old_memory += *var;
}
-#define FOOTPRINT( field ) Save_Memory( &memory_footprint.field )
+#define FP_initial_overhead &memory_footprint.initial_overhead
+#define FP_face_object &memory_footprint.face_object
+#define FP_glyph_object &memory_footprint.glyph_object
+#define FP_first_instance &memory_footprint.first_instance
+#define FP_second_instance &memory_footprint.second_instance
+
+#define FOOTPRINT( field ) Save_Memory( FP_ ## field )
static void