summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-23 09:51:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-23 09:51:18 +0100
commit6935d64dc30f2b0a2651137128fe28a63d574fb2 (patch)
treef1ab995e22f3b629cb16be5034954e25ff6c3cfe
parentb1b2509e980eb1b0973b1754511353e8415a1a0c (diff)
fix musl compile
-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;