xapp_luit: Add patch to fix building with recent gcc versions
PATCH 1/1 xapp_luit: Add patch to fix building with recent gcc versions
From: Markos Chandras <[email protected]>
Upstream bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47792
Signed-off-by Markos Chandras <[email protected]>
--- package/x11r7/xapp_luit/xapp_luit-posix-openpt.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/x11r7/xapp_luit/xapp_luit-posix-openpt.patch
package/x11r7/xapp_luit/xapp_luit-posix-openpt.patch new file +19 -0
@@ -0,0 +1,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 <[email protected]> + +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
Signature · 1 line
1.8.2.1
PATCH 1/1 xapp_luit: Add patch to fix building with recent gcc versions
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Markos" == Markos Chandras <[email protected]> writes:
Markos> From: Markos Chandras <[email protected]> Markos> Upstream bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47792
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard