From fe095c09079603c2d8d89c2ea0b52d2887041208 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 5 Feb 2004 21:40:57 +0000 Subject: Fix build with new libgnomeprint. Reported by: adamw Obtained from: GNOME CVS git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1782 df743ca5-7f9a-e211-a948-0013205c9059 --- graphics/gpdf/Makefile | 2 +- graphics/gpdf/files/patch-xpdf_gpdf-font-face.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 graphics/gpdf/files/patch-xpdf_gpdf-font-face.c (limited to 'graphics/gpdf') diff --git a/graphics/gpdf/Makefile b/graphics/gpdf/Makefile index 49b0decbe..1a559fca4 100644 --- a/graphics/gpdf/Makefile +++ b/graphics/gpdf/Makefile @@ -7,7 +7,7 @@ PORTNAME= gpdf PORTVERSION= 0.122 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics print gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION} diff --git a/graphics/gpdf/files/patch-xpdf_gpdf-font-face.c b/graphics/gpdf/files/patch-xpdf_gpdf-font-face.c new file mode 100644 index 000000000..8361b2b67 --- /dev/null +++ b/graphics/gpdf/files/patch-xpdf_gpdf-font-face.c @@ -0,0 +1,10 @@ +--- xpdf/gpdf-font-face.c.orig Thu Feb 5 16:36:51 2004 ++++ xpdf/gpdf-font-face.c Thu Feb 5 16:43:38 2004 +@@ -151,7 +151,6 @@ + entry->speciesname = g_strdup (species + ? species + : (const guchar*) "Regular"); +- entry->weight = entry->speciesname; /* FIXME here and in fcpattern_to_gp_font_entry */ + entry->Weight = weight; + entry->familyname = g_strdup (family); + entry->name = g_strconcat (family, " ", entry->speciesname, NULL); -- cgit v1.2.3