svn commit: trunk/buildroot/package/fontconfig
Author: jacmet
Date: 2008-06-26 07:04:39 -0700 (Thu, 26 Jun 2008) New Revision: 22519
Log:
fontconfig: bump version
Removed:
trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch
Modified:
trunk/buildroot/package/fontconfig/fontconfig.mk
Changeset:
Deleted: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch
===================================================================
buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch +0 -33
@@ -1,33 +0,0 @@ ---- fontconfig-2.4.2/fc-lang/fc-lang.orig.c 2007-02-03 13:39:49.000000000 -0700 -+++ fontconfig-2.4.2/fc-lang/fc-lang.c 2007-02-03 13:46:08.000000000 -0700 -@@ -116,6 +116,20 @@ - return f; - } - -+char* trim(char *s) -+{ -+ int len = strlen(s); -+ -+ /* nuke trailing whitespace */ -+ while (len > 0 && (isspace(s[len - 1]) || s[len - 1]=='\n')) -+ s[--len] = '\0'; -+ -+ /* skip leading whitespace */ -+ s += strspn(s, " \n\r\t\v"); -+ -+ return s; -+} -+ - /* - * build a single charset from a source file - * -@@ -142,8 +156,7 @@ - if (!file) - fatal (line, lineno, - "invalid syntax, expected: include filename"); -- while (isspace(*file)) -- file++; -+ file = trim(file); - f = scanopen (file); - if (!f) - fatal (file, 0, "can't open");
Deleted: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch
===================================================================
buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch +0 -95
95 lines not on this page · raw message
Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================
buildroot/package/fontconfig/fontconfig.mk +3 -8
@@ -3,7 +3,7 @@ # fontconfig # ############################################################# -FONTCONFIG_VERSION = 2.4.2 +FONTCONFIG_VERSION = 2.6.0 FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.gz FONTCONFIG_SITE = http://fontconfig.org/release FONTCONFIG_AUTORECONF = NO
@@ -14,17 +14,12 @@ FONTCONFIG_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) --with-arch=$(GNU_TARGET_NAME) \ - --prefix=/usr --exec-prefix=/usr \ - --bindir=/usr/bin --sbindir=/usr/sbin \ - --libdir=/usr/lib --libexecdir=/usr/lib \ - --sysconfdir=/etc --datadir=/usr/share \ - --localstatedir=/var --includedir=/usr/include \ - --mandir=/usr/man --infodir=/usr/info \ + --prefix=/usr --sysconfdir=/etc \ --with-freetype-config="$(STAGING_DIR)/usr/bin/freetype-config" \ --with-expat="$(STAGING_DIR)/usr/lib" \ --with-expat-lib=$(STAGING_DIR)/usr/lib \ --with-expat-includes=$(STAGING_DIR)/usr/include \ - --disable-docs + --disable-docs FONTCONFIG_DEPENDENCIES = uclibc freetype expat