Here is a regression from building with poudriere-devel-220.127.116.1171028 on 12.0-CURRENT 1200052:
=======================<phase: patch >============================
===> Patching for ImageMagick-18.104.22.168,1
===> Applying FreeBSD patches for ImageMagick-22.214.171.124,1
1 out of 1 hunks failed--saving rejects to config/policy.xml.rej
=> FreeBSD patch patch-config_policy.xml failed to apply cleanly.
*** Error code 1
make: stopped in /usr/ports/graphics/ImageMagick
On 12.0-CURRENT 1200051 with the same poudriere-devel and port version, no problems whatsoever.
Forgot to mention, this build of 12.0-CURRENT 1200052 is base r325380.
I also had the same issue. ImageMagick patched fine with 12 current (120001), but failed to patch with 1200052. I am using Poudriere (but not the devel version). I believe the patch utility was modified between 1200051 and 1200052.
Please see r325365
I'm not sure how to fix that as my poudriere is still busy rebuilding my repo. Maybe try to remake the patch with the updated patch behavior or revert the changes to the patch utility?
Sorry I meant base r325365
Created attachment 187809 [details]
I updated the patch so it would work with 12 current 1200052, Poudriere did accept the patch and built ImageMagick successfully with it. However, I have no idea if it will be rejected by patch with older FreeBSD builds (1200051 and earlier).
Is this stll relevant patch shows
+ <policy domain="coder" rights="none" pattern="EPHEMERAL" />
+ <policy domain="coder" rights="none" pattern="URL" />
+ <policy domain="coder" rights="none" pattern="HTTPS" />
+ <policy domain="coder" rights="none" pattern="MVG" />
+ <policy domain="coder" rights="none" pattern="MSL" />
No longer relevant; fixed in first comment of bug 223545 as ports r453865.