0018-contrib-harfbuzz-work-around-build-system-stupidity-.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From db3c7e76872d172ce8e49aefb551f0c30b45f2b3 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Wed, 12 Mar 2014 14:48:12 +0100
  4. Subject: [PATCH 18/20] contrib/harfbuzz: work-around build system stupidity
  5. breaking clang compilation
  6. ---
  7. contrib/src/harfbuzz/harfbuzz-clang.patch | 16 ++++++++++++++++
  8. contrib/src/harfbuzz/rules.mak | 1 +
  9. 2 files changed, 17 insertions(+)
  10. create mode 100644 contrib/src/harfbuzz/harfbuzz-clang.patch
  11. diff --git a/contrib/src/harfbuzz/harfbuzz-clang.patch b/contrib/src/harfbuzz/harfbuzz-clang.patch
  12. new file mode 100644
  13. index 0000000..59d1e06
  14. --- /dev/null
  15. +++ b/contrib/src/harfbuzz/harfbuzz-clang.patch
  16. @@ -0,0 +1,16 @@
  17. +--- harfbuzz/configure.ac 2013-07-16 22:04:08.000000000 +0200
  18. ++++ harfbuzz/configure.ac 2014-03-12 14:46:36.000000000 +0100
  19. +@@ -80,13 +80,6 @@
  20. + CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
  21. + ;;
  22. + esac
  23. +-
  24. +- case "$host" in
  25. +- arm-*-*)
  26. +- # Request byte alignment on arm
  27. +- CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
  28. +- ;;
  29. +- esac
  30. + fi
  31. +
  32. + AM_CONDITIONAL(HAVE_GCC, test "x$GCC" = "xyes")
  33. diff --git a/contrib/src/harfbuzz/rules.mak b/contrib/src/harfbuzz/rules.mak
  34. index a34ee2b..30e9a2b 100644
  35. --- a/contrib/src/harfbuzz/rules.mak
  36. +++ b/contrib/src/harfbuzz/rules.mak
  37. @@ -16,6 +16,7 @@ harfbuzz: harfbuzz-$(HARFBUZZ_VERSION).tar.bz2 .sum-harfbuzz
  38. $(UNPACK)
  39. $(UPDATE_AUTOCONFIG)
  40. $(APPLY) $(SRC)/harfbuzz/harfbuzz-aarch64.patch
  41. + $(APPLY) $(SRC)/harfbuzz/harfbuzz-clang.patch
  42. $(MOVE)
  43. DEPS_harfbuzz = freetype2 $(DEPS_freetype2)
  44. --
  45. 1.8.5.2 (Apple Git-48)