Merge pull request #176012 from trofi/fix-fno-common-for-uget

uget: pull upstream fix for -fno-common toolchains
This commit is contained in:
Sergei Trofimovich 2022-06-03 12:28:32 +00:00 committed by GitHub
commit 9feb3ac917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "0jchvgkkphhwp2z7vd4axxr9ns8b6vqc22b2z8a906qm8916wd8i";
};
# Apply upstream fix for -fno-common toolchains.
postPatch = ''
# TODO: remove the replace once upstream fix is released:
# https://sourceforge.net/p/urlget/uget2/ci/14890943c52e0a5cd2a87d8a1c51cbffebee7cf9/
substituteInPlace ui-gtk/UgtkBanner.h --replace "} banner;" "};"
'';
nativeBuildInputs = [
pkg-config
intltool