Skip to content

Commit

Permalink
virtualbox: fixup build with glibc-2.26
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Nov 8, 2017
1 parent 27f7999 commit 18aada9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/applications/virtualization/virtualbox/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit 18aada9

Please sign in to comment.