From 2ef72abedc48488b5552aa7cae0e10641ae3cdd3 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Tue, 19 Nov 2002 01:40:28 +0000 Subject: Make devel/picprog compiling under -current again. Noticed on: bento --- devel/picprog/files/patch-hexfile.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 devel/picprog/files/patch-hexfile.h (limited to 'devel/picprog/files/patch-hexfile.h') 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 ++#include + + #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 () { -- cgit v1.2.3