Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50366 Details for
Bug 80760
patch allowing transfig-3.2.4 to compile against gcc-4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
allows transfig-3.2.4 to compile against gcc-4
tranfig-3.2.4-gcc4.patch (text/plain), 1.66 KB, created by
Stéphane Gimenez
on 2005-02-04 11:29:53 UTC
(
hide
)
Description:
allows transfig-3.2.4 to compile against gcc-4
Filename:
MIME Type:
Creator:
Stéphane Gimenez
Created:
2005-02-04 11:29:53 UTC
Size:
1.66 KB
patch
obsolete
>--- transfig.3.2.4/fig2dev/dev/gensvg.c~ 2005-01-21 02:35:23.000000000 +0100 >+++ transfig.3.2.4/fig2dev/dev/gensvg.c 2002-12-18 23:38:18.000000000 +0100 >@@ -692,16 +692,14 @@ > if (t->angle != 0) { > fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n", > (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle)); >+ fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n", >- fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\" >- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n", > rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)], > (t->font % 2 == 0 ? "normal" : "italic"), > (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)), > anchor[t->type]); > } > else >+ fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n", >- fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\" >- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n", > (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color), > family[(int) ceil ((t->font + 1) / 4)], > (t->font % 2 == 0 ? "normal" : "italic"), >--- transfig.3.2.4/fig2dev/fig2dev.h~ 2005-01-21 02:28:32.000000000 +0100 >+++ transfig.3.2.4/fig2dev/fig2dev.h 2005-01-21 02:31:50.000000000 +0100 >@@ -22,7 +22,7 @@ > #include <sys/file.h> > #include <signal.h> > #include <string.h> >-#include <varargs.h> >+#include <stdarg.h> > #include <pwd.h> > #include <errno.h> > #include <time.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 80760
: 50366 |
61295
|
61296
|
65819