summaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-07-27 04:05:10 +0000
committertaca <taca@pkgsrc.org>2011-07-27 04:05:10 +0000
commit4aa31883f001ecc7a733e3d790058c62797252c5 (patch)
tree6113434e19149f81b21589dacbc5d2f0cce3cdc4 /net/samba
parentfd4ea4b136c4fc9267d6dae4fc336de9008ec754 (diff)
downloadpkgsrc-4aa31883f001ecc7a733e3d790058c62797252c5.tar.gz
Try to fix build problem with recent kerberos5 header?
The problem was noted by Paul Goyette on pkgsrc-users@.
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/distinfo3
-rw-r--r--net/samba/patches/patch-libsmb_clikrb5.c15
2 files changed, 17 insertions, 1 deletions
diff --git a/net/samba/distinfo b/net/samba/distinfo
index 14cf70f0ec7..70a604e8d02 100644
--- a/net/samba/distinfo
+++ b/net/samba/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.74 2010/06/19 14:08:56 taca Exp $
+$NetBSD: distinfo,v 1.75 2011/07/27 04:05:10 taca Exp $
SHA1 (samba-3.0.37.tar.gz) = 5ec6bc6558b3c799f747eb49fbba019d5edf0cbd
RMD160 (samba-3.0.37.tar.gz) = 06b76ae22729e10c83d6af42d03b03ad69e49103
@@ -40,3 +40,4 @@ SHA1 (patch-ch) = 3c4c404519154e294cee134ddb4d2b9c7d8e02a2
SHA1 (patch-ci) = d78298d0997cf7877cfe2411355fb6c61dec17f6
SHA1 (patch-da) = 2dddd250b2207d658b02ff43b46199ce4305b7f8
SHA1 (patch-ee) = d52511dc7d065db7ba1464138c4bc85cfe2f0d59
+SHA1 (patch-libsmb_clikrb5.c) = 0efe8e7b06588a727b8cf459ed6e9dc46d1b8f13
diff --git a/net/samba/patches/patch-libsmb_clikrb5.c b/net/samba/patches/patch-libsmb_clikrb5.c
new file mode 100644
index 00000000000..7f4c427fbd3
--- /dev/null
+++ b/net/samba/patches/patch-libsmb_clikrb5.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-libsmb_clikrb5.c,v 1.1 2011/07/27 04:05:10 taca Exp $
+
+* KRB5_DEPRECATED would not be defined as boolean 0 or 1.
+
+--- libsmb/clikrb5.c.orig 2009-09-30 12:21:56.000000000 +0000
++++ libsmb/clikrb5.c
+@@ -22,7 +22,7 @@
+ */
+
+ #define KRB5_PRIVATE 1 /* this file uses PRIVATE interfaces! */
+-#define KRB5_DEPRECATED 1 /* this file uses DEPRECATED interfaces! */
++#define KRB5_DEPRECATED /* this file uses DEPRECATED interfaces! */
+
+ #include "includes.h"
+