freebsd-ports/editors/wxhexeditor/files/patch-src_HexDialogs.cpp
Alexey Dokuchaev f10e2e66bc - 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/
2019-02-13 13:52:53 +00:00

12 lines
302 B
C++

--- 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>