From 4999eface77c71ff08a86716b19e1c07ee206c6c Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 7 Feb 2009 18:39:20 +0000 Subject: Fix patch to actually work by using the right name of the version macro. Fixes build on NetBSD 4.99.24+. --- net/xorp/distinfo | 4 ++-- net/xorp/patches/patch-ab | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'net/xorp') diff --git a/net/xorp/distinfo b/net/xorp/distinfo index e9e154f7f29..725fc655465 100644 --- a/net/xorp/distinfo +++ b/net/xorp/distinfo @@ -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 RMD160 (xorp-1.5.tar.gz) = 4dd5cc7162a0f8087ed973b45279718ea2a337b8 Size (xorp-1.5.tar.gz) = 7384564 bytes SHA1 (patch-aa) = b4d698f072cfc6f822716ef3193cb43f6f282f7c -SHA1 (patch-ab) = 3c525c31307090771648be67a6fb2511a84e4c1a +SHA1 (patch-ab) = 87ccbf0370386e50b3b5a3bd78e1ed66d4ebdba2 SHA1 (patch-ac) = ebf26bd28368b50633c900c3041d15e2853eb57e 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 -- cgit v1.2.3