From 8d5b2ab2034a17077e473d39bcd743acfd5c1ea2 Mon Sep 17 00:00:00 2001 From: marino Date: Thu, 2 Apr 2015 07:28:49 +0000 Subject: x11/sessreg: Fix build on gcc-5, take II The previous attempt to fix sessreg on gcc5 by using tradcpp was backed out due to failure to build on FreeBSD 11. This attempt uses gcc's cpp, but with the -P option. Tested on F8,9,10,11 x i386,amd64 tested by: bofh Approved by: blanket --- x11/sessreg/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'x11') diff --git a/x11/sessreg/Makefile b/x11/sessreg/Makefile index 3b6fb7f571a3..2e61e7f6f68b 100644 --- a/x11/sessreg/Makefile +++ b/x11/sessreg/Makefile @@ -9,6 +9,7 @@ COMMENT= Manage utmp/wtmp entries for non-init X clients XORG_CAT= app USE_XORG= x11 +CPP+= -P # Required for gcc5+ PLIST_FILES= bin/sessreg man/man1/sessreg.1.gz -- cgit