summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-06 05:40:57 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-06 05:40:57 +0800
commitfe095c09079603c2d8d89c2ea0b52d2887041208 (patch)
tree7c454e547ec0146e7aa5569a177b0fd507e2ba50 /graphics
parent6c864463f3a2af4ffa7606b9eeb6de424e4537ae (diff)
downloadmarcuscom-ports-fe095c09079603c2d8d89c2ea0b52d2887041208.tar
marcuscom-ports-fe095c09079603c2d8d89c2ea0b52d2887041208.tar.gz
marcuscom-ports-fe095c09079603c2d8d89c2ea0b52d2887041208.tar.bz2
marcuscom-ports-fe095c09079603c2d8d89c2ea0b52d2887041208.tar.lz
marcuscom-ports-fe095c09079603c2d8d89c2ea0b52d2887041208.tar.xz
marcuscom-ports-fe095c09079603c2d8d89c2ea0b52d2887041208.tar.zst
marcuscom-ports-fe095c09079603c2d8d89c2ea0b52d2887041208.zip
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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gpdf/Makefile2
-rw-r--r--graphics/gpdf/files/patch-xpdf_gpdf-font-face.c10
2 files changed, 11 insertions, 1 deletions
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);