Merge master into stdenv-updates
Conflicts: pkgs/development/libraries/glibc/2.18/common.nix (take stdenv-updates) pkgs/misc/emulators/zsnes/default.nix (more complex, build tested) pkgs/top-level/all-packages.nix (auto-solved)
This commit is contained in:
@@ -7,12 +7,12 @@ assert stdenv.isLinux;
|
||||
assert stdenv.gcc.gcc != null;
|
||||
|
||||
let
|
||||
version = "1.7.8";
|
||||
version = "1.7.10";
|
||||
name = "wine-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/wine/${name}.tar.bz2";
|
||||
sha256 = "010qa6xn0b0161kcmm43yr0bp39iddb6d5i27mpl229shrgpzq9h";
|
||||
sha256 = "1nybsp4pga0jhx6rm6ngpa2ixsbj75p8w22r9d70x4zgjx5hw9s4";
|
||||
};
|
||||
|
||||
gecko = fetchurl {
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
, cabextract, unzip, p7zip, gnused, gnugrep, bash } :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
rev = "1078";
|
||||
rev = "1083";
|
||||
name = "winetricks-${rev}";
|
||||
|
||||
src = fetchsvn {
|
||||
url = "http://winetricks.googlecode.com/svn/trunk";
|
||||
inherit rev;
|
||||
sha256 = "0ipvld0r5h6x2pgqkqa82q0w9flx6fn9aha8fd7axf5ji2gzmidm";
|
||||
sha256 = "0zakwn7g2ni6xw92i1y3pngyaxsr93714s4jy11adf7rxdkj0a32";
|
||||
};
|
||||
|
||||
buildInputs = [ perl which ];
|
||||
|
||||
@@ -15,11 +15,29 @@ stdenv.mkDerivation {
|
||||
patch -p0 < ${./zsnes-1.51-libpng15.patch}
|
||||
'';
|
||||
|
||||
buildInputs = [ nasm SDL zlib libpng ncurses mesa ];
|
||||
|
||||
preConfigure = ''
|
||||
cd src
|
||||
'';
|
||||
|
||||
buildInputs = [ nasm SDL zlib libpng ncurses mesa ];
|
||||
sed -i "/^STRIP/d" configure
|
||||
|
||||
# Fix for undefined strncasecmp()
|
||||
echo '#include <strings.h>' > tmp.cpp
|
||||
cat tmp.cpp tools/strutil.h > tools/strutil.h.new
|
||||
mv tools/strutil.h.new tools/strutil.h
|
||||
|
||||
# Fix for undefined system()
|
||||
echo '#include <stdlib.h>' > tmp.cpp
|
||||
cat tmp.cpp tools/depbuild.cpp > tools/depbuild.cpp.new
|
||||
mv tools/depbuild.cpp.new tools/depbuild.cpp
|
||||
|
||||
# Fix for lots of undefined strcmp, strncmp etc.
|
||||
echo '#include <string.h>' > tmp.cpp
|
||||
cat tmp.cpp parsegen.cpp > parsegen.cpp.new
|
||||
mv parsegen.cpp.new parsegen.cpp
|
||||
'';
|
||||
|
||||
|
||||
configureFlags = "--enable-release";
|
||||
|
||||
@@ -29,4 +47,4 @@ stdenv.mkDerivation {
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
homepage = http://www.zsnes.com;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user