1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs
Tuomas Tynkkynen ba42683e9a libselinux: Fix ARM build failure
Avoid this warning (which is in turn an error via -Werror):
````
avc_internal.c: In function 'avc_netlink_receive':
avc_internal.c:105:25: error: cast increases required alignment of target type [-Werror=cast-align]
 struct nlmsghdr *nlh = (struct nlmsghdr *)buf;
                        ^
````

The code allocates abuffer with "__attribute__ ((aligned))",
then passes it via a 'char*' parameter, which is then finally cast,
causing the warning. So the code is ok but compiler is not smart
enough to see it.

It seems that -Wcast-align is a no-op on x86, so this shows up on ARM
only.
2016-10-18 23:54:29 +03:00
..
applications hexchat: 2.12.1 -> 2.12.2 (#19659) 2016-10-18 20:19:27 +02:00
build-support Merge staging without python splitting for now 2016-10-14 09:24:21 +02:00
data raleway: fix meta.homepage 2016-10-16 13:10:41 -04:00
desktops kde5.spectacle: include kipi-plugins 2016-10-18 06:45:40 -05:00
development haskellPackages: jailbreak terminal-progress-bar 2016-10-18 18:02:40 +02:00
games Merge pull request #19415 from Mic92/opentyrian 2016-10-10 17:56:41 +02:00
misc mfcj6510dw: init at 3.0.0-1 2016-10-15 18:57:37 +03:00
os-specific libselinux: Fix ARM build failure 2016-10-18 23:54:29 +03:00
servers xorg-server: maintenance 1.18.3 -> 1.18.4 2016-10-18 22:11:51 +02:00
shells oh-my-zsh: 2016-09-24 -> 2016-10-08 2016-10-08 18:32:37 -04:00
stdenv darwin.make-bootstrap-tools: Fix test target 2016-10-15 21:36:51 -04:00
test
tools Merge pull request #19634 from joachifm/tor-2_8_9 2016-10-18 07:02:28 -04:00
top-level pythonPackages.channnels: 0.17.2 -> 0.17.3 2016-10-18 10:27:05 +02:00