diff options
| author | Randy Eckenrode <randy@largeandhighquality.com> | 2023-07-01 13:55:49 -0400 |
|---|---|---|
| committer | Randy Eckenrode <randy@largeandhighquality.com> | 2023-07-02 17:46:14 -0400 |
| commit | 6302ba07e3e3b493d0c67957fc343265f9a018d6 (patch) | |
| tree | f722ed4cbbba0b561af858ca7fb6ddcd6ec2a07a /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 394e69c18634c6b5e06f11bae4d6415d130ece01 (diff) | |
db: fix build with clang 16
The configure scripts frequently use `main` returning an implicit `int`,
which causes spurious failures when CC is clang 16+. This is fixed by
patching the provided macros and regenerating the scripts with
autoreconfHook, though it requires some manual processing (see below).
The upstream `configure.ac` is written in such a way that it requires
fixups and post-processing.
* Fixups are required because the original build process just cats the
macros together into one file. When `aclocal` is run, it does not pick
up all of them. This is worked around by catting the missing macros to
a file that is picked up by autoreconfHook.
* Post-processing is required to populate the version information. This
is done in a subshell to avoid polluting the environment with the
contents of `RELEASE`. Otherwise, the build will fail because the
version C macros it expects will not be defined.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
