Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 142644 Details for
Bug 173570
media-gfx/mscgen (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
suppress warnings and QA notice
mscgen-0.8-removewarnings.diff (text/plain), 1.44 KB, created by
Yvan Royon
on 2008-02-04 11:56:22 UTC
(
hide
)
Description:
suppress warnings and QA notice
Filename:
MIME Type:
Creator:
Yvan Royon
Created:
2008-02-04 11:56:22 UTC
Size:
1.44 KB
patch
obsolete
>diff -NurbB mscgen.ori/src/parser/language.l mscgen/src/parser/language.l >--- mscgen.ori/src/parser/language.l 2008-02-02 23:48:21.000000000 +0100 >+++ mscgen/src/parser/language.l 2008-02-02 23:54:58.000000000 +0100 >@@ -30,8 +30,13 @@ > /* Counter for error reporting */ > static unsigned long lex_linenum = 1; > >+extern char *strdup(const char *s1); >+extern int fileno(FILE *stream); >+ > %} > >+%option nounput >+ > %% > > \n lex_linenum++; >diff -NurbB mscgen.ori/src/renderer/gd_out.c mscgen/src/renderer/gd_out.c >--- mscgen.ori/src/renderer/gd_out.c 2008-02-02 23:48:21.000000000 +0100 >+++ mscgen/src/renderer/gd_out.c 2008-02-02 23:54:58.000000000 +0100 >@@ -143,7 +143,7 @@ > getGdoCtx(ctx)->font, > x, > y - gdoTextHeight(ctx), >- string, >+ (char *)string, > getGdoPen(ctx)); > } > >diff -NurbB mscgen.ori/src/renderer/main.c mscgen/src/renderer/main.c >--- mscgen.ori/src/renderer/main.c 2008-02-02 23:48:21.000000000 +0100 >+++ mscgen/src/renderer/main.c 2008-02-02 23:54:58.000000000 +0100 >@@ -805,10 +805,10 @@ > else if(strcmp(gOutType, "ismap") == 0) > { > outType = ADRAW_FMT_PNG; >- outImage = tempnam(NULL, "png"); >+ outImage = (char *)tmpfile(); > if(!outImage) > { >- perror("tempnam() failed"); >+ perror("tmpfile() failed"); > return EXIT_FAILURE; > } >
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 173570
:
115580
|
126374
|
140820
|
142644
|
142646
|
143137
|
144499
|
151362
|
175022
|
210704
|
246578
|
252929