From 0953f45e0bb6181af1138c84865a1d8813c599c0 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 6 Jan 2018 20:51:18 +0000 Subject: [PATCH] community/libuhd to 3.10.2.0-3 --- community/libuhd/PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/community/libuhd/PKGBUILD b/community/libuhd/PKGBUILD index d1b4ac27a..6d9e5e77e 100644 --- a/community/libuhd/PKGBUILD +++ b/community/libuhd/PKGBUILD @@ -8,9 +8,9 @@ pkgname=libuhd pkgver=3.10.2.0 _verstring='003_010_002_000' -pkgrel=2 +pkgrel=3 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" license=('GPL') depends=('boost-libs' 'orc' 'libusb') @@ -24,6 +24,11 @@ md5sums=('f1e1977cd6c146daf800df681cb22944' prepare() { 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() {