From 3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 5 Apr 2026 07:14:28 +0000 Subject: Adding metadata --- .../files/python-tlsh-4.8.2-r1-py312.patch | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 dev-python/python-tlsh/files/python-tlsh-4.8.2-r1-py312.patch (limited to 'dev-python/python-tlsh/files') diff --git a/dev-python/python-tlsh/files/python-tlsh-4.8.2-r1-py312.patch b/dev-python/python-tlsh/files/python-tlsh-4.8.2-r1-py312.patch deleted file mode 100644 index 56c4766bd711..000000000000 --- a/dev-python/python-tlsh/files/python-tlsh-4.8.2-r1-py312.patch +++ /dev/null @@ -1,25 +0,0 @@ -Use PyVarObject_HEAD_INIT instead PyObject_HEAD_INIT - ---- 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 -@@ -286,10 +286,7 @@ static PyGetSetDef Tlsh_getsetters[] = { - }; - - static PyTypeObject tlsh_TlshType = { -- PyObject_HEAD_INIT(NULL) --#if PY_MAJOR_VERSION < 3 -- 0, /* ob_size */ --#endif -+ PyVarObject_HEAD_INIT(NULL, 0) - "tlsh.Tlsh", /* tp_name */ - sizeof(tlsh_TlshObject), /* tp_basicsize */ - 0, /* tp_itemsize */ -- cgit v1.3