Dash:
[t2.git] / package / gnome1 / gnome-print10 / hotfix-glibc.patch
blob64021541544e682e15d3d8be928a40cfbb2bb072
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gnome-print10/glibc.patch
5 # Copyright (C) 2009 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -Nur gnome-print-0.35-orig/libgnomeprint/parseTT.c gnome-print-0.35/libgnomeprint/parseTT.c
18 --- gnome-print-0.35-orig/libgnomeprint/parseTT.c 2009-08-23 20:02:24.000000000 +0000
19 +++ gnome-print-0.35/libgnomeprint/parseTT.c 2009-08-23 20:04:04.000000000 +0000
20 @@ -362,7 +362,7 @@
21 static gint subfrombase (gint from, gint to);
22 static int gssentry (struct gentry *ge, struct stem *hs, gshort *hpairs, gint nhs, struct stem *vs, gshort *vpairs, gint nvs, struct stembounds *s, gshort *egp, gint *nextvsi, gint *nexthsi);
23 static int findstemat (gint value, gint origin, struct gentry *ge, struct stem *sp, gshort *pairs, gint ns, gint prevbest);
24 -static void getline (gchar **src);
25 +static void getLine (gchar **src);
26 static gchar *eexec_start (gchar *line);
27 static gchar *eexec_string (gchar *string);
28 static const gchar *eexec_byte (guchar c);
29 @@ -1593,7 +1593,7 @@
31 while (*(src + cnt) != 0) {
32 string = src + cnt;
33 - getline (&string);
34 + getLine (&string);
35 cnt = string - src;
36 if (!strcmp (line, "currentfile eexec\n")) {
37 if ((buf = eexec_start (line)) != NULL) {
38 @@ -5506,7 +5506,7 @@
40 /* ttf_type1_dump */
41 static void
42 -getline (gchar **src)
43 +getLine (gchar **src)
45 gint c;
46 gchar *p = line;