maintainer-feedback requested: [Bug 268720] graphics/mesa-libs fails to build with patch error using poudriere on amd64 stable-13.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 02 Jan 2023 15:08:49 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 268720: graphics/mesa-libs fails to build with patch error using poudriere
on amd64 stable-13.1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268720



--- Description ---
The port graphics/mesa-libs fails to build for me using poudriere on amd64
stable-13.1.

The error is pasted below:

==>  Patching for mesa-libs-22.3.2_1
===>  Applying FreeBSD patches for mesa-libs-22.3.2_1 from
/usr/ports/graphics/mesa-dri/files
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to
src/gallium/drivers/r600/sfn/sfn_optimizer.cpp.rej
===>  FAILED Applying FreeBSD
patch-src_gallium_drivers_r600_sfn_sfn__optimizer.cpp
===> Cleanly applied FreeBSD patch(es)	patch-include_drm-uapi_dma-buf.h
patch-src_gallium_drivers_llvmpipe_lp__rast__tri.c
patch-src_gallium_drivers_llvmpipe_lp__setup__tri.c
===> FAILED to apply cleanly FreeBSD patch(es) 
patch-src_gallium_drivers_r600_sfn_sfn__optimizer.cpp
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/mesa-libs
=>> Cleaning up wrkdir
===>  Cleaning for mesa-libs-22.3.2_1
build of graphics/mesa-libs | mesa-libs-22.3.2_1 ended at Mon Jan  2 09:08:23
EST 2023
build time: 00:00:27