* Get Wine to work (basically) by linking it against Glibc 2.6 with
NPTL. Apparently Wine doesn't work with Glibc 2.5 + LinuxThreads. svn path=/nixpkgs/trunk/; revision=9165
This commit is contained in:
parent
a3a9d407da
commit
a8bd020fe0
@ -2,12 +2,13 @@
|
||||
mesa, libXcursor, libXinerama, libXrandr,
|
||||
libXrender, libXxf86vm, alsaLib, ncurses, libjpeg,
|
||||
lcms}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "wine-0.9.42";
|
||||
name = "wine-0.9.43";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://switch.dl.sourceforge.net/sourceforge/wine/wine-0.9.42.tar.bz2;
|
||||
sha256 = "1hjqpnwvnpgsc776jdxyl4qw38zilwcfi8krvxlv4wsq0c4isr9v";
|
||||
url = http://switch.dl.sourceforge.net/sourceforge/wine/wine-0.9.43.tar.bz2;
|
||||
sha256 = "0r6rz3zi5p7razn957lf2zy290hp36jrlfz4cpy23y9179r8i66x";
|
||||
};
|
||||
|
||||
buildInputs = [libX11 libICE gtk flex bison libXi mesa libXcursor
|
||||
|
@ -764,6 +764,8 @@ rec {
|
||||
profiledCompiler = false;
|
||||
}));
|
||||
|
||||
gcc41NPTL = wrapGCCWithGlibc gcc41.gcc glibcNPTL;
|
||||
|
||||
gcc42 = lowPrio (wrapGCC (import ../development/compilers/gcc-4.2 {
|
||||
inherit fetchurl stdenv noSysDirs;
|
||||
profiledCompiler = true;
|
||||
@ -932,7 +934,9 @@ rec {
|
||||
inherit fetchurl stdenv visualcpp windowssdk;
|
||||
};
|
||||
|
||||
wrapGCC = baseGCC: import ../build-support/gcc-wrapper {
|
||||
wrapGCC = baseGCC: wrapGCCWithGlibc baseGCC glibc;
|
||||
|
||||
wrapGCCWithGlibc = baseGCC: glibc: import ../build-support/gcc-wrapper {
|
||||
nativeTools = stdenv ? gcc && stdenv.gcc.nativeTools;
|
||||
nativeLibc = stdenv ? gcc && stdenv.gcc.nativeLibc;
|
||||
gcc = baseGCC;
|
||||
@ -3802,13 +3806,14 @@ rec {
|
||||
};
|
||||
};
|
||||
|
||||
/*wine = import ../misc/emulators/wine {
|
||||
inherit fetchurl stdenv flex bison mesa ncurses
|
||||
wine = import ../misc/emulators/wine {
|
||||
stdenv = overrideGCC stdenv gcc41NPTL;
|
||||
inherit fetchurl flex bison mesa ncurses
|
||||
libjpeg alsaLib lcms;
|
||||
inherit (xlibs) libX11 libICE libXi libXcursor
|
||||
libXinerama libXrandr libXrender libXxf86vm;
|
||||
inherit (gtkLibs) gtk;
|
||||
};*/
|
||||
};
|
||||
|
||||
xsane = import ../misc/xsane {
|
||||
inherit fetchurl stdenv pkgconfig libusb
|
||||
|
Loading…
Reference in New Issue
Block a user