summaryrefslogtreecommitdiffstats
path: root/package/libsepol/0003-add-stdarg-include.patch
diff options
context:
space:
mode:
authorAdam Duskett <Aduskett@gmail.com>2016-06-26 18:39:12 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-01 11:06:37 +0200
commita3ebe45dcb3ef19e48e99b5a51829ed901a29f08 (patch)
treedd53bb399afee53c32ffc162259186621c06ec1c /package/libsepol/0003-add-stdarg-include.patch
parentd6b803f84674c56324358096b3052cafe7286c09 (diff)
downloadbuildroot-a3ebe45dcb3ef19e48e99b5a51829ed901a29f08.tar.gz
buildroot-a3ebe45dcb3ef19e48e99b5a51829ed901a29f08.zip
libsepol: bump to version 2.5
An additional patch is needed to fix the build with uClibc. Signed-off-by: Adam Duskett <Aduskett@gmail.com> [Thomas: add patch to fix build with uClibc.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libsepol/0003-add-stdarg-include.patch')
-rw-r--r--package/libsepol/0003-add-stdarg-include.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/libsepol/0003-add-stdarg-include.patch b/package/libsepol/0003-add-stdarg-include.patch
new file mode 100644
index 0000000000..246c9654dd
--- /dev/null
+++ b/package/libsepol/0003-add-stdarg-include.patch
@@ -0,0 +1,18 @@
+Add missing <stdarg.h> include
+
+This is needed to fix the build on uClibc, due to the usage of
+va_list.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+Index: b/cil/src/cil_log.h
+===================================================================
+--- a/cil/src/cil_log.h
++++ b/cil/src/cil_log.h
+@@ -30,6 +30,7 @@
+ #define CIL_LOG_H_
+
+ #include <stdlib.h>
++#include <stdarg.h>
+ #include <cil/cil.h>
+
+ #define MAX_LOG_SIZE 512
OpenPOWER on IntegriCloud