summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
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);