summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-02-02 12:01:13 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-02-02 15:55:38 -0500
commita9616ca504892a714cae26f6a531637d97f03764 (patch)
tree8dd100b8f84efe7a723ecf8ef6f2fdde4e520267 /recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch
parent31522fd94295d6d1c7b6c27b4cd913c8f34e7582 (diff)
downloadmeta-virtualization-a9616ca504892a714cae26f6a531637d97f03764.tar.gz
lxc: fixup builds with newer glibc
The poky/oe-core commit [glibc: Upgrade to 2.25 snapshot] brought with it a change that has apparently been in the works for a while, to move major() and minor() definitions from <sys/types.h> to <sys/sysmacros.h>. This version of glibc took the step of adding a warning about this change which results in the build failure of lxc since we build with -Werror: | lxclvm.c:139:13: error: In the GNU C Library, "major" is defined | by <sys/sysmacros.h>. For historical compatibility, it is | currently defined by <sys/types.h> as well, but we plan to | remove this soon. To use "major", include <sys/sysmacros.h> | directly. If you did not intend to use a system-defined macro | "major", you should undefine it after including <sys/types.h>. [-Werror] | major(statbuf.st_rdev), minor(statbuf.st_rdev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Instead of dropping -Werror we are opting instead to apply the upstream fix for this since it is available and applies relatively cleanly. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/0001-use-the-linux-if_packet.h-Interface-directly.patch')
0 files changed, 0 insertions, 0 deletions