Magellan Linux

Annotation of /trunk/transfig/patches/transfig-3.2.4-gcc-3.3.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 1895 byte(s)
-import

1 niro 153 diff -ruN transfig.3.2.4.orig/fig2dev/dev/gensvg.c transfig.3.2.4/fig2dev/dev/gensvg.c
2     --- transfig.3.2.4.orig/fig2dev/dev/gensvg.c 2003-06-24 23:13:43.000000000 +0200
3     +++ transfig.3.2.4/fig2dev/dev/gensvg.c 2003-06-24 23:18:55.000000000 +0200
4     @@ -692,16 +692,17 @@
5     if (t->angle != 0) {
6     fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n",
7     (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle));
8     - fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\"
9     - font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
10     + fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" "
11     + "font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" "
12     + "font-size=\"%d\" text-anchor=\"%s\" >\n",
13     rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)],
14     (t->font % 2 == 0 ? "normal" : "italic"),
15     (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)),
16     anchor[t->type]);
17     }
18     else
19     - fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\"
20     - font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
21     + fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\" "
22     + "font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
23     (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color),
24     family[(int) ceil ((t->font + 1) / 4)],
25     (t->font % 2 == 0 ? "normal" : "italic"),
26     diff -ruN transfig.3.2.4.orig/fig2dev/fig2dev.h transfig.3.2.4/fig2dev/fig2dev.h
27     --- transfig.3.2.4.orig/fig2dev/fig2dev.h 2003-06-24 23:13:43.000000000 +0200
28     +++ transfig.3.2.4/fig2dev/fig2dev.h 2003-06-24 23:14:31.000000000 +0200
29     @@ -22,7 +22,7 @@
30     #include <sys/file.h>
31     #include <signal.h>
32     #include <string.h>
33     -#include <varargs.h>
34     +#include <stdarg.h>
35     #include <pwd.h>
36     #include <errno.h>
37     #include <time.h>