From 1935d32e419948dec3f402e1b862ef85bd77384f Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 24 Jan 2005 17:57:15 +0000 Subject: Hopefulyl final Interix fix: make test_filesystem.cpp build. --- archivers/dar/distinfo | 3 ++- archivers/dar/patches/patch-al | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 archivers/dar/patches/patch-al (limited to 'archivers') diff --git a/archivers/dar/distinfo b/archivers/dar/distinfo index f1e6aa4f386..87ec5257a6d 100644 --- a/archivers/dar/distinfo +++ b/archivers/dar/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2005/01/24 17:51:57 tv Exp $ +$NetBSD: distinfo,v 1.6 2005/01/24 17:57:15 tv Exp $ SHA1 (dar-2.1.5.tar.gz) = 992836c05c685933e56e8035e00313008567948a Size (dar-2.1.5.tar.gz) = 652534 bytes @@ -13,3 +13,4 @@ SHA1 (patch-ah) = 01916f19ad0e14d0840de5223d8625e610b83f51 SHA1 (patch-ai) = a22efc4a16f79ab80a74a3bae21f403d128f54ae SHA1 (patch-aj) = 87aad964117f53b56acad9f9ba902a48adc01c24 SHA1 (patch-ak) = e0d95bb0ff987cc7b6e32c38d3d47f693f7f8d93 +SHA1 (patch-al) = 767b836e0e30acd05d978a33ec3636b1b0e45684 diff --git a/archivers/dar/patches/patch-al b/archivers/dar/patches/patch-al new file mode 100644 index 00000000000..9a733fb514d --- /dev/null +++ b/archivers/dar/patches/patch-al @@ -0,0 +1,22 @@ +$NetBSD: patch-al,v 1.1 2005/01/24 17:57:15 tv Exp $ + +--- src/testing/test_filesystem.cpp.orig 2005-01-24 12:53:17.000000000 -0500 ++++ src/testing/test_filesystem.cpp +@@ -53,6 +53,17 @@ extern "C" + #if HAVE_SYS_UN_H + #include + #endif ++ ++#if MAJOR_IN_MKDEV ++#include ++#if !defined(makedev) && defined(mkdev) ++#define makedev(a,b) mkdev((a),(b)) ++#endif ++#else ++#if MAJOR_IN_SYSMACROS ++#include ++#endif ++#endif + } // end extern "C" + + #include -- cgit v1.2.3