summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/yelp/Makefile1
-rw-r--r--x11/yelp/files/patch-src_info2html_main.c25
2 files changed, 26 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
index 650b22d..fd1009e 100644
--- a/x11/yelp/Makefile
+++ b/x11/yelp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= yelp
PORTVERSION= 2.4.0
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.4
diff --git a/x11/yelp/files/patch-src_info2html_main.c b/x11/yelp/files/patch-src_info2html_main.c
new file mode 100644
index 0000000..bc6d3df
--- /dev/null
+++ b/x11/yelp/files/patch-src_info2html_main.c
@@ -0,0 +1,25 @@
+--- src/info2html/main.c.orig Fri Oct 10 02:53:54 2003
++++ src/info2html/main.c Fri Oct 10 02:54:23 2003
+@@ -125,11 +125,11 @@
+
+ for(i = 0; i < ndirs; i++) {
+ ext = "";
+- buf = g_strdup_printf (buf, "%s/%s.info", dirs[i], args[0]);
++ buf = g_strdup_printf ("%s/%s.info", dirs[i], args[0]);
+ if(file_exists(buf))
+ break;
+ g_free (buf);
+- buf = g_strdup_printf (buf, "%s/%s", dirs[i], args[0]);
++ buf = g_strdup_printf ("%s/%s", dirs[i], args[0]);
+ if(file_exists(buf)) {
+ no_info = TRUE;
+ break;
+@@ -141,7 +141,7 @@
+ if(file_exists(buf))
+ break;
+ g_free (buf);
+- buf = g_strdup_printf (buf, "%s/%s.gz", dirs[i], args[0]);
++ buf = g_strdup_printf ("%s/%s.gz", dirs[i], args[0]);
+ if(file_exists(buf)) {
+ no_info = TRUE;
+ break;
OpenPOWER on IntegriCloud