aboutsummaryrefslogtreecommitdiff
path: root/editors/lfhex/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-05-10 15:31:33 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-05-10 15:31:33 +0000
commit4f52bf149503179bfaff3448e82163fd478110e4 (patch)
tree27625fa5a9b9d5a525e53407e3937f9aecb01499 /editors/lfhex/files
parentd2ba0c559cc3753202d74c376b8213e00db020f0 (diff)
downloadports-4f52bf149503179bfaff3448e82163fd478110e4.tar.gz
ports-4f52bf149503179bfaff3448e82163fd478110e4.zip
Notes
Diffstat (limited to 'editors/lfhex/files')
-rw-r--r--editors/lfhex/files/patch-src::expr.h10
-rw-r--r--editors/lfhex/files/patch-src::hexEditor.cpp20
-rw-r--r--editors/lfhex/files/patch-src::reader.cpp9
3 files changed, 10 insertions, 29 deletions
diff --git a/editors/lfhex/files/patch-src::expr.h b/editors/lfhex/files/patch-src::expr.h
new file mode 100644
index 000000000000..b57acc03d598
--- /dev/null
+++ b/editors/lfhex/files/patch-src::expr.h
@@ -0,0 +1,10 @@
+--- src/expr.h.orig Fri Feb 13 13:28:39 2004
++++ src/expr.h Mon Apr 26 20:56:45 2004
+@@ -11,6 +11,7 @@
+ *
+ *----------------------------------------------------------------------*/
+ #include <string>
++#include <sys/types.h>
+
+ bool expr_eval( const std::string &str, off_t &value );
+
diff --git a/editors/lfhex/files/patch-src::hexEditor.cpp b/editors/lfhex/files/patch-src::hexEditor.cpp
deleted file mode 100644
index 8196ae402213..000000000000
--- a/editors/lfhex/files/patch-src::hexEditor.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/hexEditor.cpp.orig Sun Feb 1 12:49:26 2004
-+++ src/hexEditor.cpp Sun Feb 1 20:48:29 2004
-@@ -9,11 +9,12 @@
- *
- *----------------------------------------------------------------------*/
-
--#include <assert.h>
--#include <stdio.h>
--#include <errno.h>
--#include <string.h>
--#include <ctype.h>
-+#include <cassert>
-+#include <cstdio>
-+#include <cerrno>
-+#include <cstring>
-+#include <cctype>
-+#include <cmath>
- #include <algorithm>
- #include <iostream>
-
diff --git a/editors/lfhex/files/patch-src::reader.cpp b/editors/lfhex/files/patch-src::reader.cpp
index e487c0b5662f..c300dc54800a 100644
--- a/editors/lfhex/files/patch-src::reader.cpp
+++ b/editors/lfhex/files/patch-src::reader.cpp
@@ -17,12 +17,3 @@
while(!freePage(_firstPage++));
else
while(!freePage(_lastPage--));
-@@ -285,7 +286,7 @@
- #ifdef LFHEX_IOS_BASE_FMTFLAGS
- ostream& operator<< (ostream&out, const ReadBuffer& buff)
- {
-- ios_base::fmtflags old_flags = out.flags();
-+ ios::fmtflags old_flags = out.flags();
- out.flags(old_flags | ios::hex | ios::showbase);
- for(size_t i = 0; i < buff.size(); i++)
- out << buff[i];