diff options
author | lofi <lofi@FreeBSD.org> | 2006-04-01 04:24:49 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2006-04-01 04:24:49 +0800 |
commit | 328e0ef0fd56aee44acb188a342bafb2f9dc6b38 (patch) | |
tree | b96747fca91898b447a430c84e778486928499e5 /net/kdenetwork3 | |
parent | 24ffec4c7c2fb54eed3248dc2c97b85a82514282 (diff) | |
download | freebsd-ports-gnome-328e0ef0fd56aee44acb188a342bafb2f9dc6b38.tar.gz freebsd-ports-gnome-328e0ef0fd56aee44acb188a342bafb2f9dc6b38.tar.zst freebsd-ports-gnome-328e0ef0fd56aee44acb188a342bafb2f9dc6b38.zip |
Prevent kopete's connection status plugin to cause connection flip-flopping
on IPv6-enabled machines.
Reminded by: lioux
Diffstat (limited to 'net/kdenetwork3')
-rw-r--r-- | net/kdenetwork3/Makefile | 1 | ||||
-rw-r--r-- | net/kdenetwork3/files/patch-kopete_plugins_connectionstatus-connectionstatus.cpp | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net/kdenetwork3/Makefile b/net/kdenetwork3/Makefile index 1ef09fed07a1..ba391a21412c 100644 --- a/net/kdenetwork3/Makefile +++ b/net/kdenetwork3/Makefile @@ -8,6 +8,7 @@ PORTNAME= kdenetwork PORTVERSION= ${KDE_VERSION} +PORTREVISION= 1 CATEGORIES?= net kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src diff --git a/net/kdenetwork3/files/patch-kopete_plugins_connectionstatus-connectionstatus.cpp b/net/kdenetwork3/files/patch-kopete_plugins_connectionstatus-connectionstatus.cpp new file mode 100644 index 000000000000..42f34cb3d5be --- /dev/null +++ b/net/kdenetwork3/files/patch-kopete_plugins_connectionstatus-connectionstatus.cpp @@ -0,0 +1,11 @@ +--- kopete/plugins/connectionstatus/connectionstatusplugin.cpp.orig Fri Mar 31 22:12:59 2006 ++++ kopete/plugins/connectionstatus/connectionstatusplugin.cpp Fri Mar 31 22:14:53 2006 +@@ -65,7 +65,7 @@ + // netstat -rn in slotProcessStdout() to see if it mentions the + // default gateway. If so, we're connected, if not, we're offline + m_process = new KProcess; +- *m_process << "netstat" << "-r"; ++ *m_process << "netstat" << "-rfinet"; + + connect( m_process, SIGNAL( receivedStdout( KProcess *, char *, int ) ), this, SLOT( slotProcessStdout( KProcess *, char *, int ) ) ); + connect( m_process, SIGNAL( processExited( KProcess * ) ), this, SLOT( slotProcessExited( KProcess * ) ) ); |