summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorNicolas Benes <nbenes.gh@xandea.de>2022-10-01 21:00:15 +0200
committerNicolas Benes <nbenes.gh@xandea.de>2022-10-01 21:55:18 +0200
commit1654dc831cf62f170f4344ee3ce054e5bf68dd9e (patch)
tree43f0c692891fa962d880ae3a14958797ec5811d3 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent2f107ad427c71553deb2d79b7071d98f497b99aa (diff)
tzdata: enable cross-compilation for Windows
* Additional make flags are needed since some functions do not exist or have different names or parameters on Windows. * When compiling for Windows, GCC implicitly adds a `.exe` suffix to the output file name. A patch is needed for the `install` target to locate and install the correct files. * The tzdata Makefile contains `zic` and `ZIC` variables. The former refers to the path of the program to execute, while the latter invokes the former with additional arguments (it is defined as `ZIC=$(zic) $(ZFLAGS)`, `ZFLAGS` is normally empty). Previously, `ZIC` was overridden, potentially loosing `ZFLAGS` arguments. This commit changes it to override `zic` instead. * The `zic` program is built and installed as part of the package and also executed during the build to translate time-related files. When cross-compiling it means that two executables need to be compiled: one to get installed and run on the host platform, and another to run on the build platform. Instead of renaming files and building a temporary executable for the build platform, this commit references the build platform's `tzdata.bin` package and runs its `zic` program.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions