summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorFaye Chun <faye@lolc.at>2024-02-02 22:00:10 -0500
committerFaye Chun <faye@lolc.at>2024-02-02 23:26:29 -0500
commit9bb9d548ad4cc84199319853525004f98391b487 (patch)
tree5300f00d92d54a89179914030355b093e73518e7 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent4ff6cdece8412f691739027db7e261500936e3d4 (diff)
stepmania: fix aarch64-linux build by using libpng from nixpkgs
Currently, the aarch64-linux build of Stepmania fails with libpng linkage errors: > ld: ../extern/libpng.a(pngrtran.c.o): in function `png_do_read_transformations': > pngrtran.c:(.text+0x4118): undefined reference to `png_riffle_palette_neon' > ld: pngrtran.c:(.text+0x5188): undefined reference to `png_do_expand_palette_rgba8_neon' > ld: pngrtran.c:(.text+0x6268): undefined reference to `png_do_expand_palette_rgb8_neon' > ld: ../extern/libpng.a(pngrutil.c.o): in function `png_read_filter_row': > pngrutil.c:(.text+0x6734): undefined reference to `png_init_filter_functions_neon' > collect2: error: ld returned 1 exit status Stepmania vendors many dependencies in source form in their code repository; it appears that the libpng build configured there seems to be either misconfigured or isn't building correctly under NixOS. I played around with a couple of NEON-related compile flags but couldn't get anything to stick. A workaround that works seems to be building against the Nixpkgs libpng instead. It builds, launch, and (so far) plays correctly on my NixOS-based M1 Air and my PC.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions