Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2015 07:28:50 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382986 - head/x11/sessreg
Message-ID:  <201504020728.t327SoaN001053@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504020728.t327SoaN001053>