summaryrefslogtreecommitdiff
path: root/archivers/dar
diff options
context:
space:
mode:
authortv <tv>2005-01-24 17:57:15 +0000
committertv <tv>2005-01-24 17:57:15 +0000
commit467d8070cf68e9a8b4c164099893d232631617b2 (patch)
tree5791fbec28bf79a027ec645cb806045762418734 /archivers/dar
parent906ad543c43a118a0cba5b25b362eb69eb88365c (diff)
downloadpkgsrc-467d8070cf68e9a8b4c164099893d232631617b2.tar.gz
Hopefulyl final Interix fix: make test_filesystem.cpp build.
Diffstat (limited to 'archivers/dar')
-rw-r--r--archivers/dar/distinfo3
-rw-r--r--archivers/dar/patches/patch-al22
2 files changed, 24 insertions, 1 deletions
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 <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>