kumquat-buildroot/package/x11r7/xserver_xorg-server/1.20.0/0004-include-misc.h-fix-uClibc-build.patch
Bernd Kuhls f906302354 package/x11r7/xserver_xorg-server: bump version to 1.20.0
Rebased patch 0001 after upstream commit:
https://cgit.freedesktop.org/xorg/xserver/commit/configure.ac?id=e0748b10a8621066b404d713a76826907da777b9

Removed patch 0004, applied upstream:
https://cgit.freedesktop.org/xorg/xserver/commit/glx/glxscreens.c?id=d16133e3e293fe16b291114d344fbd5a61d5ed65

Added legacy handling for internal version option.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-28 23:10:41 +02:00

32 lines
787 B
Diff

From 2e8fca00f5bdb02f2f59aaa428d1e9d808ab0e86 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd.kuhls@t-online.de>
Date: Sat, 16 Jun 2018 19:20:16 +0200
Subject: [PATCH] include/misc.h: fix uClibc build
A similar fix was used for Dovecot:
https://www.dovecot.org/list/dovecot/2017-November/110019.html
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
include/misc.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/misc.h b/include/misc.h
index 14920c3c3..390e52b60 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -185,6 +185,10 @@ typedef struct _xReq *xReqPtr;
#endif
#endif
+#undef bswap_16
+#undef bswap_32
+#undef bswap_64
+
/**
* Calculate the number of bytes needed to hold bits.
* @param bits The minimum number of bits needed.
--
2.17.1