From abc91df969f6016f0c44de2eb481224b2a719cf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 20 Aug 2025 10:26:08 +0700 Subject: [PATCH] rpm: fix build on 64bit --- srcpkgs/rpm/patches/python.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/rpm/patches/python.patch b/srcpkgs/rpm/patches/python.patch index d2cbea130ae..3b3682bf0c7 100644 --- a/srcpkgs/rpm/patches/python.patch +++ b/srcpkgs/rpm/patches/python.patch @@ -5,10 +5,10 @@ } -static long hdr_hash(PyObject * h) -+static int hdr_hash(PyObject * h) ++static Py_hash_t hdr_hash(PyObject * h) { - return (long) h; -+ return (int) h; ++ return (Py_hash_t) h; } static PyObject * hdr_reduce(hdrObject *s)