Commit 061c07bd authored by Rafaël Carré's avatar Rafaël Carré Committed by Felix Paul Kühne

contrib: jpeg: do not redefine FALSE/TRUE on OSX

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent b2884bb2
--- jpeg/jconfig.cfg.orig 2013-12-25 22:16:42.133723909 +0100
+++ jpeg/jconfig.cfg 2013-12-25 22:16:33.087314469 +0100
@@ -25,6 +25,11 @@
#define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */
#endif
+#ifdef __APPLE__
+typedef unsigned char boolean;
+#define HAVE_BOOLEAN
+#endif
+
#ifdef JPEG_INTERNALS
#undef RIGHT_SHIFT_IS_UNSIGNED
......@@ -12,6 +12,7 @@ jpeg: jpegsrc.v$(JPEG_VERSION).tar.gz .sum-jpeg
$(UNPACK)
mv jpeg-$(JPEG_VERSION) jpegsrc.v$(JPEG_VERSION)
$(UPDATE_AUTOCONFIG)
$(APPLY) $(SRC)/jpeg/osx.patch
$(MOVE)
.jpeg: jpeg
......
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