gpicview: fix darwin build
This commit is contained in:
parent
1705b314d5
commit
9610fc55ef
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, intltool, pkgconfig, gtk2 }:
|
{ stdenv, fetchurl, intltool, pkgconfig, gtk2, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "gpicview-0.2.4";
|
name = "gpicview-0.2.4";
|
||||||
@ -8,6 +8,13 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr";
|
sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://raw.githubusercontent.com/nonas/debian-clang/master/buildlogs/gpicview/gpicview-0.2.4/debian/patches/clang_FTBFS_Wreturn-type.patch";
|
||||||
|
sha256 = "02dm966bplnv10knpdx7rlpjipk884156ggd9ij05zhza0jl8xcs";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A simple and fast image viewer for X";
|
description = "A simple and fast image viewer for X";
|
||||||
homepage = http://lxde.sourceforge.net/gpicview/;
|
homepage = http://lxde.sourceforge.net/gpicview/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user