summaryrefslogtreecommitdiff
path: root/dev-python/python-tlsh/files
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-tlsh/files')
-rw-r--r--dev-python/python-tlsh/files/python-tlsh-4.12.1-tlshmodule.patch11
-rw-r--r--dev-python/python-tlsh/files/python-tlsh-4.8.2-setup-sources.patch30
2 files changed, 0 insertions, 41 deletions
diff --git a/dev-python/python-tlsh/files/python-tlsh-4.12.1-tlshmodule.patch b/dev-python/python-tlsh/files/python-tlsh-4.12.1-tlshmodule.patch
deleted file mode 100644
index 3c134e0b5b7c..000000000000
--- a/dev-python/python-tlsh/files/python-tlsh-4.12.1-tlshmodule.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/tlshmodule.cpp
-+++ b/tlshmodule.cpp
-@@ -59,7 +59,7 @@
- #include <Python.h>
- #include <new>
- #include <bytesobject.h>
--#include "tlsh.h"
-+#include <tlsh/tlsh.h>
-
- // to generate the "T1" hashes introduced in TLSH 4.0.0
- // see 4.0.0 from 26/Mar/2020 at https://github.com/trendmicro/tlsh/blob/master/Change_History.md
diff --git a/dev-python/python-tlsh/files/python-tlsh-4.8.2-setup-sources.patch b/dev-python/python-tlsh/files/python-tlsh-4.8.2-setup-sources.patch
deleted file mode 100644
index 4cdb0f864b5b..000000000000
--- a/dev-python/python-tlsh/files/python-tlsh-4.8.2-setup-sources.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -21,26 +21,7 @@ with open(join(realpath('..'), 'CMakeLists.txt'), 'r') as f:
- if m:
- tlsh_3b = ''
-
--if os.name == 'nt':
-- tlsh_module = Extension('tlsh', \
-- sources = ['tlshmodule.cpp', \
-- join(realpath('..'), 'src', 'tlsh.cpp'), \
-- join(realpath('..'), 'src', 'tlsh_impl.cpp'), \
-- join(realpath('..'), 'src', 'tlsh_util.cpp') \
-- ], \
-- include_dirs = [join(realpath('..'), 'include'),
-- join(realpath('..'), 'Windows')],\
-- define_macros = [('WINDOWS', None),], \
-- )
--else:
-- tlsh_module = Extension('tlsh', \
-- sources = ['tlshmodule.cpp', \
-- join(realpath('..'), 'src', 'tlsh.cpp'), \
-- join(realpath('..'), 'src', 'tlsh_impl.cpp'), \
-- join(realpath('..'), 'src', 'tlsh_util.cpp') \
-- ], \
-- include_dirs = [join(realpath('..'), 'include')],
-- )
-+tlsh_module = Extension('tlsh', sources=['tlshmodule.cpp'], libraries=['tlsh'])
-
- if tlsh_256 != '':
- tlsh_module.extra_compile_args.append(tlsh_256)