svn commit: r382986 - head/x11/sessreg

John Marino marino at FreeBSD.org
Thu Apr 2 07:28:51 UTC 2015


Author: marino
Date: Thu Apr  2 07:28:49 2015
New Revision: 382986
URL: https://svnweb.freebsd.org/changeset/ports/382986

Log:
  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

Modified:
  head/x11/sessreg/Makefile

Modified: head/x11/sessreg/Makefile
==============================================================================
--- head/x11/sessreg/Makefile	Thu Apr  2 06:45:10 2015	(r382985)
+++ head/x11/sessreg/Makefile	Thu Apr  2 07:28:49 2015	(r382986)
@@ -9,6 +9,7 @@ COMMENT=	Manage utmp/wtmp entries for no
 
 XORG_CAT=	app
 USE_XORG=	x11
+CPP+=		-P	# Required for gcc5+
 
 PLIST_FILES=	bin/sessreg man/man1/sessreg.1.gz
 


More information about the svn-ports-all mailing list