diff --git a/archivers/rpm4/Makefile b/archivers/rpm4/Makefile index a3e8898b6bb60..d10ea97f6f2a3 100644 --- a/archivers/rpm4/Makefile +++ b/archivers/rpm4/Makefile @@ -1,6 +1,6 @@ PORTNAME= rpm PORTVERSION= 4.18.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers MASTER_SITES= http://ftp.rpm.org/releases/rpm-${PORTVERSION:R}.x/ PKGNAMESUFFIX= 4 diff --git a/archivers/rpm4/files/patch-python_header-py.c b/archivers/rpm4/files/patch-python_header-py.c new file mode 100644 index 0000000000000..828f441dddd85 --- /dev/null +++ b/archivers/rpm4/files/patch-python_header-py.c @@ -0,0 +1,11 @@ +--- python/header-py.c.orig 2023-11-30 19:45:23 UTC ++++ python/header-py.c +@@ -741,7 +741,7 @@ + 0, /* tp_as_number */ + &hdr_as_sequence, /* tp_as_sequence */ + &hdr_as_mapping, /* tp_as_mapping */ +- hdr_hash, /* tp_hash */ ++ (hashfunc)hdr_hash, /* tp_hash */ + 0, /* tp_call */ + 0, /* tp_str */ + (getattrofunc) hdr_getattro, /* tp_getattro */