git: 27d49c4c907f - main - misc/mc: update Midnight Commander to version 4.8.27, but not only
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Aug 20 09:03:36 UTC 2021
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=27d49c4c907fff7d64f82d400fd0897464f796dd
commit 27d49c4c907fff7d64f82d400fd0897464f796dd
Author: Alexey Dokuchaev <danfe at FreeBSD.org>
AuthorDate: 2021-08-20 09:01:48 +0000
Commit: Alexey Dokuchaev <danfe at FreeBSD.org>
CommitDate: 2021-08-20 09:01:54 +0000
misc/mc: update Midnight Commander to version 4.8.27, but not only
- Don't try to patch up unsupported compiler warning options and fix
the configure script detection logic instead (it correctly passes
-Werror in Clang's case, but assumes that $CC is literally called
`clang' which is, of course, wrong on both FreeBSD and in general)
- Keep the UNRAR_VERSION adjustment for now: even though it had been
fixed upstream, with version 7 it would brake again
- Expand the creator line in the Makefile to include Torsten's full
name, with his permission. We have other people named Torsten in
the project these days, and this change makes it less confusing
PR: 253796, 257888
---
misc/mc/Makefile | 11 ++++-------
misc/mc/distinfo | 6 +++---
misc/mc/pkg-plist | 1 +
3 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 87f5ef38bbe5..60fe6d95024e 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -1,8 +1,7 @@
-# Created by: torstenb at FreeBSD.org
+# Created by: Torsten Blum <torstenb at FreeBSD.org>
PORTNAME= mc
-PORTVERSION= 4.8.26
-PORTREVISION= 2
+PORTVERSION= 4.8.27
CATEGORIES= misc shells
MASTER_SITES= http://ftp.midnight-commander.org/ \
https://ftp.osuosl.org/pub/midnightcommander/
@@ -72,10 +71,8 @@ X11_VARS= CONFLICTS_INSTALL+="mc-nox11-[0-9]*"
X11_VARS_OFF= CONFLICTS_INSTALL+="mc-[0-9]*"
post-patch:
- @${REINPLACE_CMD} -e 's|missing-parameter-type|unused-variable|; \
- s|but-set-variable|variable|' \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|x$$UNRAR_VERSION = x|$$UNRAR_VERSION -ge |' \
+ @${REINPLACE_CMD} -e 's|clang||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|x$$UNRAR_VERSION.*x|$$UNRAR_VERSION -ge |' \
${WRKSRC}/src/vfs/extfs/helpers/urar.in
post-patch-EXTATTR-off:
diff --git a/misc/mc/distinfo b/misc/mc/distinfo
index 4c5b7a0636f5..d713798bf924 100644
--- a/misc/mc/distinfo
+++ b/misc/mc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611269648
-SHA256 (mc-4.8.26.tar.xz) = c6deadc50595f2d9a22dc6c299a9f28b393e358346ebf6ca444a8469dc166c27
-SIZE (mc-4.8.26.tar.xz) = 2492612
+TIMESTAMP = 1629036557
+SHA256 (mc-4.8.27.tar.xz) = 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4
+SIZE (mc-4.8.27.tar.xz) = 2510296
diff --git a/misc/mc/pkg-plist b/misc/mc/pkg-plist
index 2b28e35bed07..bc6a5576b874 100644
--- a/misc/mc/pkg-plist
+++ b/misc/mc/pkg-plist
@@ -267,6 +267,7 @@ man/man1/mcview.1.gz
%%EDITOR%%%%DATADIR%%/syntax/jal.syntax
%%EDITOR%%%%DATADIR%%/syntax/java.syntax
%%EDITOR%%%%DATADIR%%/syntax/js.syntax
+%%EDITOR%%%%DATADIR%%/syntax/json.syntax
%%EDITOR%%%%DATADIR%%/syntax/kotlin.syntax
%%EDITOR%%%%DATADIR%%/syntax/latex.syntax
%%EDITOR%%%%DATADIR%%/syntax/lisp.syntax
More information about the dev-commits-ports-all
mailing list