xorg server: maintenance update 1.14.4 -> .5
Also drop dri-path patch which wasn't needed for several months, and now it no longer applied. I tested that drivers are still found.
This commit is contained in:
parent
7c2ba05e13
commit
095949bdc8
4 changed files with 5 additions and 27 deletions
|
@ -1900,11 +1900,11 @@ let
|
|||
})) // {inherit ;};
|
||||
|
||||
xorgserver = (stdenv.mkDerivation ((if overrides ? xorgserver then overrides.xorgserver else x: x) {
|
||||
name = "xorg-server-1.14.4";
|
||||
name = "xorg-server-1.14.5";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = mirror://xorg/individual/xserver/xorg-server-1.14.4.tar.bz2;
|
||||
sha256 = "1hsxyqgrw3hrgdl0sw8n4hbhjlindna0z8w4k1anwpw4zfmcz330";
|
||||
url = mirror://xorg/individual/xserver/xorg-server-1.14.5.tar.bz2;
|
||||
sha256 = "1lb1fkscy7nwnabfj0d2shvxga16i047g11if18plj0n2jzhc3wd";
|
||||
};
|
||||
buildInputs = [pkgconfig renderproto libdrm openssl libX11 libXau libXaw libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt libXv ];
|
||||
})) // {inherit renderproto libdrm openssl libX11 libXau libXaw libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt libXv ;};
|
||||
|
|
|
@ -192,10 +192,7 @@ in
|
|||
"--with-default-font-path= " # there were only paths containing "${prefix}",
|
||||
# and there are no fonts in this package anyway
|
||||
];
|
||||
patches =
|
||||
[ ./xorgserver-dri-path.patch
|
||||
./xorgserver-xkbcomp-path.patch
|
||||
];
|
||||
patches = [ ./xorgserver-xkbcomp-path.patch ];
|
||||
buildInputs = attrs.buildInputs ++ [ xtrans ];
|
||||
propagatedBuildInputs =
|
||||
[ args.zlib args.udev args.mesa args.dbus.libs
|
||||
|
|
|
@ -164,7 +164,7 @@ mirror://xorg/X11R7.7/src/everything/xlsatoms-1.1.1.tar.bz2
|
|||
mirror://xorg/X11R7.7/src/everything/xlsclients-1.1.2.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xmodmap-1.0.7.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xorg-docs-1.7.tar.bz2
|
||||
mirror://xorg/individual/xserver/xorg-server-1.14.4.tar.bz2
|
||||
mirror://xorg/individual/xserver/xorg-server-1.14.5.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xorg-sgml-doctools-1.11.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xpr-1.0.4.tar.bz2
|
||||
mirror://xorg/X11R7.7/src/everything/xprop-1.2.1.tar.bz2
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
diff -Naur xorg-server-1.12.2-orig/glx/glxdricommon.c xorg-server-1.12.2/glx/glxdricommon.c
|
||||
--- xorg-server-1.12.2-orig/glx/glxdricommon.c 2012-05-17 13:09:02.000000000 -0400
|
||||
+++ xorg-server-1.12.2/glx/glxdricommon.c 2012-07-14 14:57:37.972791909 -0400
|
||||
@@ -219,10 +219,14 @@
|
||||
int i;
|
||||
void *driver;
|
||||
char filename[PATH_MAX];
|
||||
+ char *real_dri_driver_path;
|
||||
const __DRIextension **extensions;
|
||||
|
||||
+ real_dri_driver_path = getenv("XORG_DRI_DRIVER_PATH");
|
||||
+ if (!real_dri_driver_path) real_dri_driver_path = dri_driver_path;
|
||||
+
|
||||
snprintf(filename, sizeof filename, "%s/%s_dri.so",
|
||||
- dri_driver_path, driverName);
|
||||
+ real_dri_driver_path, driverName);
|
||||
|
||||
driver = dlopen(filename, RTLD_LAZY | RTLD_LOCAL);
|
||||
if (driver == NULL) {
|
Loading…
Reference in a new issue