Commit dfb4fa14 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/caca: fixed compilation with llvm-gcc by disabling some inline ASM

parent 1ffe7f9e
diff -ru caca/caca/dither.c caca/caca/dither.c
--- caca/caca/dither.c 2010-02-08 13:34:28.000000000 +0100
+++ caca/caca/dither.c 2012-08-21 17:39:49.000000000 +0200
@@ -26,6 +26,10 @@
# include <string.h>
#endif
+#if defined(__APPLE__) && defined(__llvm__)
+#undef HAVE_FLDLN2
+#endif
+
#include "caca.h"
#include "caca_internals.h"
......@@ -16,6 +16,7 @@ caca: libcaca-$(CACA_VERSION).tar.gz .sum-caca
$(UNPACK)
ifdef HAVE_MACOSX
$(APPLY) $(SRC)/caca/caca-osx-sdkofourchoice.patch
$(APPLY) $(SRC)/caca/caca-fix-compilation-llvmgcc.patch
endif
$(APPLY) $(SRC)/caca/caca-llvm-weak-alias.patch
......
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