diff options
Diffstat (limited to 'extra/obex-data-server')
-rw-r--r-- | extra/obex-data-server/PKGBUILD | 15 | ||||
-rw-r--r-- | extra/obex-data-server/obex-data-server-openobex17.patch | 12 |
2 files changed, 23 insertions, 4 deletions
diff --git a/extra/obex-data-server/PKGBUILD b/extra/obex-data-server/PKGBUILD index 409d6ad3f..48aa64667 100644 --- a/extra/obex-data-server/PKGBUILD +++ b/extra/obex-data-server/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 180312 2013-03-20 02:35:33Z eric $ +# $Id: PKGBUILD 186962 2013-06-01 15:32:06Z eric $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Geoffroy Carrier <geoffroy@archlinux.org> # Contributor: Roman Kyrylych <roman@archlinux.org> @@ -6,14 +6,21 @@ pkgname=obex-data-server pkgver=0.4.6 -pkgrel=5 +pkgrel=6 pkgdesc="A D-Bus service providing high-level OBEX client and server side functionality" arch=('i686' 'x86_64') url="http://wiki.muiline.com/obex-data-server" license=('GPL') depends=('dbus-glib' 'openobex' 'imagemagick') -source=("http://tadas.dailyda.com/software/${pkgname}-${pkgver}.tar.gz") -md5sums=('961ca5db6fe9c97024e133cc6203cc4d') +source=("http://tadas.dailyda.com/software/${pkgname}-${pkgver}.tar.gz" + "obex-data-server-openobex17.patch") +md5sums=('961ca5db6fe9c97024e133cc6203cc4d' + '4199b3f0178d2b58eb36ee36ed1d07d5') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 -i "${srcdir}/obex-data-server-openobex17.patch" +} build() { cd ${pkgname}-${pkgver} diff --git a/extra/obex-data-server/obex-data-server-openobex17.patch b/extra/obex-data-server/obex-data-server-openobex17.patch new file mode 100644 index 000000000..047c46c50 --- /dev/null +++ b/extra/obex-data-server/obex-data-server-openobex17.patch @@ -0,0 +1,12 @@ +diff -Naur obex-data-server-0.4.6-orig/src/ods-obex.c obex-data-server-0.4.6/src/ods-obex.c +--- obex-data-server-0.4.6-orig/src/ods-obex.c 2013-05-29 16:01:54.051692334 -0400 ++++ obex-data-server-0.4.6/src/ods-obex.c 2013-05-29 16:03:23.200697099 -0400 +@@ -412,7 +412,7 @@ + goto err; + } + +- interfaces_num = OBEX_FindInterfaces(obex_context->obex_handle, &obex_intf); ++ interfaces_num = OBEX_EnumerateInterfaces(obex_context->obex_handle); + if (intf_num >= interfaces_num) { + g_set_error (error, ODS_ERROR, ODS_ERROR_FAILED, "Invalid interface number"); + goto err; |