Commit b0050a9b authored by Natanael Copa's avatar Natanael Copa

testing/iscs-scst-grsec: build fix for 2.6.35 kernel

parent 002aa4f7
--- ./kernel/conn.c.orig
+++ ./kernel/conn.c
@@ -86,7 +86,7 @@
switch (sk->sk_family) {
case AF_INET:
snprintf(buf, sizeof(buf),
- "%u.%u.%u.%u", NIPQUAD(inet_sk(sk)->daddr));
+ "%u.%u.%u.%u", NIPQUAD(inet_sk(sk)->inet_daddr));
break;
case AF_INET6:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
......@@ -26,6 +26,7 @@ makedepends="linux-${_flavor}-dev=${_kernelver} scst-grsec-dev"
subpackages=
source="http://downloads.sourceforge.net/scst/$_realname-$_realver.tar.gz
config.c.patch
2.6.35.patch
"
_ksrc=/usr/src/linux-headers-${_abi_release}
......@@ -57,4 +58,5 @@ package() {
}
md5sums="56109c01e3d4421a36d6f47efa1fb0d5 iscsi-scst-1.0.1.1.tar.gz
48e21e3466fd819418f29e3b2487f052 config.c.patch"
48e21e3466fd819418f29e3b2487f052 config.c.patch
d2490c86d9138226ec674997817a163b 2.6.35.patch"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment