summaryrefslogtreecommitdiffstats
path: root/package/fontconfig/fontconfig-2.4.2-fc-lang.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-26 14:04:39 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-26 14:04:39 +0000
commit8ba9a9971c7f59e14de76786445b9a9349e4b73e (patch)
tree62522802243e1eb138ea3936c8cc7ad7c8431ce3 /package/fontconfig/fontconfig-2.4.2-fc-lang.patch
parent93d47d9201c9ce3d9658a510862f5f35f6407c5b (diff)
downloadbuildroot-novena-8ba9a9971c7f59e14de76786445b9a9349e4b73e.tar.gz
buildroot-novena-8ba9a9971c7f59e14de76786445b9a9349e4b73e.zip
fontconfig: bump version
Diffstat (limited to 'package/fontconfig/fontconfig-2.4.2-fc-lang.patch')
-rw-r--r--package/fontconfig/fontconfig-2.4.2-fc-lang.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/package/fontconfig/fontconfig-2.4.2-fc-lang.patch b/package/fontconfig/fontconfig-2.4.2-fc-lang.patch
deleted file mode 100644
index d4d10db67..000000000
--- a/package/fontconfig/fontconfig-2.4.2-fc-lang.patch
+++ /dev/null
@@ -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");