summaryrefslogtreecommitdiffstats
path: root/package/x11r7/xapp_luit/xapp_luit-posix-openpt.patch
blob: c8ff8e4396416f008269c2d6cada019ce6b13efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Suggested workaround to build with recent gcc versions

Upstream bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47792

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>

Index: xapp_luit-1.1.1/sys.c
===================================================================
--- xapp_luit-1.1.1.orig/sys.c
+++ xapp_luit-1.1.1/sys.c
@@ -20,6 +20,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWAR
 THE SOFTWARE.
 */
 
+#define _XOPEN_SOURCE 600
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif