1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/applications
Will Dietz 3d4aa7e95d qemu: workaround 'struct sysinfo' conflict musl <--> linux
Most everyone using musl patches the linux headers instead,
but various software uses a local workaround like the
one added in this commit (psutils, for example).

It's not obvious to me which project has the "bug",
and I'm reluctant to even propose modifying our headers
without clear answer on the issue.

Also, modifying those headers triggers rebuild-all-the-things.

Hopefully upstream projects sort this out, in the meantime
adding this define is a bit of a kludge but does the job.

-------

For the curious, the patch usually is something like this:
https://patchwork.kernel.org/patch/3833241/

Here's an updated version that also ensures
kernel users get the sysinfo struct as expected too:
https://raw.githubusercontent.com/openwrt/openwrt/e3c43ade0bae9491aeea50fa361e846bb5002dc0/target/linux/generic/pending-4.14/270-uapi-kernel.h-glibc-specific-inclusion-of-sysinfo.h.patch

(cherry picked from commit dtzWill/nixpkgs@91b5f5a463)
2018-04-26 17:58:16 +02:00
..
altcoins Merge pull request #39310 from Mic92/bitcoin-fixes 2018-04-23 08:36:59 +01:00
audio treewide: isArm -> isAarch32 2018-04-25 15:28:55 -04:00
backup treewide: remove placeholder usage 2018-03-27 20:14:44 +02:00
display-managers treewide: move "extensions" drvs to dir 2018-04-17 13:50:49 -05:00
editors Merge pull request #39436 from LnL7/vim-ft-nix 2018-04-25 08:36:36 +01:00
gis grass: compile with libLAS 2018-04-17 09:29:02 +01:00
graphics inkscape: Fix build on NixOS 2018-04-25 17:09:04 +02:00
inferno
kde kde-applications: Create alias to okteta 2018-04-25 09:35:50 +08:00
misc Merge pull request #39485 from sorki/ipmicfg_patchelf 2018-04-25 22:21:37 +01:00
networking treewide: isArm -> isAarch32 2018-04-25 15:28:55 -04:00
office calligra: 3.0.1 -> 3.1.0 2018-04-25 09:40:26 +08:00
science Merge pull request #39503 from veprbl/pr/sacrifice_darwin_fix 2018-04-25 22:22:19 +01:00
search grepcidr: init at 2.0 (#38685) 2018-04-20 15:40:28 +02:00
taxes
version-management git: Set PERL_PATH when building manual 2018-04-24 19:00:34 -04:00
video pitivi: 0.96 → 0.99 2018-04-25 15:14:17 +02:00
virtualization qemu: workaround 'struct sysinfo' conflict musl <--> linux 2018-04-26 17:58:16 +02:00
window-managers Merge pull request #38692 from r-ryantm/auto-update/weston 2018-04-19 23:31:24 -05:00