gnuradio3_8Packages.grnet: fix compilation on darwin
This commit is contained in:
parent
fffa532feb
commit
40ebb33f6b
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, mkDerivation
|
, mkDerivation
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, gnuradio
|
, gnuradio
|
||||||
, cmake
|
, cmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
@ -54,6 +55,16 @@ mkDerivation {
|
||||||
inherit src;
|
inherit src;
|
||||||
disabledForGRafter = "3.10";
|
disabledForGRafter = "3.10";
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Use cross platform struct ip instead of iphdr
|
||||||
|
# https://github.com/ghostop14/gr-grnet/pull/19
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-compilation-on-darwin.patch";
|
||||||
|
url = "https://github.com/ghostop14/gr-grnet/commit/52c07daa9ba595b76ffa5dd90c0c96694d95d140.patch";
|
||||||
|
sha256 = "sha256-1gJaYLIn09blOhALMfBPROt5YBXaosG41Vsd3+5h518=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost
|
boost
|
||||||
log4cpp
|
log4cpp
|
||||||
|
|
Loading…
Reference in a new issue