From a8300ef9fd022e1e94fbeb626cbc9b2a43afd03b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 25 Nov 2013 23:29:13 +0100 Subject: gnu: xmodmap: Add patch to allow builds with GCC 4.8. * gnu/packages/patches/xmodmap-asprintf.patch: New file. * gnu/packages/xorg.scm (xmodmap): Use it. * gnu-system.am (dist_patch_DATA): Add it. --- gnu/packages/patches/xmodmap-asprintf.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gnu/packages/patches/xmodmap-asprintf.patch (limited to 'gnu/packages/patches') diff --git a/gnu/packages/patches/xmodmap-asprintf.patch b/gnu/packages/patches/xmodmap-asprintf.patch new file mode 100644 index 0000000000..6dfe8514e5 --- /dev/null +++ b/gnu/packages/patches/xmodmap-asprintf.patch @@ -0,0 +1,14 @@ +This patch allows the 'asprintf' declaration to be visible, by +including , which defines _GNU_SOURCE. + + +--- xmodmap-1.0.7/xmodmap.c 2013-11-25 23:25:25.000000000 +0100 ++++ xmodmap-1.0.7/xmodmap.c 2013-11-25 23:25:27.000000000 +0100 +@@ -26,6 +26,7 @@ from The Open Group. + + */ + ++#include + #include + #include + #include -- cgit v1.2.3