diff options
author | marino <marino@FreeBSD.org> | 2015-04-02 15:28:49 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2015-04-02 15:28:49 +0800 |
commit | 8d5b2ab2034a17077e473d39bcd743acfd5c1ea2 (patch) | |
tree | 674d619e04a94ed2008ea3588cda9fc58ddbbe8b /x11 | |
parent | b41f336887e4cd0c9e502d002c6f065b8506cf28 (diff) | |
download | freebsd-ports-gnome-8d5b2ab2034a17077e473d39bcd743acfd5c1ea2.tar.gz freebsd-ports-gnome-8d5b2ab2034a17077e473d39bcd743acfd5c1ea2.tar.zst freebsd-ports-gnome-8d5b2ab2034a17077e473d39bcd743acfd5c1ea2.zip |
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
Diffstat (limited to 'x11')
-rw-r--r-- | x11/sessreg/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 |