[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
Wed Dec 14 11:37:18 UTC 2011


Module: openembedded.git
Branch: sledz/maintenance
Commit: 3904feb71c67aed74e003d8e8bc576f934caa8be
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=3904feb71c67aed74e003d8e8bc576f934caa8be

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