gimpPlugins.lqrPlugin: pull upstream fix for -fno-common toolchains

Without the change build fails on upstream gcc-10 as:

    ld: interface_aux.o:src/interface_aux.c:55: multiple definition of
      `dlg'; interface.o:src/interface.c💯 first defined here
main
Sergei Trofimovich 2 years ago
parent 064a605987
commit ac8d9e9e01
  1. 9
      pkgs/applications/graphics/gimp/plugins/default.nix

@ -250,6 +250,15 @@ in
rev = "v${version}";
sha256 = "81ajdZ2zQi/THxnBlSeT36tVTEzrS1YqLGpHMhFTKAo=";
};
patches = [
# Pull upstream fix for -fno-common toolchain support:
# https://github.com/carlobaldassi/gimp-lqr-plugin/pull/6
(fetchpatch {
name = "fno-common.patch";
url = "https://github.com/carlobaldassi/gimp-lqr-plugin/commit/ae3464a82e1395fc577cc94999bdc7c4a7bb35f1.patch";
sha256 = "EdjZWM6U1bhUmsOnLA8iJ4SFKuAXHIfNPzxZqel+JrY=";
})
];
};
gmic = pkgs.gmic-qt.override {

Loading…
Cancel
Save