summaryrefslogtreecommitdiff
path: root/net/xorp/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2009-02-07 18:39:20 +0000
committerjoerg <joerg>2009-02-07 18:39:20 +0000
commit11ffb69cc6a917f23fea946f47dfe1ef2cec5848 (patch)
tree0ccbd759b4ef29d558eabc56f9279143fd4e4e0e /net/xorp/patches
parentd97ca9a7d85eea08c3ae7fec0d3a6ab142d630b6 (diff)
downloadpkgsrc-11ffb69cc6a917f23fea946f47dfe1ef2cec5848.tar.gz
Fix patch to actually work by using the right name of the version macro.
Fixes build on NetBSD 4.99.24+.
Diffstat (limited to 'net/xorp/patches')
-rw-r--r--net/xorp/patches/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xorp/patches/patch-ab b/net/xorp/patches/patch-ab
index 5fe7eb284cc..3306239b85e 100644
--- a/net/xorp/patches/patch-ab
+++ b/net/xorp/patches/patch-ab
@@ -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
@@ -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(),
CLICK_FILE_SYSTEM_TYPE.c_str(), 0, 0);
-#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(),
+ _kernel_click_mount_directory.c_str(), 0, 0, 0);
+#else