From: Dmitry Baryshkov Date: Wed, 5 Nov 2008 12:55:19 +0000 (+0300) Subject: contacts: fix build error X-Git-Tag: Release-2010-05/1~5412 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a09e4457dad0fe20f2085b20212b7e4eafd168a7;p=openembedded.git 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 --- 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 \ "