From 9178347a602d392a485a32da11c4491604319ec5 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Jan 2007 21:26:43 +0000 Subject: [PATCH] teach fontconfig to actually apply its patches --- package/fontconfig/fontconfig.mk | 4 ++++ package/fontconfig/libdir-la.patch | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package/fontconfig/fontconfig.mk b/package/fontconfig/fontconfig.mk index 8e3c3e843e..27f529ad61 100644 --- a/package/fontconfig/fontconfig.mk +++ b/package/fontconfig/fontconfig.mk @@ -16,6 +16,8 @@ fontconfig-source: $(DL_DIR)/$(FONTCONFIG_SOURCE) $(FONTCONFIG_DIR)/.unpacked: $(DL_DIR)/$(FONTCONFIG_SOURCE) $(FONTCONFIG_CAT) $(DL_DIR)/$(FONTCONFIG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + toolchain/patch-kernel.sh $(FONTCONFIG_DIR) package/fontconfig/ \*.patch* + $(CONFIG_UPDATE) $(FONTCONFIG_DIR) touch $(FONTCONFIG_DIR)/.unpacked $(FONTCONFIG_DIR)/.configured: $(FONTCONFIG_DIR)/.unpacked @@ -54,6 +56,8 @@ $(STAGING_DIR)/lib/libfontconfig.so: $(FONTCONFIG_DIR)/.compiled $(TARGET_DIR)/lib/libfontconfig.so: $(STAGING_DIR)/lib/libfontconfig.so cp -dpf $(STAGING_DIR)/lib/libfontconfig.so* $(TARGET_DIR)/lib/ + mkdir -p $(TARGET_DIR)/etc/fonts + cp $(STAGING_DIR)/etc/fonts/fonts.conf $(TARGET_DIR)/etc/fonts/ -$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libfontconfig.so fontconfig: uclibc freetype $(TARGET_DIR)/lib/libfontconfig.so diff --git a/package/fontconfig/libdir-la.patch b/package/fontconfig/libdir-la.patch index cc6a377eb0..672e96d4bd 100644 --- a/package/fontconfig/libdir-la.patch +++ b/package/fontconfig/libdir-la.patch @@ -1,5 +1,5 @@ ---- fontconfig/builds/unix/ltmain.sh.orig 2006-04-20 08:27:27.000000000 -0600 -+++ fontconfig/builds/unix/ltmain.sh 2007-01-13 14:26:01.000000000 -0700 +--- fontconfig/ltmain.sh.orig 2006-04-20 08:27:27.000000000 -0600 ++++ fontconfig/ltmain.sh 2007-01-13 14:26:01.000000000 -0700 @@ -273,8 +273,9 @@ # line option must be used. if test -z "$tagname"; then -- 2.30.2