3
0
Fork 0
forked from mirrors/nixpkgs

xscreensaver: Update to 5.19

This commit is contained in:
Rickard Nilsson 2012-10-10 16:05:37 +02:00
parent b949359a14
commit e74916ed62

View file

@ -4,12 +4,12 @@
}:
stdenv.mkDerivation rec {
version = "5.18";
version = "5.19";
name = "xscreensaver-${version}";
src = fetchurl {
url = "http://www.jwz.org/xscreensaver/${name}.tar.gz";
sha256 = "3d70edb8f46511f5427f21b4ba4d8323f336888f60268d16731f5231c6883db9";
sha256 = "fd62ea0f996abe1bea3770dd7141681454521b49302f9bced8af9c2ee428c0e0";
};
buildInputs =
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
''
# Fix build error in version 5.18. Remove this patch when updating
# to a later version.
sed -i -e '/AF_LINK/d' hacks/glx/sonar-icmp.c
#sed -i -e '/AF_LINK/d' hacks/glx/sonar-icmp.c
# Fix path to GTK.
sed -e 's%@GTK_DATADIR@%@datadir@% ; s%@PO_DATADIR@%@datadir@%' \
-i driver/Makefile.in po/Makefile.in.in