summaryrefslogtreecommitdiffstats
path: root/package/powertop/0004-add-missing-stdio.h-header.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-06-01 22:28:14 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-06-01 22:28:14 +0200
commit11271540bfe6adafbc133caf6b5b902a816f5f02 (patch)
tree48df469d4e88c7e6efc0a8f4f8d5a386468ed72b /package/powertop/0004-add-missing-stdio.h-header.patch
parent24d6c5258ee38c38f0156b057cecd3cfe7ed7b1d (diff)
parent8e5eef6c323c6a928ccea7279b3d9848419b99d9 (diff)
downloadbuildroot-11271540bfe6adafbc133caf6b5b902a816f5f02.tar.gz
buildroot-11271540bfe6adafbc133caf6b5b902a816f5f02.zip
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/powertop/0004-add-missing-stdio.h-header.patch')
-rw-r--r--package/powertop/0004-add-missing-stdio.h-header.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/package/powertop/0004-add-missing-stdio.h-header.patch b/package/powertop/0004-add-missing-stdio.h-header.patch
deleted file mode 100644
index 7619cca131..0000000000
--- a/package/powertop/0004-add-missing-stdio.h-header.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From e6cfd977c81b335664db1d5d3d6b5488c245e30f Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@openwide.fr>
-Date: Sat, 8 Aug 2015 18:26:15 +0200
-Subject: [PATCH] add missing stdio.h header
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-snprinf is defined in stdio.h.
-
-Fixes:
-perf/perf_bundle.cpp: In function ‘void parse_event_format(const char*)’:
-perf/perf_bundle.cpp:141:75: error: ‘sprintf’ was not declared in this scope
- sprintf(file, "/sys/kernel/debug/tracing/events/%s/%s/format", sys, event);
-
-Signed-off-by: Romain Naour <romain.naour@openwide.fr>
----
- src/perf/perf_bundle.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/perf/perf_bundle.cpp b/src/perf/perf_bundle.cpp
-index cf1ae11..3d216ff 100644
---- a/src/perf/perf_bundle.cpp
-+++ b/src/perf/perf_bundle.cpp
-@@ -31,6 +31,7 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <unistd.h>
-+#include <stdio.h>
-
- #include "perf_bundle.h"
- #include "perf_event.h"
---
-2.4.3
-
OpenPOWER on IntegriCloud