summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/xorg-server/Makefile2
-rw-r--r--package/xorg-server/patches/patch-hw_kdrive_linux_linux_c13
2 files changed, 14 insertions, 1 deletions
diff --git a/package/xorg-server/Makefile b/package/xorg-server/Makefile
index 3faa23e49..6ca4f67f0 100644
--- a/package/xorg-server/Makefile
+++ b/package/xorg-server/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= xorg-server
PKG_VERSION:= 1.12.2
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= a95c896fbe8322c3c8d518a13eb74c7a
PKG_DESCR:= Xorg server
PKG_SECTION:= x11/server
diff --git a/package/xorg-server/patches/patch-hw_kdrive_linux_linux_c b/package/xorg-server/patches/patch-hw_kdrive_linux_linux_c
new file mode 100644
index 000000000..2a8477cb8
--- /dev/null
+++ b/package/xorg-server/patches/patch-hw_kdrive_linux_linux_c
@@ -0,0 +1,13 @@
+--- xorg-server-1.12.2.orig/hw/kdrive/linux/linux.c 2012-05-17 19:09:03.000000000 +0200
++++ xorg-server-1.12.2/hw/kdrive/linux/linux.c 2013-12-22 20:10:03.000000000 +0100
+@@ -66,8 +66,8 @@ static void
+ LinuxCheckChown(char *file)
+ {
+ struct stat st;
+- __uid_t u;
+- __gid_t g;
++ uid_t u;
++ gid_t g;
+
+ if (stat(file, &st) < 0)
+ return;