gpicview: fix darwin build

+8 -1
+8 -1
pkgs/applications/graphics/gpicview/default.nix
··· 1 - { stdenv, fetchurl, intltool, pkgconfig, gtk2 }: 1 + { stdenv, fetchurl, intltool, pkgconfig, gtk2, fetchpatch }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "gpicview-0.2.4"; ··· 7 7 url = "mirror://sourceforge/lxde/gpicview-0.2.4.tar.gz"; 8 8 sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr"; 9 9 }; 10 + 11 + patches = [ 12 + (fetchpatch { 13 + url = "https://raw.githubusercontent.com/nonas/debian-clang/master/buildlogs/gpicview/gpicview-0.2.4/debian/patches/clang_FTBFS_Wreturn-type.patch"; 14 + sha256 = "02dm966bplnv10knpdx7rlpjipk884156ggd9ij05zhza0jl8xcs"; 15 + }) 16 + ]; 10 17 11 18 meta = with stdenv.lib; { 12 19 description = "A simple and fast image viewer for X";