[Bug 263454] graphics/cairo: Fix build with upcoming autoconf 2.71

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 05 May 2022 12:31:16 UTC

Tijl Coosemans <tijl@FreeBSD.org> changed:

           What    |Removed                     |Added
 Attachment #233384|0                           |1
        is obsolete|                            |

--- Comment #7 from Tijl Coosemans <tijl@FreeBSD.org> ---
Created attachment 233744
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233744&action=edit

I believe this addresses all the issues with patching.  The post-patch commands
that are still useful have been converted to real patches.

Old patches have been removed:
- patch-perf_cairo-perf-micro.c and patch-test_Makefile.am
These were added to fix build after the addition of USES=autoreconf broke
post-patch commands that disabled the perf and test directories.
- patch-src_cairo-gl.h
No idea why this exists.  make test (if you enable it) checks that there's no
#if defined in the headers so I think it's best to remove it.
- patch-src_cairo-xlib-display.c
Old patch from Arch Linux that they have removed in 2012.
- patch-util_cairo-sphinx_sphinx.c
The code defines MAP_NORESERVE to zero now if it's undefined.

This has been build tested with autoconf 2.69 and 2.71, but I think it would be
best to do an exp-run before committing this, so I'll include it in the
autoconf exp-run.

You are receiving this mail because:
You are the assignee for the bug.