aboutsummaryrefslogtreecommitdiffstats
path: root/editors/lfhex
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lfhex')
-rw-r--r--editors/lfhex/Makefile6
-rw-r--r--editors/lfhex/distinfo4
-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
5 files changed, 15 insertions, 34 deletions
diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile
index 1ce4599b7d59..ca97c4df280b 100644
--- a/editors/lfhex/Makefile
+++ b/editors/lfhex/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= lfhex
-PORTVERSION= 0.3.6
-PORTREVISION= 1
+PORTVERSION= 0.3.7
CATEGORIES= editors
MASTER_SITES= http://home.earthlink.net/~eyekode/data/
@@ -25,7 +24,8 @@ CONFIGURE_ARGS= --with-qt-moc=${MOC}
MAKE_ARGS= CXXFLAGS="${CXXFLAGS}" \
EXEC_PREFIX="${PREFIX}/bin" \
IFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \
- LFLAGS="${QTCFGLIBS} -lqt-mt ${PTHREAD_LIBS}"
+ LFLAGS="${QTCFGLIBS} -lqt-mt ${PTHREAD_LIBS}" \
+ VERBOSE=1
PLIST_FILES= bin/lfhex
diff --git a/editors/lfhex/distinfo b/editors/lfhex/distinfo
index 5e7b52a5a9f7..34cc8bbf5c9a 100644
--- a/editors/lfhex/distinfo
+++ b/editors/lfhex/distinfo
@@ -1,2 +1,2 @@
-MD5 (lfhex-0.3.6.tar.gz) = 0d6e363e5637f998dd2fafd6dbd41b6e
-SIZE (lfhex-0.3.6.tar.gz) = 68400
+MD5 (lfhex-0.3.7.tar.gz) = 203051364839fa48b9e030d44e84e648
+SIZE (lfhex-0.3.7.tar.gz) = 69947
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];