3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
guix/gnu/packages/patches/luit-posix.patch
Andreas Enge c1897890ea 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.
2013-11-27 22:52:42 +01:00

15 lines
389 B
Diff

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