Commit 1a9c88e2 authored by Rafaël Carré's avatar Rafaël Carré

fix libogg build on OSX (patch taken from upstream)

remove obsolete patch forgotten in [4b6e13d3]
parent 5ac972d7
diff -ruN libogg.orig/include/ogg/os_types.h libogg/include/ogg/os_types.h
--- libogg.orig/include/ogg/os_types.h 2004-09-23 15:26:58.000000000 +0200
+++ libogg/include/ogg/os_types.h 2005-08-25 18:42:01.000000000 +0200
@@ -120,6 +120,12 @@
#else
# include <sys/types.h>
+#if defined( HAVE_INTTYPES_H )
+# include <inttypes.h>
+#endif
+#if defined( HAVE_STDINT_H )
+# include <stdint.h>
+#endif
# include <ogg/config_types.h>
#endif
https://trac.xiph.org/changeset/17608/trunk/ogg/include/ogg/os_types.h?format=diff&new=17608
Index: trunk/ogg/include/ogg/os_types.h
===================================================================
--- trunk/ogg/include/ogg/os_types.h (revision 17566)
+++ trunk/ogg/include/ogg/os_types.h (revision 17608)
@@ -71,7 +71,7 @@
# include <inttypes.h>
typedef int16_t ogg_int16_t;
- typedef u_int16_t ogg_uint16_t;
+ typedef uint16_t ogg_uint16_t;
typedef int32_t ogg_int32_t;
- typedef u_int32_t ogg_uint32_t;
+ typedef uint32_t ogg_uint32_t;
typedef int64_t ogg_int64_t;
......@@ -598,6 +598,7 @@ libogg-$(OGG_VERSION).tar.gz:
libogg: libogg-$(OGG_VERSION).tar.gz
$(EXTRACT_GZ)
patch -p0 < Patches/libogg-1.1.patch
(cd $@; patch -p2 < ../Patches/libogg-r17608.diff)
ifdef HAVE_WINCE
patch -p0 < Patches/libogg-wince.patch
endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment