Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 187743 Details for
Bug 265492
media-gfx/graphviz-2.22.2-r1 and 2.22.1 compile fails: find_user_shape() argument discards qualifiers
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch changing find_user_shape() argument from char* to const char*
2.22.2-findusershape-const_char.patch (text/plain), 2.02 KB, created by
Peter Stuge
on 2009-04-08 23:31:09 UTC
(
hide
)
Description:
Patch changing find_user_shape() argument from char* to const char*
Filename:
MIME Type:
Creator:
Peter Stuge
Created:
2009-04-08 23:31:09 UTC
Size:
2.02 KB
patch
obsolete
>--- lib/common/render.h.orig 2009-01-21 17:47:00.000000000 +0100 >+++ lib/common/render.h 2009-04-08 23:56:31.000000000 +0200 >@@ -113,7 +113,7 @@ > extern void endpath(path *, Agedge_t *, int, pathend_t *, boolean); > extern void epsf_init(node_t * n); > extern void epsf_free(node_t * n); >- extern shape_desc *find_user_shape(char *); >+ extern shape_desc *find_user_shape(const char *); > extern void free_line(textpara_t *); > extern void free_label(textlabel_t *); > extern void getdouble(graph_t * g, char *name, double *result); >--- lib/common/shapes.c.orig 2008-10-23 15:56:42.000000000 +0200 >+++ lib/common/shapes.c 2009-04-08 23:50:34.000000000 +0200 >@@ -2358,7 +2358,7 @@ > static shape_desc **UserShape; > static int N_UserShape; > >-shape_desc *find_user_shape(char *name) >+shape_desc *find_user_shape(const char *name) > { > int i; > if (UserShape) { >--- lib/gvc/gvrender.c.orig 2009-02-24 20:47:18.000000000 +0100 >+++ lib/gvc/gvrender.c 2009-04-08 23:57:07.000000000 +0200 >@@ -41,7 +41,7 @@ > #include "gvcproc.h" > > extern int emit_once(char *str); >-extern shape_desc *find_user_shape(char *name); >+extern shape_desc *find_user_shape(const char *name); > extern boolean mapbool(char *s); > > /* storage for temporary hacks until client API is FP */ >--- lib/gvc/gvusershape.c.orig 2009-01-06 23:58:41.000000000 +0100 >+++ lib/gvc/gvusershape.c 2009-04-08 23:57:05.000000000 +0200 >@@ -32,7 +32,7 @@ > #include "gvplugin_loadimage.h" > > >-extern shape_desc *find_user_shape(char *); >+extern shape_desc *find_user_shape(const char *); > > static Dict_t *ImageDict; > >--- plugin/core/gvloadimage_core.c.orig 2009-04-09 00:02:15.000000000 +0200 >+++ plugin/core/gvloadimage_core.c 2009-04-09 00:02:25.000000000 +0200 >@@ -31,7 +31,7 @@ > #include "gvio.h" > > extern void core_loadimage_xdot(GVJ_t*, usershape_t*, boxf, boolean); >-extern shape_desc *find_user_shape(char *name); >+extern shape_desc *find_user_shape(const char *name); > > typedef enum { > FORMAT_PNG_XDOT, FORMAT_GIF_XDOT, FORMAT_JPEG_XDOT, FORMAT_SVG_XDOT, FORMAT_PS_XDOT,
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 265492
:
187741
| 187743