gentoo/dev-python/python-tlsh/files/python-tlsh-4.12.1-tlshmodule.patch
Thomas Bracht Laumann Jespersen cf2f416d93
dev-python/python-tlsh: add 4.12.1
Main difference is that we can drop a patch for py3.12 (and newer, I
suppose) as upstream included the patch in this release.

Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/34
Merges: https://codeberg.org/gentoo/gentoo/pulls/34
Signed-off-by: Sam James <sam@gentoo.org>
2026-02-11 04:29:27 +00:00

12 lines
323 B
Diff

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