Without the change build fails on upstream gcc-10 as:
ld: uget_gtk-UgtkApp-main.o:/build/uget-2.2.3/ui-gtk/UgtkBanner.h:67: multiple definition of
`banner'; uget_gtk-UgtkTraveler.o:/build/uget-2.2.3/ui-gtk/UgtkBanner.h:67: first defined here
As sourceforge does now allow easy way of extracting patches
I inlined the change as a string replacement.
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/uget-gtk -h` got 0 exit code
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/uget-gtk --help` got 0 exit code
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/uget-gtk -V` and found version 2.2.1
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/uget-gtk --version` and found version 2.2.1
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/uget-gtk -h` and found version 2.2.1
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/uget-gtk --help` and found version 2.2.1
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/.uget-gtk-wrapped -h` got 0 exit code
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/.uget-gtk-wrapped --help` got 0 exit code
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/.uget-gtk-wrapped -V` and found version 2.2.1
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/.uget-gtk-wrapped --version` and found version 2.2.1
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/.uget-gtk-wrapped -h` and found version 2.2.1
- ran `/nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1/bin/.uget-gtk-wrapped --help` and found version 2.2.1
- found 2.2.1 with grep in /nix/store/ycadchyn77y6aqxnvp5jkhjv0nw6jqi0-uget-2.2.1