[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778176: Revised gcc-5 patch for x11-xserver-utils



On Sat, 7 Mar 2015 08:57:48 +0100, Julien Cristau wrote:
> I don't think that's an acceptable way to fix this.

How about this?  (This is a patch to be directly quilt imported, not a 
debdiff.)
-- 
Daniel Schepler
Index: x11-xserver-utils-7.7+4/sessreg/man/Makefile.am
===================================================================
--- x11-xserver-utils-7.7+4.orig/sessreg/man/Makefile.am
+++ x11-xserver-utils-7.7+4/sessreg/man/Makefile.am
@@ -10,7 +10,7 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man
 AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir)
 filenames.sed: filenames.sed.c
 	$(AM_V_GEN)$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-	    $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/filenames.sed.c | \
+	    $(AM_CPPFLAGS) $(CPPFLAGS) -P $(srcdir)/filenames.sed.c | \
 	    $(SED) -n -e '/s|__/ p' -e '/^\/__/ p' > $@
 
 # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure

Reply to: