summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-connectivity/obex/obex-data-server/obex-data-server-0.4.6-build-fixes-1.patch20
-rw-r--r--meta-oe/recipes-connectivity/obex/obex-data-server_0.4.6.bb7
2 files changed, 24 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/obex/obex-data-server/obex-data-server-0.4.6-build-fixes-1.patch b/meta-oe/recipes-connectivity/obex/obex-data-server/obex-data-server-0.4.6-build-fixes-1.patch
new file mode 100644
index 0000000000..e2c4e9ff6c
--- /dev/null
+++ b/meta-oe/recipes-connectivity/obex/obex-data-server/obex-data-server-0.4.6-build-fixes-1.patch
@@ -0,0 +1,20 @@
1Submitted By: Armin K. <krejzi at email dot com>
2Date: 2012-07-06
3Initial Package Version: 0.4.6
4Upstream Status: Unknown
5Origin: Self
6Description: Some build fixes.
7
8Index: obex-data-server-0.4.6/src/ods-obex.c
9===================================================================
10--- obex-data-server-0.4.6.orig/src/ods-obex.c
11+++ obex-data-server-0.4.6/src/ods-obex.c
12@@ -412,7 +412,7 @@ ods_obex_setup_usbtransport (OdsObexCont
13 goto err;
14 }
15
16- interfaces_num = OBEX_FindInterfaces(obex_context->obex_handle, &obex_intf);
17+ interfaces_num = OBEX_EnumerateInterfaces(obex_context->obex_handle);
18 if (intf_num >= interfaces_num) {
19 g_set_error (error, ODS_ERROR, ODS_ERROR_FAILED, "Invalid interface number");
20 goto err;
diff --git a/meta-oe/recipes-connectivity/obex/obex-data-server_0.4.6.bb b/meta-oe/recipes-connectivity/obex/obex-data-server_0.4.6.bb
index c2c284e93d..e10b89c367 100644
--- a/meta-oe/recipes-connectivity/obex/obex-data-server_0.4.6.bb
+++ b/meta-oe/recipes-connectivity/obex/obex-data-server_0.4.6.bb
@@ -2,14 +2,15 @@ DESCRIPTION = "obex-data-server is a D-Bus service providing high-level OBEX cli
2LICENSE = "GPLv2" 2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4 4
5DEPENDS = "gtk+ dbus-glib imagemagick openobex" 5DEPENDS = "gtk+ dbus-glib dbus-glib-native imagemagick openobex"
6DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}" 6DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
7 7
8SRC_URI = "http://tadas.dailyda.com/software/obex-data-server-${PV}.tar.gz" 8SRC_URI = "http://tadas.dailyda.com/software/obex-data-server-${PV}.tar.gz \
9 file://obex-data-server-0.4.6-build-fixes-1.patch \
10"
9SRC_URI[md5sum] = "961ca5db6fe9c97024e133cc6203cc4d" 11SRC_URI[md5sum] = "961ca5db6fe9c97024e133cc6203cc4d"
10SRC_URI[sha256sum] = "b399465ddbd6d0217abedd9411d9d74a820effa0a6a142adc448268d3920094f" 12SRC_URI[sha256sum] = "b399465ddbd6d0217abedd9411d9d74a820effa0a6a142adc448268d3920094f"
11 13
12inherit autotools-brokensep pkgconfig 14inherit autotools-brokensep pkgconfig
13 15
14FILES_${PN} += "${datadir}/dbus-1/" 16FILES_${PN} += "${datadir}/dbus-1/"
15