diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/xorg-app/xmodmap/gnu-source.patch | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-app/xmodmap/gnu-source.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-app/xmodmap/gnu-source.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-app/xmodmap/gnu-source.patch b/meta/recipes-graphics/xorg-app/xmodmap/gnu-source.patch new file mode 100644 index 0000000000..40f81f0f74 --- /dev/null +++ b/meta/recipes-graphics/xorg-app/xmodmap/gnu-source.patch | |||
@@ -0,0 +1,60 @@ | |||
1 | Upstream-Status: Backport | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From 42f99a7a7b836f6f9704a7b1747eb722c93446ec Mon Sep 17 00:00:00 2001 | ||
5 | From: Alan Coopersmith <alan.coopersmith@oracle.com> | ||
6 | Date: Mon, 23 Apr 2012 14:28:39 +0000 | ||
7 | Subject: include config.h before stdio.h & other system headers | ||
8 | |||
9 | Ensures definitions like _GNU_SOURCE are visible when needed. | ||
10 | |||
11 | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> | ||
12 | Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> | ||
13 | --- | ||
14 | diff --git a/exec.c b/exec.c | ||
15 | index dbcb669..419b10e 100644 | ||
16 | --- a/exec.c | ||
17 | +++ b/exec.c | ||
18 | @@ -54,6 +54,10 @@ from The Open Group. | ||
19 | * original xmodmap, written by David Rosenthal, of Sun Microsystems. | ||
20 | */ | ||
21 | |||
22 | +#ifdef HAVE_CONFIG_H | ||
23 | +# include "config.h" | ||
24 | +#endif | ||
25 | + | ||
26 | #include <X11/Xos.h> | ||
27 | #include <X11/Xlib.h> | ||
28 | #include <stdio.h> | ||
29 | diff --git a/pf.c b/pf.c | ||
30 | index 0eb0f55..3f0c3f4 100644 | ||
31 | --- a/pf.c | ||
32 | +++ b/pf.c | ||
33 | @@ -26,6 +26,10 @@ from The Open Group. | ||
34 | |||
35 | */ | ||
36 | |||
37 | +#ifdef HAVE_CONFIG_H | ||
38 | +# include "config.h" | ||
39 | +#endif | ||
40 | + | ||
41 | #include <X11/Xos.h> | ||
42 | #include <X11/Xlib.h> | ||
43 | #include <stdio.h> | ||
44 | diff --git a/xmodmap.c b/xmodmap.c | ||
45 | index 58a8e70..0f89629 100644 | ||
46 | --- a/xmodmap.c | ||
47 | +++ b/xmodmap.c | ||
48 | @@ -26,6 +26,10 @@ from The Open Group. | ||
49 | |||
50 | */ | ||
51 | |||
52 | +#ifdef HAVE_CONFIG_H | ||
53 | +# include "config.h" | ||
54 | +#endif | ||
55 | + | ||
56 | #include <X11/Xos.h> | ||
57 | #include <X11/Xlib.h> | ||
58 | #include <stdio.h> | ||
59 | -- | ||
60 | cgit v0.9.0.2-2-gbebe | ||