[arch-commits] Commit in obex-data-server/trunk (2 files)

Eric Bélanger eric at nymeria.archlinux.org
Wed May 29 16:13:21 EDT 2013


    Date: Wednesday, May 29, 2013 @ 22:13:20
  Author: eric
Revision: 186587

upgpkg: obex-data-server 0.4.6-6

Rebuild against openobex 1.7

Added:
  obex-data-server/trunk/obex-data-server-openobex17.patch
Modified:
  obex-data-server/trunk/PKGBUILD

-----------------------------------+
 PKGBUILD                          |   13 ++++++++++---
 obex-data-server-openobex17.patch |   12 ++++++++++++
 2 files changed, 22 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-29 19:11:02 UTC (rev 186586)
+++ PKGBUILD	2013-05-29 20:13:20 UTC (rev 186587)
@@ -6,15 +6,22 @@
 
 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}
   ./configure --prefix=/usr \

Added: obex-data-server-openobex17.patch
===================================================================
--- obex-data-server-openobex17.patch	                        (rev 0)
+++ obex-data-server-openobex17.patch	2013-05-29 20:13:20 UTC (rev 186587)
@@ -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;



More information about the arch-commits mailing list