aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-09-19 16:44:09 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-09-19 16:44:09 +0200
commit707d89e0be7ae646f633e3a45d6af1163d7c937c (patch)
treec2c6186ba1fca3a7cc72ef56fa705f588f41d0a7 /recipes/obsolete
parent437ba8f1330dccc55fc33acfa17704c3c9e74ff6 (diff)
downloadopenembedded-707d89e0be7ae646f633e3a45d6af1163d7c937c.tar.gz
fontconfig : moved unused files to obsolete dir
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/obsolete')
-rw-r--r--recipes/obsolete/fontconfig/files/one-j-too-many.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/obsolete/fontconfig/files/one-j-too-many.patch b/recipes/obsolete/fontconfig/files/one-j-too-many.patch
new file mode 100644
index 0000000000..04d8e0237e
--- /dev/null
+++ b/recipes/obsolete/fontconfig/files/one-j-too-many.patch
@@ -0,0 +1,24 @@
+--- fontconfig-2.3.95/src/fcname.c.orig 2006-07-26 15:20:01.469770388 +0200
++++ fontconfig-2.3.95/src/fcname.c 2006-07-26 15:22:38.415239062 +0200
+@@ -305,17 +305,16 @@
+ FcObjectPtrU (FcObjectPtr si)
+ {
+ const FcObjectTypeList *l;
+- int i, j;
++ int i;
+
+ if (si > 0)
+ {
+ if (si < biggest_known_ntypes)
+ return biggest_known_types[si].object;
+
+- j = 0;
+ for (l = _FcObjectTypes; l; l = l->next)
+- for (i = 0; i < l->ntypes; i++, j++)
+- if (j == si)
++ for (i = 0; i < l->ntypes; i++)
++ if (l->basic_offset+i == si)
+ return l->types[i].object;
+ }
+
+