summaryrefslogtreecommitdiff
path: root/devel/picprog/files/patch-hexfile.h
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 01:40:28 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-19 01:40:28 +0000
commit2ef72abedc48488b5552aa7cae0e10641ae3cdd3 (patch)
treeb8aaa96e9c24dcdd0a3d294cbea4d09ca2aeb80b /devel/picprog/files/patch-hexfile.h
parentPut a real description in pkg-descr by copying the author's excellent (diff)
Make devel/picprog compiling under -current again.
Noticed on: bento
Notes
Notes: svn path=/head/; revision=70447
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 () {