diff options
| author | Kai Kang <kai.kang@windriver.com> | 2015-12-03 12:49:29 +0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-01-05 12:43:32 -0500 |
| commit | 5ecb9d547419a93cfaad1a9f8b64d6b79b5ef8b9 (patch) | |
| tree | 4f658ba555764a153f5382cffa4a6f359145c800 /meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc | |
| parent | 83102891877bd857ff0267137c2bc72089cadbc3 (diff) | |
| download | meta-openembedded-5ecb9d547419a93cfaad1a9f8b64d6b79b5ef8b9.tar.gz | |
xl2tpd: fix warnings with gcc 5
When compile with gcc 5.x, xl2tpd complains warnings:
| misc.h:68:20: warning: inline function 'swaps' declared but never
defined
| extern inline void swaps (void *, int);
| ^
Backport patch to fix it.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc')
| -rw-r--r-- | meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc b/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc index ffec167c41..6f7f693309 100644 --- a/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc +++ b/meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc | |||
| @@ -10,7 +10,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0636e73ff0215e8d672dc4c32c317bb3" | |||
| 10 | 10 | ||
| 11 | INC_PR = "r0" | 11 | INC_PR = "r0" |
| 12 | 12 | ||
| 13 | SRC_URI = "git://github.com/xelerance/xl2tpd.git" | 13 | SRC_URI = "git://github.com/xelerance/xl2tpd.git \ |
| 14 | file://fix-inline-functions-errors-with-gcc-5.x.patch \ | ||
| 15 | " | ||
| 14 | 16 | ||
| 15 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
| 16 | 18 | ||
