]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/qplot/qplot/gcc3.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / qplot / qplot / gcc3.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- qplot/qplotmain/calciface.cpp~gcc3  2002-04-18 19:13:29.000000000 +0200
7 +++ qplot/qplotmain/calciface.cpp       2004-02-19 17:19:37.000000000 +0100
8 @@ -38,7 +38,7 @@
9         printf("ibase=%d\n", ibase);
10  }
11  */
12 -void sendSpecialVarDecCommand(const char *var, int scale, bool return_to_prev_ibase=true) {
13 +void sendSpecialVarDecCommand(const char *var, int scale, bool return_to_prev_ibase) {
14         printf("ibase_save=ibase\nibase=ibase_decimal\n");
15         printf("%s=%d\n", var, scale);
16         if( return_to_prev_ibase ) {
17 @@ -78,4 +78,4 @@
18                     "\n");
19         while ( receiveResult() == NULL )
20             usleep(50);
21 -}
22 \ Kein Zeilenumbruch am Dateiende.
23 +}
24 --- qplot/qplotmain/calciface.h~gcc3    2002-04-18 19:13:08.000000000 +0200
25 +++ qplot/qplotmain/calciface.h 2004-02-19 17:21:38.000000000 +0100
26 @@ -18,6 +18,9 @@
27  #include <unistd.h>
28  #include <string.h>
29  
30 +#ifndef CALCIFACE_H
31 +#define CALCIFACE_H
32 +
33  void           resetEngineState                ( );
34  void           saveIBaseDecimal                ( );
35  void           saveScaleWorkaround             ( bool save);
36 @@ -29,3 +32,5 @@
37  
38  char *         receiveResult                   ( );
39  
40 +#endif
41 +