From owner-svn-ports-all@FreeBSD.ORG Thu Apr 2 07:28:51 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1F676556; Thu, 2 Apr 2015 07:28:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B183360; Thu, 2 Apr 2015 07:28:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t327Soqx001054; Thu, 2 Apr 2015 07:28:50 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t327SoaN001053; Thu, 2 Apr 2015 07:28:50 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201504020728.t327SoaN001053@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Thu, 2 Apr 2015 07:28:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382986 - head/x11/sessreg X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2015 07:28:51 -0000 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