Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: src/net/../gnauralnet.h:233: multiple definition of `GN_ScheduleFingerprint';
src/net/../../src/gnauralnet.h:233: first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: bsdsocket.o:(.bss+0x0): multiple definition of
`socketbases'; main.o:(.bss+0x2792c0): first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: workspaces.o:src/keyboard.h:93: multiple definition of
`NumLockMask'; client.o:src/keyboard.h:93: first defined here
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: main.o:/build/dillo-3.0.5/dpid/dpid.h:64: multiple definition of `sock_set';
dpid.o:/build/dillo-3.0.5/dpid/dpid.h:64: first defined here
This was removed in https://github.com/NixOS/nixpkgs/pull/74295 because
it was compatible with Python 2 only. mcomix3 was a fork originally
introduced to port it to Python 3, however upstream eventually released
version 2.x, porting it to Python 3.
strictDeps breaks `withGtkWrapper` as, it seems, the setup hook does not
run and `GSETTINGS_SCHEMA_PATH` does not get set so `XDG_DATA_DIRS` is
not updated. Probably other things are broken by it as well. See also
probably related https://github.com/NixOS/nixpkgs/issues/56943
(mentioned from `doc/languages-frameworks/gnome.section.md`).
This partially reverts commit da4707d636.
Without the change firefox build on i686 fails at configure time:
$ NIXPKGS_ALLOW_BROKEN=1 nix build -f. --argstr system "i686-linux" firefox
...
mozbuild.configure.options.InvalidOptionError:
'--enable-release' implied by 'MOZILLA_OFFICIAL' conflicts with '--disable-release' from the command-line
The change uses the same 32-bit guard for both. It still does not allow
i686 build to succeed for other toolchain misconfiguration, but it's a
step forward.
Using Qt *and* GTK means both wrapper hooks kick in, so avoid automatic
GTK wrapping and merge arguments into Qt ones as usual.
Duplicate wrapping must be avoided as it breaks the program's basename,
e.g. `argv[0]` ends up with ".keepassxc-wrapped" rather than
"keepassxc" as basename.
This fixes all three ELF executables (there is `-cli` and `-proxy`).
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: initc.o:(.bss+0x28): multiple definition of `HacksDisable'; cfg.o:(.bss+0x59e3): first defined here