mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Update to version 0.3.7
PR: ports/66463 Submitted by: Ports Fury
This commit is contained in:
parent
d2ba0c559c
commit
4f52bf1495
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108848
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
10
editors/lfhex/files/patch-src::expr.h
Normal file
10
editors/lfhex/files/patch-src::expr.h
Normal file
@ -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 );
|
||||
|
@ -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>
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user