aboutsummaryrefslogtreecommitdiff
path: root/devel/picprog/files/patch-hexfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/picprog/files/patch-hexfile.h')
-rw-r--r--devel/picprog/files/patch-hexfile.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/picprog/files/patch-hexfile.h b/devel/picprog/files/patch-hexfile.h
new file mode 100644
index 000000000000..68ec751e92be
--- /dev/null
+++ b/devel/picprog/files/patch-hexfile.h
@@ -0,0 +1,22 @@
+--- hexfile.h.orig Tue Nov 19 12:23:13 2002
++++ hexfile.h Tue Nov 19 12:23:46 2002
+@@ -43,7 +43,7 @@
+ #ifndef H_HEXFILE
+ #define H_HEXFILE
+
+-#include <fstream.h>
++#include <fstream>
+
+ #include "picport.h"
+
+@@ -57,8 +57,8 @@
+ enum formats { unknown = 0, ihx8m, ihx16 };
+
+ private:
+- void save_line (ofstream& f, int begin, int len, enum formats format) const;
+- void save_region (ofstream& f, int addr, int end, enum formats format, bool skip_ones) const;
++ void save_line (std::ofstream& f, int begin, int len, enum formats format) const;
++ void save_region (std::ofstream& f, int addr, int end, enum formats format, bool skip_ones) const;
+ public:
+
+ hexfile () {