summaryrefslogtreecommitdiffstats
path: root/net/gnome-nettool/files/patch-src_netstat.c
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
commit752a66b40a757b50196fb97fda1143a42e96c295 (patch)
tree49bd85e2fc333a96c40e09b46a8027f64b1a470f /net/gnome-nettool/files/patch-src_netstat.c
parent2d81cfc3ccdf086d3ac5c107818ffe2f73f04d9a (diff)
downloadmarcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.gz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.bz2
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.lz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.xz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.zst
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.zip
Move gnome3 ports into the place of the gnome2 locations.
Update to new port rules, remove conflicts, latest_link, enable stage support. gnome-games was skipped because I got a update for that. gnome-keyring 2 vs 3, needs to be looked at. zenity 2 vs 3, and libgnomekbd 2 vs 3 Use new lib_depend syntax in bsd.gnome.mk. Possible lots of broken links. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18813 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gnome-nettool/files/patch-src_netstat.c')
-rw-r--r--net/gnome-nettool/files/patch-src_netstat.c21
1 files changed, 6 insertions, 15 deletions
diff --git a/net/gnome-nettool/files/patch-src_netstat.c b/net/gnome-nettool/files/patch-src_netstat.c
index 1eec84927..ebcb39bc7 100644
--- a/net/gnome-nettool/files/patch-src_netstat.c
+++ b/net/gnome-nettool/files/patch-src_netstat.c
@@ -1,20 +1,11 @@
---- src/netstat.c.orig Tue Jul 6 13:55:25 2004
-+++ src/netstat.c Fri Aug 20 15:55:40 2004
-@@ -108,12 +108,17 @@
+--- src/netstat.c.orig 2012-04-13 06:33:27.000000000 -0500
++++ src/netstat.c 2012-04-13 06:34:30.000000000 -0500
+@@ -114,7 +114,7 @@
g_return_val_if_fail (netinfo != NULL, NULL);
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (netinfo->routing))) {
-+#ifdef __FreeBSD__
-+ /* XXX We only support ipv4 now */
-+ option = g_strdup ("-rn -f inet");
-+#else
- /* Works for Solaris and Linux */
+-#if defined (__OpenBSD__)
++#if defined (__OpenBSD__) || defined(__FreeBSD__)
if (netinfo_is_ipv6_enable ()) {
- option = g_strdup ("-rn -A inet -A inet6");
+ option = g_strdup ("-rn");
} else {
- option = g_strdup ("-rn -A inet");
- }
-+#endif
-
- if (netinfo->stbar_text)
- g_free (netinfo->stbar_text);