mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/libuhd to 3.10.2.0-3
This commit is contained in:
parent
40661643ad
commit
0953f45e0b
1 changed files with 7 additions and 2 deletions
|
@ -8,9 +8,9 @@
|
||||||
pkgname=libuhd
|
pkgname=libuhd
|
||||||
pkgver=3.10.2.0
|
pkgver=3.10.2.0
|
||||||
_verstring='003_010_002_000'
|
_verstring='003_010_002_000'
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="Universal Software Radio Peripheral (USRP) userspace driver"
|
pkgdesc="Universal Software Radio Peripheral (USRP) userspace driver"
|
||||||
arch=('x86_64' 'i686')
|
arch=('x86_64')
|
||||||
url="http://www.ettus.com/kb/category/software-documentation/uhd-manual"
|
url="http://www.ettus.com/kb/category/software-documentation/uhd-manual"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('boost-libs' 'orc' 'libusb')
|
depends=('boost-libs' 'orc' 'libusb')
|
||||||
|
@ -24,6 +24,11 @@ md5sums=('f1e1977cd6c146daf800df681cb22944'
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
patch -d uhd-release_$_verstring -p1 -i ../0001-remove-ineffectual-neon-check.patch
|
patch -d uhd-release_$_verstring -p1 -i ../0001-remove-ineffectual-neon-check.patch
|
||||||
|
cd "$srcdir/uhd-release_$_verstring/host"
|
||||||
|
# from commit d9d9d0a8a2e6, remove on 3.10.2.1
|
||||||
|
sed -i 's|socket->native()|socket->native_handle()|' examples/network_relay.cpp
|
||||||
|
sed -i 's|socket->native()|socket->native_handle()|' lib/transport/{tcp_zero_copy,udp_simple,udp_zero_copy}.cpp
|
||||||
|
sed -i 's|recver->native()|recver->native_handle()|' lib/usrp/e300/e300_network.cpp
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue