bluez: rebuild against libudev-183.

This commit is contained in:
Juan RP 2012-05-26 16:58:31 +02:00
parent e6abbeba1c
commit acee346ee3
3 changed files with 14 additions and 3 deletions

View file

@ -6,4 +6,4 @@ libpthread.so.0
libcap-ng.so.0
libdl.so.2
libreadline.so.6
libudev.so.0
libudev.so.1

View file

@ -0,0 +1,11 @@
--- tools/hid2hci.c.orig 2012-05-26 16:50:39.734627361 +0200
+++ tools/hid2hci.c 2012-05-26 16:50:52.229332774 +0200
@@ -293,7 +293,7 @@ int main(int argc, char *argv[])
goto exit;
}
- snprintf(syspath, sizeof(syspath), "%s/%s", udev_get_sys_path(udev), devpath);
+ snprintf(syspath, sizeof(syspath), "%s/%s", "/sys", devpath);
udev_dev = udev_device_new_from_syspath(udev, syspath);
if (udev_dev == NULL) {
fprintf(stderr, "error: could not find '%s'\n", devpath);

View file

@ -1,7 +1,7 @@
# Template file for 'bluez'
pkgname=bluez
version=4.99
revision=4
revision=5
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--libexecdir=/lib --enable-gstreamer --enable-dund
@ -9,7 +9,7 @@ configure_args="--libexecdir=/lib --enable-gstreamer --enable-dund
--enable-hid2hci --enable-dfutool --enable-hidd --enable-pand
--enable-cups --enable-capng --enable-pnat --enable-wiimote --disable-test"
subpackages="bluez-alsa bluez-compat bluez-gstreamer libbluetooth libbluetooth-devel"
makedepends="pkg-config flex libudev-devel readline-devel gst-plugins-base-devel dbus-devel glib-devel libusb-compat-devel libcap-ng-devel libsndfile-devel cups-devel"
makedepends="pkg-config flex libudev-devel>=183 readline-devel gst-plugins-base-devel dbus-devel glib-devel libusb-compat-devel libcap-ng-devel libsndfile-devel cups-devel"
short_desc="Bluetooth tools and daemons"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.bluez.org/"