FreeBSD Bugzilla – Attachment 117104 Details for
Bug 159173
cad/spice: more CLANG fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-spice.txt
patch-spice.txt (text/plain), 4.02 KB, created by
Pedro F. Giffuni
on 2011-07-27 05:27:35 UTC
(
hide
)
Description:
patch-spice.txt
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2011-07-27 05:27:35 UTC
Size:
4.02 KB
patch
obsolete
>diff -ruN spice.orig/files/patch-src_lib_fte_device_c spice/files/patch-src_lib_fte_device_c >--- spice.orig/files/patch-src_lib_fte_device_c 2011-07-24 21:49:01.000000000 +0000 >+++ spice/files/patch-src_lib_fte_device_c 2011-07-26 23:18:06.000000000 +0000 >@@ -1,6 +1,23 @@ >---- src/lib/fte/device.c.orig Thu Jul 29 19:09:59 1993 >-+++ src/lib/fte/device.c Thu Sep 30 13:16:51 2004 >-@@ -619,7 +619,7 @@ >+--- src/lib/fte/device.c.orig 1993-07-30 02:09:59.000000000 +0000 >++++ src/lib/fte/device.c 2011-07-26 23:17:58.000000000 +0000 >+@@ -14,6 +14,8 @@ >+ #include "ftedefs.h" >+ #include "dgen.h" >+ >++void com_alter_common(wordlist *wl, int do_model); >++ >+ static wordlist *devexpand(); >+ >+ /* >+@@ -576,6 +578,7 @@ >+ com_alter_common(wl, 1); >+ } >+ >++void >+ com_alter_common(wl, do_model) >+ wordlist *wl; >+ int do_model; >+@@ -619,7 +622,7 @@ > n2 = names; > } > >@@ -9,7 +26,7 @@ > fprintf(cp_err, "alter: don't understand \"%s\"\n", names->pn_name); > fprintf(cp_err, "usage: alter dev param = expression\n"); > fprintf(cp_err, " or alter @dev[param] = expression\n"); >-@@ -661,7 +661,9 @@ >+@@ -661,7 +664,9 @@ > } > > dv = ft_evaluate(n2->pn_right); >diff -ruN spice.orig/files/patch-src_lib_fte_x11_c spice/files/patch-src_lib_fte_x11_c >--- spice.orig/files/patch-src_lib_fte_x11_c 2011-07-24 21:49:01.000000000 +0000 >+++ spice/files/patch-src_lib_fte_x11_c 2011-07-26 23:16:55.000000000 +0000 >@@ -1,6 +1,17 @@ >---- src/lib/fte/x11.c.orig Wed Apr 14 21:44:56 1993 >-+++ src/lib/fte/x11.c Sun Aug 15 19:06:31 2004 >-@@ -120,7 +120,10 @@ >+--- src/lib/fte/x11.c.orig 1993-04-14 19:44:56.000000000 +0000 >++++ src/lib/fte/x11.c 2011-07-26 23:16:48.000000000 +0000 >+@@ -36,6 +36,10 @@ >+ extern int _Xdebug; >+ # endif >+ >++void initlinestyles(void); >++void initcolors(GRAPH *graph); >++void slopelocation(GRAPH *graph, int x0, int y0;); >++ >+ /* forward declarations */ >+ extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), >+ redraw(), resize(); >+@@ -120,7 +124,10 @@ > /* "invert" works better than "xor" for B&W */ > > /* xor gc should be a function of the pixels that are written on */ >@@ -12,25 +23,52 @@ > gcvalues.line_width = 1; > gcvalues.foreground = 1; > gcvalues.background = 0; >-@@ -302,7 +305,7 @@ >+@@ -152,7 +159,7 @@ >+ { >+ XGetErrorText(display, errorev->error_code, ErrorMessage, 1024); >+ externalerror(ErrorMessage); >+- return; >++ return (0); >+ } >+ >+ /* Recover from bad NewViewPort call. */ >+@@ -302,7 +309,8 @@ > return (0); > } > > -static > +/* PN static */ >++void > initlinestyles() > { > >-@@ -318,7 +321,7 @@ >+@@ -318,7 +326,8 @@ > return; > } > > -static > +/* PN static */ >++void > initcolors(graph) > GRAPH *graph; > { >-@@ -805,8 +808,9 @@ >+@@ -405,6 +414,7 @@ >+ } >+ >+ /*ARGSUSED*/ >++void >+ X11_Arc(x0, y0, radius, theta1, theta2) >+ int x0, y0, radius; >+ double theta1, theta2; >+@@ -612,6 +622,7 @@ >+ } >+ # endif >+ >++void >+ slopelocation(graph, x0, y0) >+ GRAPH *graph; >+ int x0, y0; /* initial position of mouse */ >+@@ -805,8 +816,9 @@ > > /* Iplots are done asynchronously */ > DEVDEP(graph).isopen = 0; >@@ -41,7 +79,15 @@ > > } > >-@@ -942,7 +946,8 @@ >+@@ -915,6 +927,7 @@ >+ } >+ # endif >+ >++void >+ X11_Input(request, response) >+ REQUEST *request; >+ RESPONSE *response; >+@@ -942,7 +955,8 @@ > 1 << ConnectionNumber(display); > > /* block on ConnectionNumber and request->fp */ >@@ -51,7 +97,7 @@ > > /* handle X events first */ > if (readfds & (1 << ConnectionNumber(display))) { >-@@ -995,7 +1000,8 @@ >+@@ -995,7 +1009,8 @@ > > } > >diff -ruN spice.orig/files/patch-src_lib_mfb_mfbgnc_c spice/files/patch-src_lib_mfb_mfbgnc_c >--- spice.orig/files/patch-src_lib_mfb_mfbgnc_c 1970-01-01 00:00:00.000000000 +0000 >+++ spice/files/patch-src_lib_mfb_mfbgnc_c 2011-07-24 22:13:31.000000000 +0000 >@@ -0,0 +1,10 @@ >+--- src/lib/mfb/mfbgnc.c.orig 2011-07-24 22:09:03.000000000 +0000 >++++ src/lib/mfb/mfbgnc.c 2011-07-24 22:12:08.000000000 +0000 >+@@ -100,6 +100,7 @@ >+ * all other characters are ``self-inserting''. >+ */ >+ >++void >+ MFBGenCode(PM) >+ char *PM; >+ {
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 159173
:
117103
| 117104