mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
golly: fix build with GCC 16 (#569210)
This commit is contained in:
@@ -48,6 +48,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
postPatch = ''
|
||||
substituteInPlace wxprefs.cpp \
|
||||
--replace-fail 'PYTHON_SHLIB' '${python3}/lib/libpython3.so'
|
||||
|
||||
substituteInPlace ../cmdline/bgolly.cpp \
|
||||
--replace-fail '&popcount' '&::popcount' \
|
||||
--replace-fail 'if (popcount)' 'if (::popcount)'
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace makefile-gtk \
|
||||
|
||||
Reference in New Issue
Block a user