python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / x11r7 / xapp_sessreg / 0001-Pass-P-to-the-preprocessor-when-generating-filenames.patch
blob5c3e91a49163a4b9293eaec2ef151985fbd6ffd9
1 From 93f5d5abf6b214a4b36e00cd09174d24b2ed0a6d Mon Sep 17 00:00:00 2001
2 From: Stefan Dirsch <sndirsch@suse.de>
3 Date: Wed, 9 Sep 2015 23:44:06 +0200
4 Subject: [PATCH] Pass -P to the preprocessor when generating filenames for the
5 manpage.
7 Fixes build with GCC 5. Patch by Richard Biener <rguenther@suse.com>
9 Tested-by: Matt Turner <mattst88@gmail.com>
10 Signed-off-by: Matt Turner <mattst88@gmail.com>
11 [Thomas: backport from upstream commit 93f5d5abf6b214a4b36e00cd09174d24b2ed0a6d]
12 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 ---
14 man/Makefile.am | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/man/Makefile.am b/man/Makefile.am
18 index 665ace5..2e5f146 100644
19 --- a/man/Makefile.am
20 +++ b/man/Makefile.am
21 @@ -9,7 +9,7 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
23 AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)
24 filenames.sed: filenames.sed.c
25 - $(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
26 + $(AM_V_GEN)$(CPP) -P $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
27 $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/filenames.sed.c | \
28 $(SED) -n -e '/s|__/ p' -e '/^\/__/ p' > $@
30 --
31 2.6.3