Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/fontconfig

Buildroot ninevoltz at uclibc.org 1 participant 1 message Mar 6, 2008

lore
Share & tools
lore
#0 lore raw

Author: ninevoltz
Date: 2008-03-06 10:09:37 -0800 (Thu, 06 Mar 2008) New Revision: 21192

Log:
updated fontconfig

Added:
trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch

Removed:
trunk/buildroot/package/fontconfig/fc-lang.patch trunk/buildroot/package/fontconfig/host-tools.patch trunk/buildroot/package/fontconfig/libdir-la.patch

Modified:
trunk/buildroot/package/fontconfig/Config.in trunk/buildroot/package/fontconfig/fontconfig.mk

Changeset:
Modified: trunk/buildroot/package/fontconfig/Config.in
===================================================================

buildroot/package/fontconfig/Config.in +2 -1
@@ -4,5 +4,6 @@
 	select BR2_PACKAGE_EXPAT
 	default n
 	help
-
+	a library for font customization and configuration.
+	
 	http://www.fontconfig.org/

Deleted: trunk/buildroot/package/fontconfig/fc-lang.patch
===================================================================

buildroot/package/fontconfig/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");

Added: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch
===================================================================

buildroot/package/fontconfig/fontconfig-2.4.2-fc-lang.patch +33 -0
@@ -0,0 +1,33 @@
+--- 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");

Added: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch
===================================================================

buildroot/package/fontconfig/fontconfig-2.4.2-host-tools.patch +95 -0

95 lines not on this page · raw message

Added: trunk/buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch
===================================================================

buildroot/package/fontconfig/fontconfig-2.4.2-libdir-la.patch +77 -0

77 lines not on this page · raw message

Modified: trunk/buildroot/package/fontconfig/fontconfig.mk
===================================================================

buildroot/package/fontconfig/fontconfig.mk +18 -88

117 lines not on this page · raw message

Deleted: trunk/buildroot/package/fontconfig/host-tools.patch
===================================================================

buildroot/package/fontconfig/host-tools.patch +0 -95

95 lines not on this page · raw message

Deleted: trunk/buildroot/package/fontconfig/libdir-la.patch
===================================================================

buildroot/package/fontconfig/libdir-la.patch +0 -77

77 lines not on this page · raw message