diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/yelp/Makefile | 1 | ||||
-rw-r--r-- | x11/yelp/files/patch-src_yelp-db-pager.c | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile index ac7dc93c5..d725a7c60 100644 --- a/x11/yelp/Makefile +++ b/x11/yelp/Makefile @@ -7,6 +7,7 @@ PORTNAME= yelp PORTVERSION= 2.5.0 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.5 diff --git a/x11/yelp/files/patch-src_yelp-db-pager.c b/x11/yelp/files/patch-src_yelp-db-pager.c new file mode 100644 index 000000000..9d872261e --- /dev/null +++ b/x11/yelp/files/patch-src_yelp-db-pager.c @@ -0,0 +1,23 @@ +--- src/yelp-db-pager.c.orig Wed Dec 3 12:37:53 2003 ++++ src/yelp-db-pager.c Wed Dec 3 12:42:28 2003 +@@ -544,9 +544,9 @@ + xmlNodePtr cur; + + if (xml_is_info (node)) +- title = _("Titlepage"); ++ title = g_strdup (_("Titlepage")); + else if (node->parent->type == XML_DOCUMENT_NODE) +- title = _("Contents"); ++ title = g_strdup (_("Contents")); + else { + for (cur = node->children; cur; cur = cur->next) { + if (!xmlStrcmp (cur->name, (xmlChar *) "title")) { +@@ -564,7 +564,7 @@ + } + + if (!title) +- title = _("Unknown"); ++ title = g_strdup (_("Unknown")); + + return title; + } |