forked from mirrors/nixpkgs
uhub: fix build for aarch64
related: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770175 related: https://github.com/janvidar/uhub/issues/46
This commit is contained in:
parent
92a77c32ba
commit
d74ea280d1
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, fetchFromGitHub, cmake, openssl, sqlite, pkgconfig, systemd
|
{ stdenv, fetchpatch, fetchFromGitHub, cmake, openssl, sqlite, pkgconfig, systemd
|
||||||
, tlsSupport ? false }:
|
, tlsSupport ? false }:
|
||||||
|
|
||||||
assert tlsSupport -> openssl != null;
|
assert tlsSupport -> openssl != null;
|
||||||
|
@ -31,9 +31,14 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./plugin-dir.patch
|
./plugin-dir.patch
|
||||||
|
# fix aarch64 build: https://github.com/janvidar/uhub/issues/46
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/janvidar/uhub/pull/47.patch";
|
||||||
|
sha256 = "07yik6za89ar5bxm7m2183i7f6hfbawbxvd4vs02n1zr2fgfxmiq";
|
||||||
|
})
|
||||||
|
|
||||||
# Fixed compilation on systemd > 210
|
# Fixed compilation on systemd > 210
|
||||||
(fetchurl {
|
(fetchpatch {
|
||||||
url = "https://github.com/janvidar/uhub/commit/70f2a43f676cdda5961950a8d9a21e12d34993f8.diff";
|
url = "https://github.com/janvidar/uhub/commit/70f2a43f676cdda5961950a8d9a21e12d34993f8.diff";
|
||||||
sha256 = "1jp8fvw6f9jh0sdjml9mahkk6p6b96p6rzg2y601mnnbcdj8y8xp";
|
sha256 = "1jp8fvw6f9jh0sdjml9mahkk6p6b96p6rzg2y601mnnbcdj8y8xp";
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue