buildroot/package/x11r7/xapp_luit/0001-posix-openpt.patch
Peter Korsgaard 298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00

20 lines
503 B
Diff

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