Package: x11-xserver-utils
Version: 7.7+4
Severity: serious

cpp-5 insert some comments when replace macros,
so it makes sessreg manpages fail to build.

https://buildd.debian.org/status/fetch.php?pkg=x11-xserver-utils&arch=mips64el&ver=7.7%2B4&stamp=1441629791



-- 
YunQiang Su
GCC may insert some comments everywhere when replace placeholders.
GCC 5 just does it here.

Index: b/sessreg/man/Makefile.am
===================================================================
--- a/sessreg/man/Makefile.am
+++ b/sessreg/man/Makefile.am
@@ -11,7 +11,8 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(top_
 filenames.sed: filenames.sed.c
        $(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
            $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/filenames.sed.c | \
-           $(SED) -n -e '/s|__/ p' -e '/^\/__/ p' > $@
+           $(SED) -n -e '/s|__/ p' -e '/^\/__/ p' -e'/ *|g$$/ p' -e'/ 
*"\/var.*"$$/ p' | \
+            $(SED) 's/ *//g' | $(SED) '/|$$/{N;s/\n//}' | $(SED) 
'/"$$/{N;s/\n//}' > $@
 
 # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
 MAN_SUBSTS += -f filenames.sed

Reply via email to