summaryrefslogtreecommitdiff
path: root/net/samba33
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-08-02 14:05:27 +0000
committertaca <taca@pkgsrc.org>2011-08-02 14:05:27 +0000
commit33f1b6715f2aa4e25ba332896fd735b26321e1f1 (patch)
tree3c8ddb22d2d034edc5280d8e5b3228aa19642df7 /net/samba33
parent5db73675f3e320792a920d11b08e30492cc61554 (diff)
downloadpkgsrc-33f1b6715f2aa4e25ba332896fd735b26321e1f1.tar.gz
Add workaround for NetBSD 5.99.54 as samba35.
Diffstat (limited to 'net/samba33')
-rw-r--r--net/samba33/distinfo3
-rw-r--r--net/samba33/patches/patch-lib_replace_test_os2__delete.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/net/samba33/distinfo b/net/samba33/distinfo
index 2ace38c56e3..fcf98d85189 100644
--- a/net/samba33/distinfo
+++ b/net/samba33/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2011/07/27 00:53:37 taca Exp $
+$NetBSD: distinfo,v 1.8 2011/08/02 14:06:20 taca Exp $
SHA1 (samba-3.3.16.tar.gz) = bfb06f2cd88ba6c2fb9d25cabf3b22bf1a402f08
RMD160 (samba-3.3.16.tar.gz) = 30e181de0e5399503cad3e09f3dd172a0fc6a011
@@ -27,3 +27,4 @@ SHA1 (patch-au) = f94b27a5792acfa3742b4c07b23b3395b73eba84
SHA1 (patch-av) = e3ebea3cf0a44fc43c8878c1563972ca2c2b60a9
SHA1 (patch-aw) = 8dafe1df0661ce8f662716804cf39516c2499add
SHA1 (patch-ax) = 86ba06f64069a837b6422f5ea1d7b16bed7915b0
+SHA1 (patch-lib_replace_test_os2__delete.c) = d4e14bdfb62b51465902f7090b1b2a6a44dc0060
diff --git a/net/samba33/patches/patch-lib_replace_test_os2__delete.c b/net/samba33/patches/patch-lib_replace_test_os2__delete.c
new file mode 100644
index 00000000000..71056de3ccc
--- /dev/null
+++ b/net/samba33/patches/patch-lib_replace_test_os2__delete.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-lib_replace_test_os2__delete.c,v 1.1 2011/08/02 14:06:20 taca Exp $
+
+Workaround for NetBSD 5.99.54.
+
+--- lib/replace/test/os2_delete.c.orig 2011-07-24 19:09:38.000000000 +0000
++++ lib/replace/test/os2_delete.c
+@@ -112,6 +112,7 @@ int test_readdir_os2_delete(void)
+ while (1) {
+ int n = os2_delete(d);
+ if (n == 0) break;
++ if (test_readdir_os2_delete_ret != 0) break; /* if FAILED */
+ total_deleted += n;
+ }
+ closedir(d);