~ruther/guix-local

ref: e96b4378a2915d0d6a67f1d62b6064fa1f02c0fb guix-local/gnu/packages/patches/xmodmap-asprintf.patch -rw-r--r-- 375 bytes
e96b4378 — Mark H Weaver gnu: linux-libre@4.9: Update to 4.9.43. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This patch allows the 'asprintf' declaration to be visible, by
including <config.h>, 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 <config.h>
 #include <X11/Xos.h>
 #include <X11/Xlib.h>
 #include <stdio.h>