From a09e4457dad0fe20f2085b20212b7e4eafd168a7 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Wed, 5 Nov 2008 15:55:19 +0300 Subject: [PATCH] contacts: fix build error contacts' source defines e_util_unicode_get_utf8() as both static function() in .c file and as non-static one in the header. As this function is unused outside of that file, drop non-static declaration. Signed-off-by: Dmitry Baryshkov --- .../pimlico/contacts-0.8/contacts-util-fixup.diff | 13 +++++++++++++ packages/pimlico/contacts_0.8.bb | 1 + 2 files changed, 14 insertions(+) create mode 100644 packages/pimlico/contacts-0.8/contacts-util-fixup.diff diff --git a/packages/pimlico/contacts-0.8/contacts-util-fixup.diff b/packages/pimlico/contacts-0.8/contacts-util-fixup.diff new file mode 100644 index 0000000000..95c3dbb699 --- /dev/null +++ b/packages/pimlico/contacts-0.8/contacts-util-fixup.diff @@ -0,0 +1,13 @@ +Index: contacts-0.8/src/contacts-utils.h +=================================================================== +--- contacts-0.8.orig/src/contacts-utils.h 2008-10-30 13:42:03.527971013 +0300 ++++ contacts-0.8/src/contacts-utils.h 2008-10-30 13:42:08.140177662 +0300 +@@ -22,8 +22,6 @@ + #include + #include "contacts-defs.h" + +-char *e_util_unicode_get_utf8 (const char *text, gunichar * out); +- + const char *kozo_utf8_strstrcasestrip (const char *haystack, + const gunichar * needle); + diff --git a/packages/pimlico/contacts_0.8.bb b/packages/pimlico/contacts_0.8.bb index d596d45659..861e83ae73 100644 --- a/packages/pimlico/contacts_0.8.bb +++ b/packages/pimlico/contacts_0.8.bb @@ -6,4 +6,5 @@ SRC_URI = "http://pimlico-project.org/sources/${PN}/${PN}-${PV}.tar.gz \ file://stock_contact.png \ file://stock_person.png \ file://contacts-owl-window-menu.patch;patch=1 \ + file://contacts-util-fixup.diff;patch=1 \ " -- 2.39.5