summaryrefslogtreecommitdiff
path: root/net/samba30/patches/patch-bc
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba30/patches/patch-bc')
-rw-r--r--net/samba30/patches/patch-bc13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/samba30/patches/patch-bc b/net/samba30/patches/patch-bc
new file mode 100644
index 00000000000..c35378ab2fd
--- /dev/null
+++ b/net/samba30/patches/patch-bc
@@ -0,0 +1,13 @@
+$NetBSD: patch-bc,v 1.1.1.1 2011/12/15 22:23:24 asau Exp $
+
+--- intl/lang_tdb.c.orig 2007-03-01 13:54:31.000000000 +0900
++++ intl/lang_tdb.c
+@@ -139,7 +139,7 @@ BOOL lang_tdb_init(const char *lang)
+ goto done;
+ }
+
+- asprintf(&path, "%s%s.tdb", lock_path("lang_"), lang);
++ asprintf(&path, "%s%s.tdb", state_path("lang_"), lang);
+
+ DEBUG(10, ("lang_tdb_init: loading %s\n", path));
+