Created attachment 207938 [details] patch testbuilds are fine on amd current, 12.0, 12.1, 11.3, 11.2 and i386-current. Relnotes: https://rpm.org/wiki/Releases/4.15.0
Hi, The changes seems to be fine and compile without error, but why the "defined(__FreeBSD__)" are always duplicated? eg. -+#if defined(hpux) || defined(__FreeBSD__) ++#if defined(hpux) || defined(__FreeBSD__) || defined(__FreeBSD__)
(In reply to Rodrigo Osorio from comment #1) Hm, somehow, the line in Makefile:post-patch seems to cause this.
(In reply to Kurt Jaeger from comment #2) Ah, in combination with files/patch-misc_fts.c.
So the line in post-patch with hpux is no longer necessary.
A commit references this bug: Author: rodrigo Date: Thu Oct 3 16:55:21 UTC 2019 New revision: 513675 URL: https://svnweb.freebsd.org/changeset/ports/513675 Log: Upgrade archivers/rpm4 from 4.14.2.1 to 4.15.0 Relnotes: https://rpm.org/wiki/Releases/4.15.0 PR: 240922 Submitted by: pi Changes: head/archivers/rpm4/Makefile head/archivers/rpm4/distinfo head/archivers/rpm4/files/patch-luaext_lrexlib.c head/archivers/rpm4/files/patch-misc_fts.c head/archivers/rpm4/pkg-plist
Committed with minor changes, thanks.