From 290aebdea65a02557706eaeda477fef0437b6a48 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 11:50:53 -0500 Subject: Adding metadata --- .../files/python-tlsh-4.12.1-tlshmodule.patch | 11 -------- .../files/python-tlsh-4.8.2-setup-sources.patch | 30 ---------------------- 2 files changed, 41 deletions(-) delete mode 100644 dev-python/python-tlsh/files/python-tlsh-4.12.1-tlshmodule.patch delete mode 100644 dev-python/python-tlsh/files/python-tlsh-4.8.2-setup-sources.patch (limited to 'dev-python/python-tlsh/files') 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 - #include - #include --#include "tlsh.h" -+#include - - // 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) -- cgit v1.3.1