summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Azzali <mattepiu@gentoo.org>2007-03-29 06:31:05 +0000
committerMatteo Azzali <mattepiu@gentoo.org>2007-03-29 06:31:05 +0000
commit1ce1a4db0749381a2bda174dca4a402e873752d0 (patch)
tree51bccef12d7b53f4d2341ab7c9cf81d7fb87fe43 /net-misc/knemo
parentstable x86, bug 172537 (diff)
downloadgentoo-2-1ce1a4db0749381a2bda174dca4a402e873752d0.tar.gz
gentoo-2-1ce1a4db0749381a2bda174dca4a402e873752d0.tar.bz2
gentoo-2-1ce1a4db0749381a2bda174dca4a402e873752d0.zip
Fixed sysbackend patch.
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-misc/knemo')
-rw-r--r--net-misc/knemo/ChangeLog6
-rw-r--r--net-misc/knemo/files/knemo-0.4.6-sysbackend.patch14
2 files changed, 16 insertions, 4 deletions
diff --git a/net-misc/knemo/ChangeLog b/net-misc/knemo/ChangeLog
index e3b6f73fb4fb..a7546404865c 100644
--- a/net-misc/knemo/ChangeLog
+++ b/net-misc/knemo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/knemo
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/knemo/ChangeLog,v 1.29 2007/03/28 14:23:49 mattepiu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knemo/ChangeLog,v 1.30 2007/03/29 06:31:05 mattepiu Exp $
+
+ 29 Mar 2007; Matteo Azzali <mattepiu@gentoo.org>
+ files/knemo-0.4.6-sysbackend.patch:
+ fixed sysbackend patch.
*knemo-0.4.6-r1 (28 Mar 2007)
diff --git a/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch b/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch
index 11b8f053a7d6..69392c85e568 100644
--- a/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch
+++ b/net-misc/knemo/files/knemo-0.4.6-sysbackend.patch
@@ -1,10 +1,18 @@
--- src/knemod/backends/sysbackend.cpp.orig 2006-10-24 22:40:51.000000000 +0200
+++ src/knemod/backends/sysbackend.cpp 2007-03-28 16:09:27.000000000 +0200
-@@ -289,6 +289,7 @@
+@@ -262,6 +262,7 @@
+ in.s_addr = regExp.cap( 1 ).toULong( &ok, 16 );
+ data.defaultGateway = inet_ntoa( in );
+ }
++ routeFile.close();
+ }
+
+ // use ioctls for the rest
+@@ -289,6 +290,7 @@
{
data.subnetMask = inet_ntoa(((struct sockaddr_in*)&ifr.ifr_netmask)->sin_addr);
}
-+ close(fd);
++ close( fd );
}
}
-
+