From owner-svn-ports-all@freebsd.org Mon May 14 21:03:48 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38741E77EF5; Mon, 14 May 2018 21:03:48 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D8D196AAD0; Mon, 14 May 2018 21:03:47 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B9E162173A; Mon, 14 May 2018 21:03:47 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4EL3lo1064972; Mon, 14 May 2018 21:03:47 GMT (envelope-from osa@FreeBSD.org) Received: (from osa@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4EL3lSe064970; Mon, 14 May 2018 21:03:47 GMT (envelope-from osa@FreeBSD.org) Message-Id: <201805142103.w4EL3lSe064970@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: osa set sender to osa@FreeBSD.org using -f From: "Sergey A. Osokin" Date: Mon, 14 May 2018 21:03:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469968 - in head/lang/ptoc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: osa X-SVN-Commit-Paths: in head/lang/ptoc: . files X-SVN-Commit-Revision: 469968 X-SVN-Commit-Repository: ports 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.26 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: Mon, 14 May 2018 21:03:48 -0000 Author: osa Date: Mon May 14 21:03:47 2018 New Revision: 469968 URL: https://svnweb.freebsd.org/changeset/ports/469968 Log: Fix build with clang 6.0. Bump PORTREVISION. Modified: head/lang/ptoc/Makefile head/lang/ptoc/files/patch-makefile.bsd Modified: head/lang/ptoc/Makefile ============================================================================== --- head/lang/ptoc/Makefile Mon May 14 21:01:51 2018 (r469967) +++ head/lang/ptoc/Makefile Mon May 14 21:03:47 2018 (r469968) @@ -3,6 +3,7 @@ PORTNAME= ptoc PORTVERSION= 3.58 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.garret.ru/ Modified: head/lang/ptoc/files/patch-makefile.bsd ============================================================================== --- head/lang/ptoc/files/patch-makefile.bsd Mon May 14 21:01:51 2018 (r469967) +++ head/lang/ptoc/files/patch-makefile.bsd Mon May 14 21:03:47 2018 (r469968) @@ -1,5 +1,41 @@ ---- makefile.bsd.orig Sat Nov 7 10:10:50 1998 -+++ makefile.bsd Sat Oct 21 05:54:55 2000 +--- makefile.bsd.orig 1998-11-06 21:10:50.000000000 -0500 ++++ makefile.bsd 2018-05-14 12:46:15.288108000 -0400 +@@ -10,21 +10,21 @@ + # + # C/C++ compiler + # +-CC?= gcc +-CXX?= g++ ++CC?= cc ++CXX?= c++ + + # + # C/C++ flags + # +-CFLAGS?= -O5 -g -Wall -c +-CXXFLAGS?= -O5 -g -Wall -c ++CFLAGS?= -Wall -c ++CXXFLAGS= -Wall -c -std=c++98 + #CFLAGS= -fno-exceptions -O5 -g -Wall -c + #CXXFLAGS= -fno-exceptions -O5 -g -Wall -c + + # + # X Window System directory + # +-X11BASE?= /usr/X11R6 ++X11BASE?= /usr/local + + # + # Local packages directory +@@ -94,7 +94,7 @@ + $(CXX) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -o $@ -c $< + + .c.o : +- $(CC) $(CXXFLAGS) $(DEFINES) $(INCLUDES) -o $@ -c $< ++ $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o $@ -c $< + + # + # Custom targets. @@ -131,7 +131,7 @@ $(LD) $(LDFLAGS) -o $@ $(OBJS)