diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-12-03 19:03:04 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-12-03 19:03:04 +0100 |
commit | 00b2b3fdc4b5fdbb4f8c39889353fb6acc8425e8 (patch) | |
tree | 3fdc467968f30f44c7d86f18116caead50800a16 /package/postfix/patches | |
parent | bf16ddf6e65e4ddcfd2775d0b5358480a389e0ca (diff) |
fix build
Diffstat (limited to 'package/postfix/patches')
-rw-r--r-- | package/postfix/patches/patch-makedefs | 23 | ||||
-rw-r--r-- | package/postfix/patches/patch-src_util_dict_open_c | 24 |
2 files changed, 46 insertions, 1 deletions
diff --git a/package/postfix/patches/patch-makedefs b/package/postfix/patches/patch-makedefs index 385150c0c..cb064c6e3 100644 --- a/package/postfix/patches/patch-makedefs +++ b/package/postfix/patches/patch-makedefs @@ -1,5 +1,5 @@ --- postfix-2.8.7.orig/makedefs 2011-11-03 00:46:22.000000000 +0100 -+++ postfix-2.8.7/makedefs 2011-12-03 13:06:00.000000000 +0100 ++++ postfix-2.8.7/makedefs 2011-12-03 13:36:33.561684585 +0100 @@ -97,8 +97,8 @@ error() { case $# in @@ -11,3 +11,24 @@ VERSION=`(uname -v) 2>/dev/null` case "$VERSION" in dcosx*) SYSTEM=$VERSION;; +@@ -343,20 +343,6 @@ EOF + esac + ;; + Linux.3*) SYSTYPE=LINUX3 +- if [ -f /usr/include/db.h ] +- then +- : we are all set +- elif [ -f /usr/include/db/db.h ] +- then +- CCARGS="$CCARGS -I/usr/include/db" +- else +- # On a properly installed system, Postfix builds +- # by including <db.h> and by linking with -ldb +- echo "No <db.h> include file found." 1>&2 +- echo "Install the appropriate db*-devel package first." 1>&2 +- echo "See the RELEASE_NOTES file for more information." 1>&2 +- exit 1 +- fi + SYSLIBS="-ldb" + for name in nsl resolv + do 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 |