contacts: fix build error
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Wed, 5 Nov 2008 12:55:19 +0000 (15:55 +0300)
committerDmitry Baryshkov <dbaryshkov@gmail.com>
Tue, 11 Nov 2008 18:36:46 +0000 (21:36 +0300)
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 <dbaryshkov@gmail.com>
packages/pimlico/contacts-0.8/contacts-util-fixup.diff [new file with mode: 0644]
packages/pimlico/contacts_0.8.bb

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 (file)
index 0000000..95c3dbb
--- /dev/null
@@ -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 <libebook/e-book.h>
+ #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);
+
index d596d45..861e83a 100644 (file)
@@ -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 \
          "