From owner-svn-ports-all@freebsd.org Sat Dec 1 15:30:17 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 73861131A5FD; Sat, 1 Dec 2018 15:30:17 +0000 (UTC) (envelope-from ler@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 0ED3F86609; Sat, 1 Dec 2018 15:30:17 +0000 (UTC) (envelope-from ler@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 D85A619A05; Sat, 1 Dec 2018 15:30:16 +0000 (UTC) (envelope-from ler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB1FUGi7004675; Sat, 1 Dec 2018 15:30:16 GMT (envelope-from ler@FreeBSD.org) Received: (from ler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB1FUGYT004670; Sat, 1 Dec 2018 15:30:16 GMT (envelope-from ler@FreeBSD.org) Message-Id: <201812011530.wB1FUGYT004670@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ler set sender to ler@FreeBSD.org using -f From: Larry Rosenman Date: Sat, 1 Dec 2018 15:30:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486374 - head/devel/cdecl X-SVN-Group: ports-head X-SVN-Commit-Author: ler X-SVN-Commit-Paths: head/devel/cdecl X-SVN-Commit-Revision: 486374 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0ED3F86609 X-Spamd-Result: default: False [0.05 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.44)[-0.438,0]; NEURAL_SPAM_LONG(0.34)[0.335,0]; NEURAL_SPAM_MEDIUM(0.15)[0.151,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 01 Dec 2018 15:30:17 -0000 Author: ler Date: Sat Dec 1 15:30:16 2018 New Revision: 486374 URL: https://svnweb.freebsd.org/changeset/ports/486374 Log: devel/cdecl: update to 5.0. pet portlint. Added all C/C++ keywords All C/C++ keywords have been added to the lexer/parser to prevent declaring variables or functions having names that are keywords. For example: declare break as int is now correctly reported as an error. Additionally, names that are keywords is later versions of C/C++, while legal, now issue warnings, e.g.: cdecl> declare class as int ^ 18: warning: "class" is a keyword in C++98 int class; Operator overloading Added support for composing and deciphering C++ overloaded operators. Fixed const/volatile reference Declarations of the form: declare r as const reference to int declare r as volatile reference to int are now correctly reported as an error. Added member/non-member to functions You can now explcitly specify either "member" or "non-member" in declarations: declare f as const member function Additionally, cdecl will include "member" in function explanations when it can infer a function is a member function: cdecl> explain void f() const declare f as constant member function returning void Fixed friend const/volatile/override/final/virtual/reference functions Declarations of the form: declare f as friend const function returning bool are now correctly reported as an error. Modified: head/devel/cdecl/Makefile head/devel/cdecl/distinfo Modified: head/devel/cdecl/Makefile ============================================================================== --- head/devel/cdecl/Makefile Sat Dec 1 15:16:47 2018 (r486373) +++ head/devel/cdecl/Makefile Sat Dec 1 15:30:16 2018 (r486374) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= cdecl -PORTVERSION= 4.8 +PORTVERSION= 5.0 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= devel @@ -13,9 +13,9 @@ LICENSE= GPLv3 BUILD_DEPENDS= flex:textproc/flex -CONFLICTS= cutils-[0-9]* - USES= autoreconf bison ncurses readline + +CONFLICTS= cutils-[0-9]* USE_GITHUB= yes Modified: head/devel/cdecl/distinfo ============================================================================== --- head/devel/cdecl/distinfo Sat Dec 1 15:16:47 2018 (r486373) +++ head/devel/cdecl/distinfo Sat Dec 1 15:30:16 2018 (r486374) @@ -1,3 +1,3 @@ -TIMESTAMP = 1539017077 -SHA256 (paul-j-lucas-cdecl-cdecl-4.8_GH0.tar.gz) = bab94934a79c91ba920d795dff7665db779377447c7a669a1a37a22cf8237b76 -SIZE (paul-j-lucas-cdecl-cdecl-4.8_GH0.tar.gz) = 301613 +TIMESTAMP = 1543677393 +SHA256 (paul-j-lucas-cdecl-cdecl-5.0_GH0.tar.gz) = e5932d1c073f5d3113a7c71bbef351d1fc65108add72a0bd1ccbb9d0244dacab +SIZE (paul-j-lucas-cdecl-cdecl-5.0_GH0.tar.gz) = 330058