forked from ports/contrib
bluez-libs: fixed compilation issue with gcc 4.3
This commit is contained in:
parent
cadd6faf01
commit
a3303880d5
@ -15,9 +15,9 @@ drwxr-xr-x root/root usr/include/bluetooth/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libbluetooth.a
|
||||
-rwxr-xr-x root/root usr/lib/libbluetooth.la
|
||||
lrwxrwxrwx root/root usr/lib/libbluetooth.so -> libbluetooth.so.2.9.2
|
||||
lrwxrwxrwx root/root usr/lib/libbluetooth.so.2 -> libbluetooth.so.2.9.2
|
||||
-rwxr-xr-x root/root usr/lib/libbluetooth.so.2.9.2
|
||||
lrwxrwxrwx root/root usr/lib/libbluetooth.so -> libbluetooth.so.1.0.25
|
||||
lrwxrwxrwx root/root usr/lib/libbluetooth.so.1 -> libbluetooth.so.1.0.25
|
||||
-rwxr-xr-x root/root usr/lib/libbluetooth.so.1.0.25
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/bluez.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
|
@ -1 +1,2 @@
|
||||
ebc8408c9a74c785786a2ef7185fe628 bluez-libs-2.25.tar.gz
|
||||
a042c10f6d70de9a3ae16cf5db78f2cd bluez-libs.gcc43.patch
|
||||
|
@ -4,11 +4,12 @@
|
||||
|
||||
name=bluez-libs
|
||||
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-libs.gcc43.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -p1 -i $SRC/bluez-libs.gcc43.patch
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
10
bluez-libs/bluez-libs.gcc43.patch
Normal file
10
bluez-libs/bluez-libs.gcc43.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- bluez-libs-2.25/src/sdp.c.orig 2009-05-29 23:15:56.842504977 +0900
|
||||
+++ bluez-libs-2.25/src/sdp.c 2009-05-29 23:16:10.695271325 +0900
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <sys/socket.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include <bluetooth/bluetooth.h>
|
||||
#include <bluetooth/hci.h>
|
Loading…
x
Reference in New Issue
Block a user