Advertisement
svenhoefer

Untitled

Jul 15th, 2019
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.21 KB | None | 0 0
  1. diff --git a/make/helpers.mk b/make/helpers.mk
  2. index 7e0cad6..010d518 100644
  3. --- a/make/helpers.mk
  4. +++ b/make/helpers.mk
  5. @@ -36,6 +36,8 @@ define apply_patches
  6.     done
  7.  endef
  8.  
  9. +APPLY_PATCHES = $(call apply_patches, $(PATCHES)/$(notdir $@), $(1))
  10. +
  11.  # -----------------------------------------------------------------------------
  12.  
  13.  #
  14. diff --git a/make/target-libs.mk b/make/target-libs.mk
  15. index b9363ee..9e9e321 100644
  16. --- a/make/target-libs.mk
  17. +++ b/make/target-libs.mk
  18. @@ -253,15 +253,11 @@ FREETYPE_URL    = https://sourceforge.net/projects/freetype/files/freetype2/$(FR
  19.  $(ARCHIVE)/$(FREETYPE_SOURCE):
  20.     $(DOWNLOAD) $(FREETYPE_URL)/$(FREETYPE_SOURCE)
  21.  
  22. -FREETYPE_PATCH  = freetype2-subpixel.patch
  23. -FREETYPE_PATCH += freetype2-config.patch
  24. -FREETYPE_PATCH += freetype2-pkgconf.patch
  25. -
  26.  $(D)/freetype: $(D)/zlib $(D)/libpng $(ARCHIVE)/$(FREETYPE_SOURCE) | $(TARGET_DIR)
  27.     $(REMOVE)/$(FREETYPE_TMP)
  28.     $(UNTAR)/$(FREETYPE_SOURCE)
  29.     $(CHDIR)/$(FREETYPE_TMP); \
  30. -       $(call apply_patches, $(FREETYPE_PATCH)); \
  31. +       $(APPLY_PATCHES); \
  32.         sed -i '/^FONT_MODULES += \(type1\|cid\|pfr\|type42\|pcf\|bdf\|winfonts\|cff\)/d' modules.cfg
  33.     $(CHDIR)/$(FREETYPE_TMP)/builds/unix; \
  34.         libtoolize --force --copy; \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement