Fix patch to actually work by using the right name of the version macro.
Fixes build on NetBSD 4.99.24+.
This commit is contained in:
parent
a828cd9997
commit
4999eface7
2 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
$NetBSD: distinfo,v 1.14 2008/10/18 12:51:24 obache Exp $
|
$NetBSD: distinfo,v 1.15 2009/02/07 18:39:20 joerg Exp $
|
||||||
|
|
||||||
SHA1 (xorp-1.5.tar.gz) = cc6a0ec42d5dd49b57b9dab365a247c646d5e843
|
SHA1 (xorp-1.5.tar.gz) = cc6a0ec42d5dd49b57b9dab365a247c646d5e843
|
||||||
RMD160 (xorp-1.5.tar.gz) = 4dd5cc7162a0f8087ed973b45279718ea2a337b8
|
RMD160 (xorp-1.5.tar.gz) = 4dd5cc7162a0f8087ed973b45279718ea2a337b8
|
||||||
Size (xorp-1.5.tar.gz) = 7384564 bytes
|
Size (xorp-1.5.tar.gz) = 7384564 bytes
|
||||||
SHA1 (patch-aa) = b4d698f072cfc6f822716ef3193cb43f6f282f7c
|
SHA1 (patch-aa) = b4d698f072cfc6f822716ef3193cb43f6f282f7c
|
||||||
SHA1 (patch-ab) = 3c525c31307090771648be67a6fb2511a84e4c1a
|
SHA1 (patch-ab) = 87ccbf0370386e50b3b5a3bd78e1ed66d4ebdba2
|
||||||
SHA1 (patch-ac) = ebf26bd28368b50633c900c3041d15e2853eb57e
|
SHA1 (patch-ac) = ebf26bd28368b50633c900c3041d15e2853eb57e
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
$NetBSD: patch-ab,v 1.7 2008/10/18 12:51:24 obache Exp $
|
$NetBSD: patch-ab,v 1.8 2009/02/07 18:39:20 joerg Exp $
|
||||||
|
|
||||||
--- fea/data_plane/control_socket/click_socket.cc.orig 2008-07-23 07:10:15.000000000 +0200
|
--- fea/data_plane/control_socket/click_socket.cc.orig 2008-07-23 07:10:15.000000000 +0200
|
||||||
+++ fea/data_plane/control_socket/click_socket.cc
|
+++ fea/data_plane/control_socket/click_socket.cc
|
||||||
|
@ -7,7 +7,7 @@ $NetBSD: patch-ab,v 1.7 2008/10/18 12:51:24 obache Exp $
|
||||||
ret_value = mount("none", _kernel_click_mount_directory.c_str(),
|
ret_value = mount("none", _kernel_click_mount_directory.c_str(),
|
||||||
CLICK_FILE_SYSTEM_TYPE.c_str(), 0, 0);
|
CLICK_FILE_SYSTEM_TYPE.c_str(), 0, 0);
|
||||||
-#else // ! HOST_OS_LINUX
|
-#else // ! HOST_OS_LINUX
|
||||||
+#elif defined(__NetBSD__) && __NetBSD_Version >= 499002400
|
+#elif defined(__NetBSD__) && __NetBSD_Version__ >= 499002400
|
||||||
+ ret_value = mount(CLICK_FILE_SYSTEM_TYPE.c_str(),
|
+ ret_value = mount(CLICK_FILE_SYSTEM_TYPE.c_str(),
|
||||||
+ _kernel_click_mount_directory.c_str(), 0, 0, 0);
|
+ _kernel_click_mount_directory.c_str(), 0, 0, 0);
|
||||||
+#else
|
+#else
|
||||||
|
|
Loading…
Reference in a new issue