-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
zsnes: fix build against zlib-1.3 #263444
Conversation
Without the change builda fails on `master` as https://hydra.nixos.org/build/238481288/nixlog/3: checking for zlib - version >= 1.2.3... 1.3, bad version string given by zlib, sometimes due to very old zlibs that didnt correctly define their version. Please upgrade if you are running an old zlib... no The failure happens due to 2-digit zlib version string. Add a trivial change to allow 2-digit support in addition to existing 3-digit ones..
Fix LGTM, upstream has been unresponsive since 2013 so there is no upstreaming it.
It seems to happen when initializing audio, judging by the output from |
Ah, that one is the result of Pushed |
Without the change `zsnesn` startup crashes with: $ gdb zsnes *** buffer overflow detected ***: terminated ... #7 0x08057c14 in memset (__len=2, __ch=255, __dest=<optimized out>) at ...-glibc-2.38-23-dev/include/bits/string_fortified.h:59
Forgot to actually push the patch. Pushed |
Works now, you're a wizard |
I was too eager trying to fix bounds access in |
Without the change builda fails on
master
ashttps://hydra.nixos.org/build/238481288/nixlog/3:
The failure happens due to 2-digit zlib version string. Add a trivial change to allow 2-digit support in addition to existing 3-digit ones..
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)