aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-05-21 05:52:57 +0800
committermarcus <marcus@FreeBSD.org>2002-05-21 05:52:57 +0800
commit049ce28e62b5d19763a13dbea0f2cabe0c85938c (patch)
tree10e442abae7e4ee09796faf546e6a7ee7d6d20a9 /x11
parent32c1911b0a979a128881b24fc782f2a97454a2c5 (diff)
downloadfreebsd-ports-gnome-049ce28e62b5d19763a13dbea0f2cabe0c85938c.tar.gz
freebsd-ports-gnome-049ce28e62b5d19763a13dbea0f2cabe0c85938c.tar.zst
freebsd-ports-gnome-049ce28e62b5d19763a13dbea0f2cabe0c85938c.zip
Fix a segmentation fault trying to build a list of info files.
Diffstat (limited to 'x11')
-rw-r--r--x11/yelp/Makefile1
-rw-r--r--x11/yelp/files/patch-src_yelp-info.c19
2 files changed, 20 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
index 84e0e07e744d..112d0139068b 100644
--- a/x11/yelp/Makefile
+++ b/x11/yelp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= yelp
PORTVERSION= 0.7
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-beta5
diff --git a/x11/yelp/files/patch-src_yelp-info.c b/x11/yelp/files/patch-src_yelp-info.c
new file mode 100644
index 000000000000..6013c2faf2af
--- /dev/null
+++ b/x11/yelp/files/patch-src_yelp-info.c
@@ -0,0 +1,19 @@
+--- src/yelp-info.c.orig Mon May 20 17:53:50 2002
++++ src/yelp-info.c Mon May 20 17:54:27 2002
+@@ -105,7 +105,6 @@
+ struct stat stat_dir2;
+ GSList *info_list = NULL;
+ GSList *node;
+- YelpSection *section;
+ gchar **infopathes;
+ gchar *infopath;
+ gint i;
+@@ -141,7 +140,7 @@
+
+ for (node = info_list; node; node = node->next) {
+ g_node_append_data (root, node->data);
+- *index = g_list_prepend (*index, section);
++ *index = g_list_prepend (*index, node->data);
+ }
+
+ g_slist_free (info_list);