summaryrefslogtreecommitdiff
path: root/packages/qplot
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qplot')
-rw-r--r--packages/qplot/.mtn2git_empty0
-rw-r--r--packages/qplot/qplot/.mtn2git_empty0
-rw-r--r--packages/qplot/qplot/gcc3.patch41
3 files changed, 41 insertions, 0 deletions
diff --git a/packages/qplot/.mtn2git_empty b/packages/qplot/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/qplot/.mtn2git_empty
diff --git a/packages/qplot/qplot/.mtn2git_empty b/packages/qplot/qplot/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/qplot/qplot/.mtn2git_empty
diff --git a/packages/qplot/qplot/gcc3.patch b/packages/qplot/qplot/gcc3.patch
index e69de29bb2..61f17d9aa3 100644
--- a/packages/qplot/qplot/gcc3.patch
+++ b/packages/qplot/qplot/gcc3.patch
@@ -0,0 +1,41 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- qplot/qplotmain/calciface.cpp~gcc3 2002-04-18 19:13:29.000000000 +0200
++++ qplot/qplotmain/calciface.cpp 2004-02-19 17:19:37.000000000 +0100
+@@ -38,7 +38,7 @@
+ printf("ibase=%d\n", ibase);
+ }
+ */
+-void sendSpecialVarDecCommand(const char *var, int scale, bool return_to_prev_ibase=true) {
++void sendSpecialVarDecCommand(const char *var, int scale, bool return_to_prev_ibase) {
+ printf("ibase_save=ibase\nibase=ibase_decimal\n");
+ printf("%s=%d\n", var, scale);
+ if( return_to_prev_ibase ) {
+@@ -78,4 +78,4 @@
+ "\n");
+ while ( receiveResult() == NULL )
+ usleep(50);
+-}
+\ Kein Zeilenumbruch am Dateiende.
++}
+--- qplot/qplotmain/calciface.h~gcc3 2002-04-18 19:13:08.000000000 +0200
++++ qplot/qplotmain/calciface.h 2004-02-19 17:21:38.000000000 +0100
+@@ -18,6 +18,9 @@
+ #include <unistd.h>
+ #include <string.h>
+
++#ifndef CALCIFACE_H
++#define CALCIFACE_H
++
+ void resetEngineState ( );
+ void saveIBaseDecimal ( );
+ void saveScaleWorkaround ( bool save);
+@@ -29,3 +32,5 @@
+
+ char * receiveResult ( );
+
++#endif
++