Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 18:40:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486048 - head/textproc/uncrustify
Message-ID:  <201811271840.wARIewhO000693@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Nov 27 18:40:57 2018
New Revision: 486048
URL: https://svnweb.freebsd.org/changeset/ports/486048

Log:
  - Update to 0.68.1
  - Try to unbreak with ancient gcc

Modified:
  head/textproc/uncrustify/Makefile
  head/textproc/uncrustify/distinfo

Modified: head/textproc/uncrustify/Makefile
==============================================================================
--- head/textproc/uncrustify/Makefile	Tue Nov 27 18:32:47 2018	(r486047)
+++ head/textproc/uncrustify/Makefile	Tue Nov 27 18:40:57 2018	(r486048)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	uncrustify
-PORTVERSION=	0.68
+PORTVERSION=	0.68.1
 DISTVERSIONPREFIX=	${PORTNAME}-
 CATEGORIES=	textproc
 
@@ -12,9 +12,9 @@ COMMENT=	Highly configurable source code beautifier
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_mips=		fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
-BROKEN_mips64=		fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
-BROKEN_powerpc64=	fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
+#BROKEN_mips=		fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
+#BROKEN_mips64=		fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
+#BROKEN_powerpc64=	fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
 
 USE_GITHUB=	yes
 
@@ -25,6 +25,10 @@ TEST_TARGET=	test
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
+
+# fixes BROKENs above, but may introduce different errors
+post-patch:
+	@${REINPLACE_CMD} -e '/gnu++0x/ d' ${WRKSRC}/CMakeLists.txt
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${ETCDIR}

Modified: head/textproc/uncrustify/distinfo
==============================================================================
--- head/textproc/uncrustify/distinfo	Tue Nov 27 18:32:47 2018	(r486047)
+++ head/textproc/uncrustify/distinfo	Tue Nov 27 18:40:57 2018	(r486048)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1542460252
-SHA256 (uncrustify-uncrustify-uncrustify-0.68_GH0.tar.gz) = 28a0f48696c23e844979e6b7cd6398b8c74d359f0926fc649512fc0e03cbae9f
-SIZE (uncrustify-uncrustify-uncrustify-0.68_GH0.tar.gz) = 1558731
+TIMESTAMP = 1542986502
+SHA256 (uncrustify-uncrustify-uncrustify-0.68.1_GH0.tar.gz) = 038d371e7fd10feda8a27f663217eac56fd8d78b0650499e3048d544d836571d
+SIZE (uncrustify-uncrustify-uncrustify-0.68.1_GH0.tar.gz) = 1566201



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