xl2tpd: fix warnings with gcc 5
PATCH 1/1 xl2tpd: fix warnings with gcc 5
From: Kai Kang <[email protected]>
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 <[email protected]>
--- .../recipes-protocols/xl2tpd/xl2tpd.inc | 4 +- .../fix-inline-functions-errors-with-gcc-5.x.patch | 134 +++++++++++++++++++++ .../recipes-protocols/xl2tpd/xl2tpd_1.3.6.bb | 4 +- 3 files changed, 140 insertions(+), 2 deletions(-) create mode 100644 meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch
meta-networking/recipes-protocols/xl2tpd/xl2tpd.inc +3 -1
@@ -10,7 +10,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0636e73ff0215e8d672dc4c32c317bb3" INC_PR = "r0" -SRC_URI = "git://github.com/xelerance/xl2tpd.git" +SRC_URI = "git://github.com/xelerance/xl2tpd.git \ + file://fix-inline-functions-errors-with-gcc-5.x.patch \ +" S = "${WORKDIR}/git"
meta-networking/recipes-protocols/xl2tpd/xl2tpd/fix-inline-functions-errors-with-gcc-5.x.patch new file +134 -0
134 lines not on this page · raw message
meta-networking/recipes-protocols/xl2tpd/xl2tpd_1.3.6.bb +3 -1
@@ -1,3 +1,5 @@ require xl2tpd.inc -SRC_URI = "git://github.com/xelerance/xl2tpd.git;protocol=git;tag=v${PV}" +SRC_URI = "git://github.com/xelerance/xl2tpd.git;protocol=git;tag=v${PV} \ + file://fix-inline-functions-errors-with-gcc-5.x.patch \ +"
Signature · 1 line
2.6.1