summaryrefslogtreecommitdiff
path: root/package/postfix/patches/patch-src_util_dict_open_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/postfix/patches/patch-src_util_dict_open_c')
-rw-r--r--package/postfix/patches/patch-src_util_dict_open_c24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/postfix/patches/patch-src_util_dict_open_c b/package/postfix/patches/patch-src_util_dict_open_c
new file mode 100644
index 000000000..48555d4e9
--- /dev/null
+++ b/package/postfix/patches/patch-src_util_dict_open_c
@@ -0,0 +1,24 @@
+--- postfix-2.8.7.orig/src/util/dict_open.c 2011-04-11 19:37:49.000000000 +0200
++++ postfix-2.8.7/src/util/dict_open.c 2011-12-03 13:38:06.889686949 +0100
+@@ -202,8 +202,6 @@
+ #include <dict_sdbm.h>
+ #include <dict_dbm.h>
+ #include <dict_db.h>
+-#include <dict_nis.h>
+-#include <dict_nisplus.h>
+ #include <dict_ni.h>
+ #include <dict_pcre.h>
+ #include <dict_regexp.h>
+@@ -242,12 +240,6 @@ static const DICT_OPEN_INFO dict_open_in
+ DICT_TYPE_HASH, dict_hash_open,
+ DICT_TYPE_BTREE, dict_btree_open,
+ #endif
+-#ifdef HAS_NIS
+- DICT_TYPE_NIS, dict_nis_open,
+-#endif
+-#ifdef HAS_NISPLUS
+- DICT_TYPE_NISPLUS, dict_nisplus_open,
+-#endif
+ #ifdef HAS_NETINFO
+ DICT_TYPE_NETINFO, dict_ni_open,
+ #endif