Skip to content

Commit

Permalink
archivers/rpm4: Unbreak build for FreeBSD 14
Browse files Browse the repository at this point in the history
  • Loading branch information
rosorio committed Dec 1, 2023
1 parent f7e264a commit 3f92c66
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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
Expand Down
11 changes: 11 additions & 0 deletions 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 */

0 comments on commit 3f92c66

Please sign in to comment.