summaryrefslogtreecommitdiff
path: root/editors/wxhexeditor/files/patch-src_HexDialogs.cpp
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2019-02-13 13:52:53 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2019-02-13 13:52:53 +0000
commitf10e2e66bc57213281f17a3f0920c6e8df6f4be9 (patch)
tree21523ecc802cdac215c4194d2378621165ece448 /editors/wxhexeditor/files/patch-src_HexDialogs.cpp
parentalso update firefox-esr-i18n's Makefile (diff)
- Add a port of wxHexEditor, an advanced graphical (wxWidgets) hex editor
focused on editing of very large files and with x86 disassembly support - Ignore bundled copies of `devel/udis86' and `security/mhash' libraries, use the ones provided in the ports (also better for security reasons) - Disable OpenMP support for now because apparently it requires GCC while the port builds just fine with the system compiler (Clang) WWW: http://www.wxhexeditor.org/
Diffstat (limited to 'editors/wxhexeditor/files/patch-src_HexDialogs.cpp')
-rw-r--r--editors/wxhexeditor/files/patch-src_HexDialogs.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/wxhexeditor/files/patch-src_HexDialogs.cpp b/editors/wxhexeditor/files/patch-src_HexDialogs.cpp
new file mode 100644
index 000000000000..bcd3241611e3
--- /dev/null
+++ b/editors/wxhexeditor/files/patch-src_HexDialogs.cpp
@@ -0,0 +1,12 @@
+--- src/HexDialogs.cpp.orig 2017-12-31 02:15:18 UTC
++++ src/HexDialogs.cpp
+@@ -24,7 +24,8 @@
+ #define NANINT 0xFFFFFFFFFFFFFFFFLL
+ #include "HexDialogs.h"
+ #include <wx/progdlg.h>
+-#include "../mhash/include/mhash.h"
++typedef bool _Bool;
++#include <mhash.h>
+
+ #ifdef __SSE2__
+ #include <emmintrin.h>