bluez: fix build with new gcc

This commit is contained in:
Alan Mizrahi 2017-02-21 11:51:21 +09:00
parent f8cb6e9a72
commit 176fc55d00
3 changed files with 10 additions and 3 deletions

View File

@ -1,2 +1,3 @@
39f8eb8796b87682aaebe0651875373b bluetooth.h?id=cf52a40302d0d20ccca22a7a1f53e46ef8abfca8
8faf24d9748450e7caecd0673109dddf bluetoothd
c828c172f01f20c6ecd7f407894956a2 bluez-4.101.tar.xz

View File

@ -1,6 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/Y4EDsYg+G5Ilctlos/IPhjhzTZWbqYCG6Mf/W93nTs8S8KiLsjfjKbmAEg9Hx0ttW1Cuzl49402OW76dfu/AAI=
SHA256 (Pkgfile) = 6e2713bc2eadd71e4c13e09b9404e0a0b00a9000aa73d57d2b3964ffc11e5124
RWSE3ohX2g5d/ZXsD178ioxahAksxVZIOk25Ix/GwntjG6DziResPu2TU2gJuZDZCzQkSmui1XSczsSWiD06MAmzLMVMy+MOsQE=
SHA256 (Pkgfile) = 7cd25acc58eda372ff24992881eba88ee2b6de11cf62e5fb767627b1fac400c9
SHA256 (.footprint) = 2d6aa1ed3254ec65ed77e30f5e3c6bc2aa4bfeb0df1e15745d89129529f48db2
SHA256 (bluez-4.101.tar.xz) = 41f9578bef39b8c94a2d6ddeaa556afd22d136936d0f03100e422fe970a45a7d
SHA256 (bluetoothd) = 3cd23999762c0ca3e0559af307a8dbd4b7f8a58fc4bb2701d278dc49ec14a0b9
SHA256 (bluetooth.h?id=cf52a40302d0d20ccca22a7a1f53e46ef8abfca8) = e355baff50e7701d69fa8a6ea47172dac046dd28b320c6ad39e8af932468f563

View File

@ -7,11 +7,16 @@
name=bluez
version=4.101
release=4
source=(http://www.kernel.org/pub/linux/bluetooth/bluez-$version.tar.xz bluetoothd)
source=(http://www.kernel.org/pub/linux/bluetooth/bluez-$version.tar.xz bluetoothd
http://git.kernel.org/cgit/bluetooth/bluez.git/patch/lib/bluetooth.h?id=cf52a40302d0d20ccca22a7a1f53e46ef8abfca8
)
build() {
cd $name-$version
# Fix bluetooth.h to compile in strict C
patch -p1 -i $SRC/'bluetooth.h?id=cf52a40302d0d20ccca22a7a1f53e46ef8abfca8'
./configure \
--prefix=/usr \
--sysconfdir=/etc \