diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-10-14 08:50:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-15 09:57:09 +0100 |
commit | 68e917aa778742da104c038a6e1ffa789fe95410 (patch) | |
tree | 7a77b6b50608f2684451de962a8ba5825c95c5aa /meta/recipes-connectivity/ppp/ppp_2.4.7.bb | |
parent | efc92a63d40b909864505d3d6d22ce74cd6a847b (diff) | |
download | openembedded-core-68e917aa778742da104c038a6e1ffa789fe95410.tar.gz openembedded-core-68e917aa778742da104c038a6e1ffa789fe95410.tar.bz2 openembedded-core-68e917aa778742da104c038a6e1ffa789fe95410.zip |
ppp: fix building with linux-4.8
Fix a build error when using the linux-4.8 headers that results in:
In file included from pppoe.h:87:0,
from plugin.c:29:
../usr/include/netinet/in.h:211:8: note: originally defined here
struct in6_addr
^~~~~~~~
In file included from ../usr/include/linux/if_pppol2tp.h:20:0,
from ../usr/include/linux/if_pppox.h:26,
from plugin.c:52:
../usr/include/linux/in6.h:49:8: error: redefinition of 'struct sockaddr_in6'
struct sockaddr_in6 {
^~~~~~~~~~~~
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/ppp/ppp_2.4.7.bb')
-rw-r--r-- | meta/recipes-connectivity/ppp/ppp_2.4.7.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb index 4437b5c519..56dbd98d24 100644 --- a/meta/recipes-connectivity/ppp/ppp_2.4.7.bb +++ b/meta/recipes-connectivity/ppp/ppp_2.4.7.bb @@ -30,6 +30,7 @@ SRC_URI = "http://ppp.samba.org/ftp/ppp/ppp-${PV}.tar.gz \ file://0001-ppp-Fix-compilation-errors-in-Makefile.patch \ file://ppp@.service \ file://fix-CVE-2015-3310.patch \ + file://ppp-fix-building-with-linux-4.8.patch \ " SRC_URI_append_libc-musl = "\ |