summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/libgtop2/Makefile1
-rw-r--r--devel/libgtop2/files/patch-sysdeps_freebsd_netlist.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile
index 095abc1ee..de8824582 100644
--- a/devel/libgtop2/Makefile
+++ b/devel/libgtop2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libgtop2
PORTVERSION= 2.9.91
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.9
diff --git a/devel/libgtop2/files/patch-sysdeps_freebsd_netlist.c b/devel/libgtop2/files/patch-sysdeps_freebsd_netlist.c
new file mode 100644
index 000000000..aca828d4d
--- /dev/null
+++ b/devel/libgtop2/files/patch-sysdeps_freebsd_netlist.c
@@ -0,0 +1,10 @@
+--- sysdeps/freebsd/netlist.c.orig Wed Feb 23 01:20:33 2005
++++ sysdeps/freebsd/netlist.c Wed Feb 23 01:20:44 2005
+@@ -50,6 +50,7 @@
+ while(ifs && ifs->if_name) {
+ g_ptr_array_add(devices, g_strdup(ifs->if_name));
+ buf->number++;
++ ifs++;
+ }
+
+ if_freenameindex(ifstart);