pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/dar Hopefulyl final Interix fix: make test_f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5cb4be87515
branches:  trunk
changeset: 488069:e5cb4be87515
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Jan 24 17:57:15 2005 +0000

description:
Hopefulyl final Interix fix: make test_filesystem.cpp build.

diffstat:

 archivers/dar/distinfo         |   3 ++-
 archivers/dar/patches/patch-al |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r b2d821030d5e -r e5cb4be87515 archivers/dar/distinfo
--- a/archivers/dar/distinfo    Mon Jan 24 17:51:57 2005 +0000
+++ b/archivers/dar/distinfo    Mon Jan 24 17:57:15 2005 +0000
@@ -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-ai) = a22efc4a16f79ab80a74a3bae21f403d128f54ae
 SHA1 (patch-aj) = 87aad964117f53b56acad9f9ba902a48adc01c24
 SHA1 (patch-ak) = e0d95bb0ff987cc7b6e32c38d3d47f693f7f8d93
+SHA1 (patch-al) = 767b836e0e30acd05d978a33ec3636b1b0e45684
diff -r b2d821030d5e -r e5cb4be87515 archivers/dar/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/dar/patches/patch-al    Mon Jan 24 17:57:15 2005 +0000
@@ -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 <sys/un.h>
+ #endif
++
++#if MAJOR_IN_MKDEV
++#include <sys/mkdev.h>
++#if !defined(makedev) && defined(mkdev)
++#define makedev(a,b) mkdev((a),(b))
++#endif
++#else
++#if MAJOR_IN_SYSMACROS
++#include <sys/sysmacros.h>
++#endif
++#endif
+ } // end extern "C"
+ 
+ #include <string.h>



Home | Main Index | Thread Index | Old Index