summaryrefslogtreecommitdiffstats
path: root/package/mcelog
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-06-11 10:07:17 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-11 14:38:52 +0200
commit883f8d3b55947c0f1fe1eed554d21e239e1c7cb3 (patch)
tree7002330600089b6aa29cad4fd0d8b8360cf6be59 /package/mcelog
parentc995e476c9474c360fc3f9d560b8675aa5786f4a (diff)
downloadbuildroot-883f8d3b55947c0f1fe1eed554d21e239e1c7cb3.tar.gz
buildroot-883f8d3b55947c0f1fe1eed554d21e239e1c7cb3.zip
package/mcelog: bump version to 152, add hash
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mcelog')
-rw-r--r--package/mcelog/0001-memutil.h-add-missing-include-for-va_list.patch31
-rw-r--r--package/mcelog/mcelog.hash2
-rw-r--r--package/mcelog/mcelog.mk2
3 files changed, 34 insertions, 1 deletions
diff --git a/package/mcelog/0001-memutil.h-add-missing-include-for-va_list.patch b/package/mcelog/0001-memutil.h-add-missing-include-for-va_list.patch
new file mode 100644
index 0000000000..f9e08be18d
--- /dev/null
+++ b/package/mcelog/0001-memutil.h-add-missing-include-for-va_list.patch
@@ -0,0 +1,31 @@
+From 36aad32283eae5b47a05e3adfa3f5f6a7b1b55c0 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Sun, 11 Jun 2017 10:02:39 +0200
+Subject: [PATCH] memutil.h: add missing include for va_list
+
+Fixes compile error with uclibc-ng:
+
+In file included from mcelog.c:51:0:
+memutil.h:4:48: error: unknown type name 'va_list'
+ int xvasprintf(char **ret, const char *format, va_list ap);
+
+Patch sent upstream: https://github.com/andikleen/mcelog/pull/54
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ memutil.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/memutil.h b/memutil.h
+index 81028e9..dbed7fa 100644
+--- a/memutil.h
++++ b/memutil.h
+@@ -1,4 +1,5 @@
+ #include <stdlib.h>
++#include <stdarg.h>
+
+ int xasprintf(char **strp, const char *fmt, ...);
+ int xvasprintf(char **ret, const char *format, va_list ap);
+--
+2.11.0
+
diff --git a/package/mcelog/mcelog.hash b/package/mcelog/mcelog.hash
new file mode 100644
index 0000000000..f1c0cd54c6
--- /dev/null
+++ b/package/mcelog/mcelog.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 825644a6cfd9b149e848d91d322724f2fb48f3a98441a25d9d38a5dbe02fe1ef mcelog-v152.tar.gz
diff --git a/package/mcelog/mcelog.mk b/package/mcelog/mcelog.mk
index bea31b916f..6952613021 100644
--- a/package/mcelog/mcelog.mk
+++ b/package/mcelog/mcelog.mk
@@ -4,7 +4,7 @@
#
################################################################################
-MCELOG_VERSION = v111
+MCELOG_VERSION = v152
MCELOG_SITE = $(BR2_KERNEL_MIRROR)/scm/utils/cpu/mce/mcelog.git
MCELOG_SITE_METHOD = git
MCELOG_LICENSE = GPL-2.0
OpenPOWER on IntegriCloud