[oe-commits] Stefan Schmidt : llvm2.7_2.7.bb: Update patch to use c++ include style.
git at git.openembedded.org
git at git.openembedded.org
Tue Dec 20 07:47:17 UTC 2011
Module: openembedded.git
Branch: sledz/pull
Commit: 4a10ffff7f62f6056a3d5175ca9d153cc5b98161
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=4a10ffff7f62f6056a3d5175ca9d153cc5b98161
Author: Stefan Schmidt <stefan at buglabs.net>
Date: Mon May 16 11:10:38 2011 +0200
llvm2.7_2.7.bb: Update patch to use c++ include style.
As henning suggested on we should use a c++ style include here instead. Thus
changing to #include <cstddef>
Signed-off-by: Stefan Schmidt <stefan at datenfreihafen.org>
---
recipes/llvm/llvm2.7/include-fixes.patch | 8 ++++----
recipes/llvm/llvm2.7_2.7.bb | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/recipes/llvm/llvm2.7/include-fixes.patch b/recipes/llvm/llvm2.7/include-fixes.patch
index 9e71e40..2783f4d 100644
--- a/recipes/llvm/llvm2.7/include-fixes.patch
+++ b/recipes/llvm/llvm2.7/include-fixes.patch
@@ -13,7 +13,7 @@ Index: llvm-2.7/include/llvm/ADT/SmallVector.h
#include <cassert>
#include <cstring>
#include <memory>
-+#include <stddef.h>
++#include <cstddef>
#ifdef _MSC_VER
namespace std {
@@ -25,7 +25,7 @@ Index: llvm-2.7/include/llvm/ADT/ilist.h
#include <cassert>
#include <iterator>
-+#include <stddef.h>
++#include <cstddef>
namespace llvm {
@@ -37,7 +37,7 @@ Index: llvm-2.7/include/llvm/Use.h
#include "llvm/Support/Casting.h"
#include "llvm/ADT/PointerIntPair.h"
#include <iterator>
-+#include <stddef.h>
++#include <cstddef>
namespace llvm {
@@ -49,7 +49,7 @@ Index: llvm-2.7/include/llvm/ADT/DenseMap.h
#include <utility>
#include <cassert>
#include <cstring>
-+#include <stddef.h>
++#include <cstddef>
namespace llvm {
diff --git a/recipes/llvm/llvm2.7_2.7.bb b/recipes/llvm/llvm2.7_2.7.bb
index 12755db..7d56e7d 100644
--- a/recipes/llvm/llvm2.7_2.7.bb
+++ b/recipes/llvm/llvm2.7_2.7.bb
@@ -1,6 +1,6 @@
require llvm.inc
-PR = "r10"
+PR = "r11"
DEPENDS = "llvm-common llvm2.7-native"
More information about the Openembedded-commits
mailing list