summaryrefslogtreecommitdiff
path: root/debian/patches/0115-gcc-fixes.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0115-gcc-fixes.diff')
-rw-r--r--debian/patches/0115-gcc-fixes.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/0115-gcc-fixes.diff b/debian/patches/0115-gcc-fixes.diff
new file mode 100644
index 0000000..5a3149c
--- /dev/null
+++ b/debian/patches/0115-gcc-fixes.diff
@@ -0,0 +1,24 @@
+Description: some fixes
+
+Index: b/bin/dumprecs.cpp
+===================================================================
+--- a/bin/dumprecs.cpp
++++ b/bin/dumprecs.cpp
+@@ -70,7 +70,7 @@
+ return 1;
+ }
+
+- for(int i=1; i<ac; ++i){
++ for(int i=1; i<ac; ++i){{
+ char* filename = av[i];
+
+ xbDbf MyFile( &x );
+@@ -91,7 +91,7 @@
+ x.DisplayError( rc );
+ }
+ MyFile.CloseDatabase(); /* close database */
+- }
++ }}
+ return 0;
+ }
+