From 924b543d96555a9ac1be6f16e159ea4163733f57 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Thu, 19 Mar 2009 23:30:49 +0100 Subject: libosso 2.13: Fixed build - updated libosso-dont-use-inline.patch to really make some formerly hidden functions visible --- .../maemo4/libosso/libosso-dont-use-inline.patch | 51 +++++++++++++++------- 1 file changed, 35 insertions(+), 16 deletions(-) (limited to 'recipes/maemo4/libosso') diff --git a/recipes/maemo4/libosso/libosso-dont-use-inline.patch b/recipes/maemo4/libosso/libosso-dont-use-inline.patch index d3878308c2..f8e6ca4a1c 100644 --- a/recipes/maemo4/libosso/libosso-dont-use-inline.patch +++ b/recipes/maemo4/libosso/libosso-dont-use-inline.patch @@ -1,47 +1,66 @@ ---- libosso-2.13/src/osso-init.c.orig 2008-09-22 12:56:49.000000000 -0700 -+++ libosso-2.13/src/osso-init.c 2008-09-22 12:57:22.000000000 -0700 +Index: libosso-2.13/src/osso-init.c +=================================================================== +--- libosso-2.13.orig/src/osso-init.c 2007-09-21 12:53:31.000000000 +0200 ++++ libosso-2.13/src/osso-init.c 2009-03-19 23:14:11.000000000 +0100 @@ -657,7 +657,8 @@ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } -inline int __attribute__ ((visibility("hidden"))) -+//inline int __attribute__ ((visibility("hidden"))) -+static int ++/*inline int __attribute__ ((visibility("hidden")))*/ ++int muali_convert_msgtype(int t) { switch (t) { ---- libosso-2.13/src/osso-internal.h.orig 2008-09-22 12:57:39.000000000 -0700 -+++ libosso-2.13/src/osso-internal.h 2008-09-22 12:58:13.000000000 -0700 +Index: libosso-2.13/src/osso-internal.h +=================================================================== +--- libosso-2.13.orig/src/osso-internal.h 2007-09-21 12:53:31.000000000 +0200 ++++ libosso-2.13/src/osso-internal.h 2009-03-19 23:13:23.000000000 +0100 @@ -209,7 +209,8 @@ # define dprint(f, a...) # endif /* LIBOSSO_DEBUG */ -inline int __attribute__ ((visibility("hidden"))) -+//inline int __attribute__ ((visibility("hidden"))) -+static int ++/*inline int __attribute__ ((visibility("hidden")))*/ ++int muali_convert_msgtype(int t); muali_arg_t* _get_muali_args(DBusMessageIter *iter); -@@ -297,7 +298,8 @@ +@@ -293,11 +294,12 @@ + + void _close_all_plugins(osso_context_t *osso); + +-inline void __attribute__ ((visibility("hidden"))) ++/*inline void __attribute__ ((visibility("hidden")))*/ _muali_parse_id(const char *id, muali_bus_type *bus, char *sender, int *serial); -inline void __attribute__ ((visibility("hidden"))) -+//inline void __attribute__ ((visibility("hidden"))) -+static void ++/*inline void __attribute__ ((visibility("hidden")))*/ ++void _muali_make_id(muali_bus_type bus, const char *sender, int serial, char *id); #endif /* OSSO_INTERNAL_H_ */ ---- libosso-2.13/src/osso-rpc.c.orig 2008-09-22 12:58:53.000000000 -0700 -+++ libosso-2.13/src/osso-rpc.c 2008-09-22 12:59:42.000000000 -0700 +Index: libosso-2.13/src/osso-rpc.c +=================================================================== +--- libosso-2.13.orig/src/osso-rpc.c 2009-03-19 23:09:32.000000000 +0100 ++++ libosso-2.13/src/osso-rpc.c 2009-03-19 23:13:03.000000000 +0100 +@@ -992,7 +992,7 @@ + * muali = maemo user application library + ******************************************************/ + +-inline void __attribute__ ((visibility("hidden"))) ++/*inline void __attribute__ ((visibility("hidden")))*/ + _muali_parse_id(const char *id, muali_bus_type *bus, char *sender, + int *serial) + { @@ -1026,7 +1026,8 @@ *serial = atoi(buf); } -inline void __attribute__ ((visibility("hidden"))) -+//inline void __attribute__ ((visibility("hidden"))) -+static void ++/*inline void __attribute__ ((visibility("hidden")))*/ ++void _muali_make_id(muali_bus_type bus, const char *sender, int serial, char *id) { snprintf(id, MAX_MSGID_LEN, "%d,%s,%d", bus, sender, serial); - -- cgit v1.2.3