From 0a2af233106bfb431892313f9e5f442e2e4b678e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sun, 8 May 2011 19:12:45 +0200 Subject: [PATCH] Contribs: fix orc stdint weird inclusions in 0.4.14 Should fix wiN32 contribs --- extras/contrib/src/Patches/orc-stdint.patch | 30 +++++++++++++++++++++++++++++ extras/contrib/src/contrib-src.mak | 1 + 2 files changed, 31 insertions(+) create mode 100644 extras/contrib/src/Patches/orc-stdint.patch diff --git a/extras/contrib/src/Patches/orc-stdint.patch b/extras/contrib/src/Patches/orc-stdint.patch new file mode 100644 index 0000000000..4f97829ebe --- /dev/null +++ b/extras/contrib/src/Patches/orc-stdint.patch @@ -0,0 +1,30 @@ +--- orc/orc/orc.h 2011-04-14 21:07:08.000000000 +0200 ++++ orc.new/orc/orc.h 2011-05-08 19:03:51.294908858 +0200 +@@ -2,6 +2,7 @@ + #ifndef _ORC_ORC_H_ + #define _ORC_ORC_H_ + ++#include + #include + #include + #include +@@ -12,7 +13,6 @@ + #include + #include + #include +-#include + #include + #include + +--- orc/orc/orcutils.h 2011-04-28 00:29:24.000000000 +0200 ++++ orc.new/orc/orcutils.h 2011-05-08 19:10:13.380803529 +0200 +@@ -30,8 +30,8 @@ + + #ifndef _ORC_INTEGER_TYPEDEFS_ + #define _ORC_INTEGER_TYPEDEFS_ +-#if defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L + #include ++#if defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L + typedef int8_t orc_int8; + typedef int16_t orc_int16; + typedef int32_t orc_int32; diff --git a/extras/contrib/src/contrib-src.mak b/extras/contrib/src/contrib-src.mak index a3a63bf4e7..98677615ec 100644 --- a/extras/contrib/src/contrib-src.mak +++ b/extras/contrib/src/contrib-src.mak @@ -2374,6 +2374,7 @@ orc-$(ORC_VERSION).tar.gz: orc: orc-$(ORC_VERSION).tar.gz $(EXTRACT_GZ) + patch -p0 < Patches/orc-stdint.patch .orc: orc ifdef HAVE_MACOSX -- 2.11.4.GIT