Patchwork [2011.03-maintenance,2/5] llvm2.7_2.7.bb: Update patch to use c++ include style.

login
register
mail settings
Submitter Steffen Sledz
Date Dec. 14, 2011, 11:40 a.m.
Message ID <3904feb71c67aed74e003d8e8bc576f934caa8be.1323862499.git.sledz@dresearch-fe.de>
Download mbox | patch
Permalink /patch/16913/
State Accepted
Headers show

Comments

Steffen Sledz - Dec. 14, 2011, 11:40 a.m.
From: Stefan Schmidt <stefan@buglabs.net>

As henning suggested on we should use a c++ style include here instead. Thus
changing to #include <cstddef>

Signed-off-by: Stefan Schmidt <stefan@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(-)

Patch

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"