summaryrefslogtreecommitdiff
path: root/packages/pimlico
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-05 15:55:19 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-11 21:36:46 +0300
commita09e4457dad0fe20f2085b20212b7e4eafd168a7 (patch)
treee44c34aec16551e998ea530d410b281d52c94677 /packages/pimlico
parentb311c53578da30706ad4ecd6b25fadf3bd1a199f (diff)
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 <dbaryshkov@gmail.com>
Diffstat (limited to 'packages/pimlico')
-rw-r--r--packages/pimlico/contacts-0.8/contacts-util-fixup.diff13
-rw-r--r--packages/pimlico/contacts_0.8.bb1
2 files changed, 14 insertions, 0 deletions
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 <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);
+
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 \
"