Commit 361134fa authored by Felix Paul Kühne's avatar Felix Paul Kühne

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

(cherry picked from commit dfb4fa14a2624885422906176dd0f513cf8a6677)
parent 92c6cf6d
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 ...@@ -16,6 +16,7 @@ caca: libcaca-$(CACA_VERSION).tar.gz .sum-caca
$(UNPACK) $(UNPACK)
ifdef HAVE_MACOSX ifdef HAVE_MACOSX
$(APPLY) $(SRC)/caca/caca-osx-sdkofourchoice.patch $(APPLY) $(SRC)/caca/caca-osx-sdkofourchoice.patch
$(APPLY) $(SRC)/caca/caca-fix-compilation-llvmgcc.patch
endif endif
$(APPLY) $(SRC)/caca/caca-llvm-weak-alias.patch $(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