bctoolbox: fix build with gcc9
This commit is contained in:
parent
f60914ac2c
commit
a45f93171b
@ -1,9 +1,17 @@
|
|||||||
{stdenv, fetchFromGitHub, cmake, mbedtls, bcunit, srtp}:
|
{stdenv, fetchpatch, fetchFromGitHub, cmake, mbedtls, bcunit, srtp}:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${baseName}-${version}";
|
name = "${baseName}-${version}";
|
||||||
baseName = "bctoolbox";
|
baseName = "bctoolbox";
|
||||||
version = "0.6.0";
|
version = "0.6.0";
|
||||||
buildInputs = [cmake mbedtls bcunit srtp];
|
nativeBuildInputs = [cmake];
|
||||||
|
buildInputs = [mbedtls bcunit srtp];
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-gcc9.patch";
|
||||||
|
url = "https://github.com/BelledonneCommunications/bctoolbox/commit/2425a224634c7a70ae91f809bbab51771f0a30d7.patch";
|
||||||
|
sha256 = "0ib859mwwlr6jk6qbwp6x25pp8wgv21lh0qgdsx5hyzwdzqx1b3h";
|
||||||
|
})
|
||||||
|
];
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "BelledonneCommunications";
|
owner = "BelledonneCommunications";
|
||||||
repo = baseName;
|
repo = baseName;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user