aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/luit-posix.patch
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2013-11-27 22:52:42 +0100
committerAndreas Enge <andreas@enge.fr>2013-11-27 22:52:42 +0100
commitc1897890eae585cc2a683311197c54ff182a16e2 (patch)
tree5b2ea20c14bc1a0b6927f5ef12855a023bf64288 /gnu/packages/patches/luit-posix.patch
parentd02196a7b3a339fba583d8590675f6793f3be458 (diff)
downloadguix-c1897890eae585cc2a683311197c54ff182a16e2.tar
guix-c1897890eae585cc2a683311197c54ff182a16e2.tar.gz
gnu: luit: Accomodate stricter warnings of gcc-4.8.
* gnu/packages/patches/luit-posix.patch: New file. * gnu-system.am (dist_patch_DATA): Register patch. * gnu/packages/xorg.scm (luit): Apply patch.
Diffstat (limited to 'gnu/packages/patches/luit-posix.patch')
-rw-r--r--gnu/packages/patches/luit-posix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/luit-posix.patch b/gnu/packages/patches/luit-posix.patch
new file mode 100644
index 0000000000..9a38c17a39
--- /dev/null
+++ b/gnu/packages/patches/luit-posix.patch
@@ -0,0 +1,15 @@
+See https://bugs.freedesktop.org/show_bug.cgi?id=47792;
+should become obsolete with the next release.
+
+diff -u luit-1.1.1.orig/sys.c luit-1.1.1/sys.c
+--- luit-1.1.1.orig/sys.c 2012-03-23 05:23:07.000000000 +0100
++++ luit-1.1.1/sys.c 2013-11-27 22:45:53.000000000 +0100
+@@ -20,6 +20,8 @@
+ THE SOFTWARE.
+ */
+
++#define _XOPEN_SOURCE 600
++
+ #ifdef HAVE_CONFIG_H
+ # include "config.h"
+ #endif