Commit e7c2a27e authored by Christophe Mutricy's avatar Christophe Mutricy

Fix flac compilation

parent 1c60a0f6
......@@ -806,6 +806,9 @@ flac: flac-$(FLAC_VERSION).tar.gz
$(EXTRACT_GZ)
ifneq ($(HOST),$(BUILD))
(patch -p0 < Patches/flac-cross.patch)
endif
ifdef HAVE_WIN32
patch -p0 < Patches/flac-win32.patch
endif
cd $@ && autoconf
......
diff -ur flac-1.2.1/include/share/alloc.h flac/include/share/alloc.h
--- flac-1.2.1/include/share/alloc.h 2007-09-12 06:32:21.000000000 +0100
+++ flac/include/share/alloc.h 2007-09-25 20:54:09.000000000 +0100
@@ -28,7 +28,7 @@
*/
#include <limits.h> /* for SIZE_MAX */
-#if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__
+#if !defined _MSC_VER && !defined __EMX__
#include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
#endif
#include <stdlib.h> /* for size_t, malloc(), etc */
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