summaryrefslogtreecommitdiff
path: root/packages/maemo4/libosso
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-02-14 10:04:21 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-02-14 10:04:21 +0000
commit80aae1fa0adb151536096e8354acddb1cf0f8809 (patch)
tree06bb0886036217b98d10b0e244844eecf70cc47e /packages/maemo4/libosso
parent3132647d57bab70919f8207d237878056378345d (diff)
Reworked maemo4 packages
hildon-1: Removed, replaced by libhildon hildon-lgpl: Removed (obsolete in Maemo 4.0) hildon-libs: Removed (obsolete in Maemo 4.0) outo: Removed (integrated in libosso). libhildon: Updated to Maemo 4.0 version. libhildonfm: Updated to Maemo 4.0 version. libconic: Updated to Maemo 4.0 version. libosso: Updated to Maemo 4.0 version. mce-dev: Updated to Maemo 4.0 version. osso-gwconnect: Updated to Maemo 4.0 version. hildon-thumbnail: Updated to Maemo 4.0 version. osso-thumbnail: Removed, replaced by hildon-thumbnail. osso-gnome-vf2: New recipe, needed for other OSSO libraries. osso-ic-oss: Adjusted dependencies. libhildonmime: Adjusted dependencies. libhildonhelp: Adjusted dependencies. libgpsbt: Adjusted dependencies. libgpsmgr: Adjusted dependencies. libosso-gsf: Adjusted dependencies.
Diffstat (limited to 'packages/maemo4/libosso')
-rw-r--r--packages/maemo4/libosso/.mtn2git_empty0
-rw-r--r--packages/maemo4/libosso/libosso-buildfix.patch64
2 files changed, 64 insertions, 0 deletions
diff --git a/packages/maemo4/libosso/.mtn2git_empty b/packages/maemo4/libosso/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/maemo4/libosso/.mtn2git_empty
diff --git a/packages/maemo4/libosso/libosso-buildfix.patch b/packages/maemo4/libosso/libosso-buildfix.patch
new file mode 100644
index 0000000000..adb0ca6b5f
--- /dev/null
+++ b/packages/maemo4/libosso/libosso-buildfix.patch
@@ -0,0 +1,64 @@
+Index: libosso-2.13/src/osso-hw.c
+===================================================================
+--- libosso-2.13.orig/src/osso-hw.c 2008-02-13 12:55:17.000000000 +0100
++++ libosso-2.13/src/osso-hw.c 2008-02-13 13:02:55.000000000 +0100
+@@ -23,6 +23,9 @@
+ * 02110-1301 USA
+ */
+
++#define _GNU_SOURCE
++#include <string.h>
++
+ #include "osso-internal.h"
+ #include "osso-hw.h"
+ #include "osso-mem.h"
+@@ -635,7 +638,7 @@
+ (*cb)((muali_context_t*)osso, &info, data->user_data);
+
+ if (info.args != NULL) {
+- free(info.args);
++ free((void *) info.args);
+ info.args = NULL;
+ }
+ }
+@@ -762,7 +765,7 @@
+ (*cb)((muali_context_t*)osso, &info, data->user_data);
+
+ if (info.args != NULL) {
+- free(info.args);
++ free((void *) info.args);
+ info.args = NULL;
+ }
+ }
+Index: libosso-2.13/src/osso-rpc.c
+===================================================================
+--- libosso-2.13.orig/src/osso-rpc.c 2008-02-13 13:03:13.000000000 +0100
++++ libosso-2.13/src/osso-rpc.c 2008-02-13 13:06:05.000000000 +0100
+@@ -997,7 +997,8 @@
+ int *serial)
+ {
+ int i;
+- char buf[20], *p;
++ char buf[20];
++ const char *p;
+
+ /* get bus type */
+ for (i = 0, p = id; *p != ','; ++p, ++i) {
+@@ -1101,7 +1102,7 @@
+ (*cb)((muali_context_t*)osso, &info, cb_data->user_data);
+
+ if (info.args != NULL) {
+- free(info.args);
++ free((void *) info.args);
+ info.args = NULL;
+ }
+ }
+@@ -1410,7 +1411,7 @@
+ cb_data->message_id = (long)msg_serial;
+
+ cb_data->user_cb = reply_handler;
+- cb_data->user_data = user_data;
++ cb_data->user_data = (void *) user_data;
+ cb_data->match_rule = NULL;
+ cb_data->event_type = 0;
+ cb_data->bus_type = bus_type;