uhd: revision for boost

patch for Boost 1.66 compat
This commit is contained in:
ilovezfs 2017-12-19 02:53:48 -08:00
parent 94e5230ed1
commit 834e0eb95d

View file

@ -3,7 +3,7 @@ class Uhd < Formula
homepage "https://files.ettus.com/manual/"
url "https://github.com/EttusResearch/uhd/archive/release_003_010_002_000.tar.gz"
sha256 "7f96d00ed8a1458b31add31291fae66afc1fed47e1dffd886dffa71a8281fabe"
revision 1
revision 2
head "https://github.com/EttusResearch/uhd.git"
bottle do
@ -25,6 +25,14 @@ class Uhd < Formula
sha256 "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae"
end
# Fix "error: no member named 'native' in
# 'boost::asio::basic_datagram_socket<boost::asio::ip::udp>'"
# Upstream PR from 19 Dec 2017 "Fix build with Boost 1.66"
patch do
url "https://github.com/EttusResearch/uhd/pull/148.patch?full_index=1"
sha256 "f7fcc3091d843f5c85c22845193df1ec75c389b556fd375b5023900908f01b33"
end
def install
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"