aboutsummaryrefslogtreecommitdiffstats
path: root/package/x11r7/xapp_luit
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2013-06-05 05:40:06 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-05 23:08:38 +0200
commit99c016336e974727135a40b1ac86d8d14c4cdab6 (patch)
tree9827879ea493d153b2b927536c1ddfb2f6376023 /package/x11r7/xapp_luit
parent96f522ee7bc94b1440c5d53d44d26a491ca8f9ab (diff)
downloadbuildroot-novena-99c016336e974727135a40b1ac86d8d14c4cdab6.tar.gz
buildroot-novena-99c016336e974727135a40b1ac86d8d14c4cdab6.zip
xapp_luit: Add patch to fix building with recent gcc versions
Upstream bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47792 Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/x11r7/xapp_luit')
-rw-r--r--package/x11r7/xapp_luit/xapp_luit-posix-openpt.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/x11r7/xapp_luit/xapp_luit-posix-openpt.patch b/package/x11r7/xapp_luit/xapp_luit-posix-openpt.patch
new file mode 100644
index 000000000..c8ff8e439
--- /dev/null
+++ b/package/x11r7/xapp_luit/xapp_luit-posix-openpt.patch
@@ -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 <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