diff options
author | Firas Kraiem <firas@fkraiem.org> | 2010-12-26 01:23:20 +0100 |
---|---|---|
committer | Andreas Beckmann <anbe@debian.org> | 2013-09-13 06:30:39 +0200 |
commit | b826cd2503e5c12ea29e4623e7b75d30a1ee40f2 (patch) | |
tree | 048dfafc194a96befe561ae87818f4251a07c1b1 | |
parent | 38a5b1f2956dabad3267e74b423dd3324a4ef071 (diff) | |
download | sendmail-b826cd2503e5c12ea29e4623e7b75d30a1ee40f2.tar.gz |
fix FTBFS with ld --as-needed
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | debian/patches/8.14/8.14.4/fix_linkage | 13 | ||||
-rw-r--r-- | debian/patches/8.14/8.14.4/series | 1 |
3 files changed, 16 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 4c43d51..02c7c66 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ sendmail (8.14.4-4.1) UNRELEASED; urgency=low * Fix infinite loop in update_db, thanks to Flo. (Closes: #717951) * Do not ship duplicate sendmail.8 manpage. (Closes: #709895) * Use [linux-any] instead of hardcoded list. (Closes: #634378) + * Fix FTBFS with ld --as-needed, thanks to Firas Kraiem. + (Closes: #608011, #609606) -- Andreas Beckmann <anbe@debian.org> Fri, 13 Sep 2013 05:46:00 +0200 diff --git a/debian/patches/8.14/8.14.4/fix_linkage b/debian/patches/8.14/8.14.4/fix_linkage new file mode 100644 index 0000000..c4e148f --- /dev/null +++ b/debian/patches/8.14/8.14.4/fix_linkage @@ -0,0 +1,13 @@ +Index: sendmail-8.14.4/devtools/M4/UNIX/defines.m4 +=================================================================== +--- sendmail-8.14.4.orig/devtools/M4/UNIX/defines.m4 2010-12-26 00:51:32.479474199 +0100 ++++ sendmail-8.14.4/devtools/M4/UNIX/defines.m4 2010-12-26 00:52:10.583779184 +0100 +@@ -71,7 +71,7 @@ + LIBADD= ifdef(`conf_'bldCURRENT_PRD`_LIBS', `conf_'bldCURRENT_PRD`_LIBS') + + # libraries required on your system +-LIBS= ${LIBADD} ifdef(`confLIBS', `confLIBS') ifdef(`conf_'bldCURRENT_PRD`_LIB_POST', `conf_'bldCURRENT_PRD`_LIB_POST') ++LIBS= ifdef(`confLIBS', `confLIBS') ifdef(`conf_'bldCURRENT_PRD`_LIB_POST', `conf_'bldCURRENT_PRD`_LIB_POST') ${LIBADD} + + # location of sendmail binary (usually /usr/sbin or /usr/lib) + BINDIR= ifdef(`confMBINDIR', `confMBINDIR', `/usr/sbin') diff --git a/debian/patches/8.14/8.14.4/series b/debian/patches/8.14/8.14.4/series index 48f3fad..cf5cabf 100644 --- a/debian/patches/8.14/8.14.4/series +++ b/debian/patches/8.14/8.14.4/series @@ -10,3 +10,4 @@ maxseq rmail.odi hard-code-lockf.patch lock-mail-local.diff +fix_linkage |