diff options
author | marcus <marcus@FreeBSD.org> | 2004-03-23 04:36:17 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-03-23 04:36:17 +0000 |
commit | 3c614bdaa28f778b0c8a706bbe5149c74dd5bdd5 (patch) | |
tree | ecd67fe240223adf62ce728ecc1b49d3552b2a21 /print/gnomeprint | |
parent | 56def019a3082885b05981ac18172a30257297d5 (diff) | |
download | FreeBSD-ports-3c614bdaa28f778b0c8a706bbe5149c74dd5bdd5.zip FreeBSD-ports-3c614bdaa28f778b0c8a706bbe5149c74dd5bdd5.tar.gz |
Fix build with freetype2-2.1.7.
Reported by: bento via kris
Diffstat (limited to 'print/gnomeprint')
6 files changed, 72 insertions, 0 deletions
diff --git a/print/gnomeprint/files/patch-installer_gf-pfb.c b/print/gnomeprint/files/patch-installer_gf-pfb.c new file mode 100644 index 0000000..6774d50 --- /dev/null +++ b/print/gnomeprint/files/patch-installer_gf-pfb.c @@ -0,0 +1,12 @@ +--- installer/gf-pfb.c.orig Mon Mar 22 23:33:20 2004 ++++ installer/gf-pfb.c Mon Mar 22 23:33:36 2004 +@@ -12,7 +12,8 @@ + #include <fcntl.h> + #include <string.h> + #include <ctype.h> +-#include <freetype/freetype.h> ++#include <ft2build.h> ++#include FT_FREETYPE_H + #include "gf-pfb.h" + + #define noVERBOSE diff --git a/print/gnomeprint/files/patch-installer_gf-ttf.c b/print/gnomeprint/files/patch-installer_gf-ttf.c new file mode 100644 index 0000000..ad7cf37 --- /dev/null +++ b/print/gnomeprint/files/patch-installer_gf-ttf.c @@ -0,0 +1,12 @@ +--- installer/gf-ttf.c.orig Mon Mar 22 23:34:10 2004 ++++ installer/gf-ttf.c Mon Mar 22 23:34:23 2004 +@@ -32,7 +32,8 @@ + #include <fcntl.h> + #include <string.h> + #include <ctype.h> +-#include <freetype/freetype.h> ++#include <ft2build.h> ++#include FT_FREETYPE_H + + #include "gf-ttf.h" + diff --git a/print/gnomeprint/files/patch-installer_gnome-font-install.c b/print/gnomeprint/files/patch-installer_gnome-font-install.c new file mode 100644 index 0000000..d1ee9d1 --- /dev/null +++ b/print/gnomeprint/files/patch-installer_gnome-font-install.c @@ -0,0 +1,12 @@ +--- installer/gnome-font-install.c.orig Mon Mar 22 23:32:31 2004 ++++ installer/gnome-font-install.c Mon Mar 22 23:32:44 2004 +@@ -26,7 +26,8 @@ + #include <parser.h> + #include <xmlmemory.h> + /* End of ugly thing */ +-#include <freetype/freetype.h> ++#include <ft2build.h> ++#include FT_FREETYPE_H + #include <libgnome/gnome-defs.h> + #include <libgnome/gnome-util.h> + #include <libgnome/gnome-i18n.h> diff --git a/print/gnomeprint/files/patch-libgnomeprint_gnome-font-private.h b/print/gnomeprint/files/patch-libgnomeprint_gnome-font-private.h new file mode 100644 index 0000000..f2a1a88 --- /dev/null +++ b/print/gnomeprint/files/patch-libgnomeprint_gnome-font-private.h @@ -0,0 +1,12 @@ +--- libgnomeprint/gnome-font-private.h.orig Mon Mar 22 23:31:37 2004 ++++ libgnomeprint/gnome-font-private.h Mon Mar 22 23:31:52 2004 +@@ -22,7 +22,8 @@ + + BEGIN_GNOME_DECLS + +-#include <freetype/freetype.h> ++#include <ft2build.h> ++#include FT_FREETYPE_H + #include <libgnomeprint/gp-character-block.h> + #include <libgnomeprint/gp-fontmap.h> + #include <libgnomeprint/gnome-font.h> diff --git a/print/gnomeprint/files/patch-libgnomeprint_parseTT.c b/print/gnomeprint/files/patch-libgnomeprint_parseTT.c new file mode 100644 index 0000000..218bdd1 --- /dev/null +++ b/print/gnomeprint/files/patch-libgnomeprint_parseTT.c @@ -0,0 +1,12 @@ +--- libgnomeprint/parseTT.c.orig Mon Mar 22 23:29:57 2004 ++++ libgnomeprint/parseTT.c Mon Mar 22 23:30:15 2004 +@@ -107,7 +107,8 @@ + #include <config.h> + + #include <parseTT.h> +-#include <freetype/freetype.h> ++#include <ft2build.h> ++#include FT_FREETYPE_H + #include <freetype/ftglyph.h> + #include <freetype/ftoutln.h> + #include <stdio.h> diff --git a/print/gnomeprint/files/patch-libgnomeprint_parseTT.h b/print/gnomeprint/files/patch-libgnomeprint_parseTT.h new file mode 100644 index 0000000..f938cc0 --- /dev/null +++ b/print/gnomeprint/files/patch-libgnomeprint_parseTT.h @@ -0,0 +1,12 @@ +--- libgnomeprint/parseTT.h.orig Mon Mar 22 23:30:50 2004 ++++ libgnomeprint/parseTT.h Mon Mar 22 23:31:05 2004 +@@ -22,7 +22,8 @@ + BEGIN_GNOME_DECLS + + #include <glib.h> +-#include <freetype/freetype.h> ++#include <ft2build.h> ++#include FT_FREETYPE_H + + /* + * Convert loaded Freetype TTF face to Type1 |