]> git.sesse.net Git - vlc/commitdiff
Contribs: fix orc stdint weird inclusions in 0.4.14
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 8 May 2011 17:12:45 +0000 (19:12 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 8 May 2011 17:13:20 +0000 (19:13 +0200)
Should fix wiN32 contribs

extras/contrib/src/Patches/orc-stdint.patch [new file with mode: 0644]
extras/contrib/src/contrib-src.mak

diff --git a/extras/contrib/src/Patches/orc-stdint.patch b/extras/contrib/src/Patches/orc-stdint.patch
new file mode 100644 (file)
index 0000000..4f97829
--- /dev/null
@@ -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 <orc/orcutils.h>
+ #include <orc/orcprogram.h>
+ #include <orc/orc-stdint.h>
+ #include <orc/orcarm.h>
+@@ -12,7 +13,6 @@
+ #include <orc/orcparse.h>
+ #include <orc/orcprogram.h>
+ #include <orc/orcsse.h>
+-#include <orc/orcutils.h>
+ #include <orc/orcx86.h>
+ #include <orc/orcpowerpc.h>
+--- 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 <stdint.h>
++#if defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L
+ typedef int8_t orc_int8;
+ typedef int16_t orc_int16;
+ typedef int32_t orc_int32;
index a3a63bf4e7c03e912131ec1dc24a3cfc57568df7..98677615ec9d405d405f29b52ac6cb902ac7c392 100644 (file)
@@ -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