From dc37452c9b94bfc6539fa75fc3c6cdf3bbae44bf Mon Sep 17 00:00:00 2001 From: Alan Mizrahi Date: Tue, 2 Jun 2009 20:06:10 +0900 Subject: [PATCH] bluez-utils: fixed compilation issue with gcc 4.3 --- bluez-utils/.md5sum | 1 + bluez-utils/Pkgfile | 5 ++-- bluez-utils/bluez-utils.gcc43.patch | 40 +++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 bluez-utils/bluez-utils.gcc43.patch diff --git a/bluez-utils/.md5sum b/bluez-utils/.md5sum index 919dbe5bd..21e8d459e 100644 --- a/bluez-utils/.md5sum +++ b/bluez-utils/.md5sum @@ -1 +1,2 @@ ae3729ab5592be06ed01b973d4b3e9fe bluez-utils-2.25.tar.gz +3515e68f53ab4018fdef10f0026f9508 bluez-utils.gcc43.patch diff --git a/bluez-utils/Pkgfile b/bluez-utils/Pkgfile index 5bff2263f..290b477be 100644 --- a/bluez-utils/Pkgfile +++ b/bluez-utils/Pkgfile @@ -5,11 +5,12 @@ name=bluez-utils version=2.25 -release=1 -source=(http://bluez.sourceforge.net/download/$name-$version.tar.gz) +release=2 +source=(http://bluez.sourceforge.net/download/$name-$version.tar.gz bluez-utils.gcc43.patch) build() { cd $name-$version + patch -p1 -i $SRC/bluez-utils.gcc43.patch ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-alsa \ diff --git a/bluez-utils/bluez-utils.gcc43.patch b/bluez-utils/bluez-utils.gcc43.patch new file mode 100644 index 000000000..8c8efc0e7 --- /dev/null +++ b/bluez-utils/bluez-utils.gcc43.patch @@ -0,0 +1,40 @@ +--- bluez-utils-2.25/tools/hciconfig.c.orig 2009-05-29 23:20:42.465846076 +0900 ++++ bluez-utils-2.25/tools/hciconfig.c 2009-05-29 23:20:24.656113414 +0900 +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + + #include + #include +--- bluez-utils-2.25/tools/hciattach.c.orig 2009-05-29 23:09:38.201730680 +0900 ++++ bluez-utils-2.25/tools/hciattach.c 2009-05-29 23:10:00.495664682 +0900 +@@ -40,6 +40,7 @@ + #include + #include + #include ++#include + + #include + #include +--- bluez-utils-2.25/sdpd/request.c.orig 2009-05-29 23:21:31.751057125 +0900 ++++ bluez-utils-2.25/sdpd/request.c 2009-05-29 23:21:45.857770332 +0900 +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #include + #include +--- bluez-utils-2.25/hidd/sdp.c.orig 2009-05-29 23:23:37.324463314 +0900 ++++ bluez-utils-2.25/hidd/sdp.c 2009-05-29 23:24:18.087891487 +0900 +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + + #include + #include