mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
virtualbox: fixup build with glibc-2.26
Explanation: https://www.linuxquestions.org/questions/slackware-14/sbo-scripts-not-building-on-current-read-1st-post-pls-4175561999/page46.html#post5753698
This commit is contained in:
parent
27f7999280
commit
18aada9c4c
1 changed files with 8 additions and 0 deletions
|
@ -94,6 +94,14 @@ in stdenv.mkDerivation {
|
|||
postPatch = ''
|
||||
sed -i -e 's|/sbin/ifconfig|${nettools}/bin/ifconfig|' \
|
||||
src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp
|
||||
patch -p0 < ${
|
||||
fetchurl { # for glibc-2.26
|
||||
name = "conflicting-types-for-greg_t.patch";
|
||||
url = "http://www.linuxquestions.org/questions/"
|
||||
+ "attachment.php?attachmentid=25801&d=1504099531";
|
||||
sha256 = "1bcyf9qrqxizyjp1s662k6n1cfyfjbl7256r4n20kbr65yxcydps";
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
||||
# first line: ugly hack, and it isn't yet clear why it's a problem
|
||||
|
|
Loading…
Reference in a new issue