Commit 6bcf1f05 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* patch ogg because it's broken (userdefined defines in public headers are WAY evil)

parent cec58e42
......@@ -477,6 +477,7 @@ libogg-$(OGG_VERSION).tar.gz:
libogg: libogg-$(OGG_VERSION).tar.gz
$(EXTRACT_GZ)
patch -p 0 < Patches/ogg.patch
.ogg: libogg
(cd $<; ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
......
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
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