aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-11-28 02:40:57 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-11-28 02:40:57 +0800
commit6df2ae59609296bb71ba06274e0a747a4d78f2e2 (patch)
treeecb285f9d2204ae92cf74e4e3ab45c1b24919528 /textproc
parentdceafb54812028190e5d2d62136b43bb1694e550 (diff)
downloadfreebsd-ports-gnome-6df2ae59609296bb71ba06274e0a747a4d78f2e2.tar.gz
freebsd-ports-gnome-6df2ae59609296bb71ba06274e0a747a4d78f2e2.tar.zst
freebsd-ports-gnome-6df2ae59609296bb71ba06274e0a747a4d78f2e2.zip
- Update to 0.68.1
- Try to unbreak with ancient gcc
Diffstat (limited to 'textproc')
-rw-r--r--textproc/uncrustify/Makefile12
-rw-r--r--textproc/uncrustify/distinfo6
2 files changed, 11 insertions, 7 deletions
diff --git a/textproc/uncrustify/Makefile b/textproc/uncrustify/Makefile
index ad7ff1d1fabe..aa42f6cd86fc 100644
--- a/textproc/uncrustify/Makefile
+++ b/textproc/uncrustify/Makefile
@@ -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
@@ -26,6 +26,10 @@ 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}
${INSTALL_DATA} ${WRKSRC}/etc/*.cfg ${STAGEDIR}${ETCDIR}
diff --git a/textproc/uncrustify/distinfo b/textproc/uncrustify/distinfo
index 99502856f0e6..140b96f45a62 100644
--- a/textproc/uncrustify/distinfo
+++ b/textproc/uncrustify/distinfo
@@ -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