summaryrefslogtreecommitdiffstats
path: root/patches/xorg-server-1.17.2
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-07-20 11:10:00 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-07-22 11:37:11 +0200
commite01c9a7be13271b6d2bf3ec98c858103d2a61193 (patch)
tree01738f5f8f35b174befd4debdbce49b6f3ecdf98 /patches/xorg-server-1.17.2
parent1e2e475d586cc68b9e9f8ccf92848ac294fb1d9f (diff)
downloadptxdist-e01c9a7be13271b6d2bf3ec98c858103d2a61193.tar.gz
ptxdist-e01c9a7be13271b6d2bf3ec98c858103d2a61193.tar.xz
xorg-server: version bump 1.17.1 -> 1.17.2
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/xorg-server-1.17.2')
-rw-r--r--patches/xorg-server-1.17.2/0001-xf86bigfont-always-include-unistd.h.patch37
-rw-r--r--patches/xorg-server-1.17.2/series4
2 files changed, 41 insertions, 0 deletions
diff --git a/patches/xorg-server-1.17.2/0001-xf86bigfont-always-include-unistd.h.patch b/patches/xorg-server-1.17.2/0001-xf86bigfont-always-include-unistd.h.patch
new file mode 100644
index 000000000..5792f3cd4
--- /dev/null
+++ b/patches/xorg-server-1.17.2/0001-xf86bigfont-always-include-unistd.h.patch
@@ -0,0 +1,37 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Thu, 28 May 2015 23:47:37 +0200
+Subject: [PATCH] xf86bigfont: always include unistd.h
+
+Otherwise compiling can fail with:
+
+xf86bigfont.c: In function 'ProcXF86BigfontQueryVersion':
+xf86bigfont.c:287:9: error: implicit declaration of function 'geteuid' [-Werror=implicit-function-declaration]
+xf86bigfont.c:287:9: warning: nested extern declaration of 'geteuid' [-Wnested-externs]
+xf86bigfont.c:288:9: error: implicit declaration of function 'getegid' [-Werror=implicit-function-declaration]
+xf86bigfont.c:288:9: warning: nested extern declaration of 'getegid' [-Wnested-externs]
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ Xext/xf86bigfont.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Xext/xf86bigfont.c b/Xext/xf86bigfont.c
+index 46b3242d1bc9..65df73449b4c 100644
+--- a/Xext/xf86bigfont.c
++++ b/Xext/xf86bigfont.c
+@@ -39,6 +39,7 @@
+ #endif
+
+ #include <sys/types.h>
++#include <unistd.h>
+ #ifdef HAS_SHM
+ #if defined(linux) && (!defined(__GNU_LIBRARY__) || __GNU_LIBRARY__ < 2)
+ /* libc4 does not define __GNU_LIBRARY__, libc5 defines __GNU_LIBRARY__ as 1 */
+@@ -58,7 +59,6 @@
+ #include <sys/shm.h>
+ #include <sys/stat.h>
+ #include <stdlib.h>
+-#include <unistd.h>
+ #include <time.h>
+ #include <errno.h>
+ #endif
diff --git a/patches/xorg-server-1.17.2/series b/patches/xorg-server-1.17.2/series
new file mode 100644
index 000000000..47238ab69
--- /dev/null
+++ b/patches/xorg-server-1.17.2/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-xf86bigfont-always-include-unistd.h.patch
+# 25545eb055796221183d2418bb8d79dc - git-ptx-patches magic