Add Bug-766574-Fix-build-failures-with-as-needed.patch to fix a FTBFS when

building with --as-needed, see bgo#766574.

git-svn-id: file:///svn/pkg-evolution/unstable/evolution@2904 ed03ce00-e4f4-0310-9448-ee38221cb277
This commit is contained in:
Michael Biebl
2016-05-17 21:35:29 +00:00
parent 8fb6a0543c
commit daae976a2a
3 changed files with 29 additions and 0 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ evolution (3.20.2-1) UNRELEASED; urgency=medium
* New upstream release.
* Drop 0001-Add-.desktop-file-actions-for-compose-contacts-calen.patch,
merged upstream.
* Add Bug-766574-Fix-build-failures-with-as-needed.patch to fix a FTBFS when
building with --as-needed, see bgo#766574.
-- Michael Biebl <biebl@debian.org> Tue, 17 May 2016 23:28:08 +0200

View File

@ -0,0 +1,26 @@
From ecd3c7de6b4c7083999083f94d45a722fea6810c Mon Sep 17 00:00:00 2001
From: Michael Biebl <biebl@debian.org>
Date: Tue, 17 May 2016 20:29:06 +0200
Subject: [PATCH] Bug 766574 - Fix build failures with --as-needed
calendar/gui uses eab_parse_qp_email() from
addressbook/util/libeabutil.la, so link against that library.
---
calendar/gui/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index 3f7f2c3..caefa9d 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -222,6 +222,7 @@ libevolution_calendar_la_SOURCES = \
libevolution_calendar_la_LIBADD = \
$(top_builddir)/composer/libevolution-mail-composer.la \
+ $(top_builddir)/addressbook/util/libeabutil.la \
$(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.la \
$(top_builddir)/addressbook/gui/contact-list-editor/libecontactlisteditor.la \
$(top_builddir)/shell/libevolution-shell.la \
--
2.8.1

View File

@ -1,2 +1,3 @@
02_nss_paths.patch
10_revert_libevolution_avoid-version.patch
Bug-766574-Fix-build-failures-with-as-needed.patch