1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

misc/mc: Update to 4.8.18

- Silence post-patch sed commands
- Remove patch-src_cons.handler.c; changes upstreamed

Changes this release:
  http://www.midnight-commander.org/wiki/NEWS-4.8.18

Approved by:	adamw (mentor, implicit)
This commit is contained in:
Ben Woods 2016-10-15 02:39:02 +00:00
parent 7a9058b644
commit a917eac09b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423999
4 changed files with 9 additions and 18 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mc
PORTVERSION= 4.8.17
PORTVERSION= 4.8.18
CATEGORIES= misc shells
MASTER_SITES= http://ftp.midnight-commander.org/ \
http://ftp.osuosl.org/pub/midnightcommander/ \
@ -78,7 +78,7 @@ DOCSDIR2= ${DOCSDIR}/doc
DOC_FILES2= FAQ HACKING MAINTAINERS *.txt
post-patch:
${REINPLACE_CMD} -e 's|missing-parameter-type|unused-variable|; \
@${REINPLACE_CMD} -e 's|missing-parameter-type|unused-variable|; \
s|but-set-variable|variable|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|SUBDIRS = intl|SUBDIRS =|' ${WRKSRC}/Makefile.in

View File

@ -1,4 +1,5 @@
SHA256 (mc-4.8.17.tar.xz) = 0447bdddc0baa81866e66f50f9a545d29d6eebb68b0ab46c98d8fddd2bf4e44d
SIZE (mc-4.8.17.tar.xz) = 2457156
TIMESTAMP = 1476432152
SHA256 (mc-4.8.18.tar.xz) = f7636815c987c1719c4f5de2dcd156a0e7d097b1d10e4466d2bdead343d5bece
SIZE (mc-4.8.18.tar.xz) = 2462080
SHA256 (mc.png) = 6bd935ea11c45da5c11e60542e30b4a05396d75b81401f28b3a68a82cafbf8fe
SIZE (mc.png) = 6466

View File

@ -1,14 +0,0 @@
Created by: Ben Woods <woodsb02@FreeBSD.org> (FreeBSD port maintainer)
Logged upstream: https://www.midnight-commander.org/ticket/3643
--- src/cons.handler.c.orig 2016-05-11 09:47:32 UTC
+++ src/cons.handler.c
@@ -408,7 +408,7 @@ show_console_contents_freebsd (int start
for (line = begin_line; line <= end_line; line++)
{
tty_gotoyx (starty + line - begin_line, 0);
- for (col = 0; col < min (COLS, screen_info.mv_csz); col++)
+ for (col = 0; col < MIN (COLS, screen_info.mv_csz); col++)
{
c = screen_shot.buf[line * screen_info.mv_csz + col] & 0xFF;
tty_print_char (c);

View File

@ -152,6 +152,7 @@ share/applications/mc.desktop
%%NLS%%%%DATADIR%%/help/mc.hlp.ru
%%NLS%%%%DATADIR%%/help/mc.hlp.sr
%%DATADIR%%/hints/mc.hint
%%NLS%%%%DATADIR%%/hints/mc.hint.af
%%NLS%%%%DATADIR%%/hints/mc.hint.ar
%%NLS%%%%DATADIR%%/hints/mc.hint.az
%%NLS%%%%DATADIR%%/hints/mc.hint.be
@ -198,6 +199,7 @@ share/applications/mc.desktop
%%NLS%%%%DATADIR%%/hints/mc.hint.te
%%NLS%%%%DATADIR%%/hints/mc.hint.tr
%%NLS%%%%DATADIR%%/hints/mc.hint.uk
%%NLS%%%%DATADIR%%/hints/mc.hint.uz
%%NLS%%%%DATADIR%%/hints/mc.hint.zh
%%NLS%%%%DATADIR%%/hints/mc.hint.zh_CN
%%ICONV%%%%DATADIR%%/mc.charsets
@ -235,6 +237,7 @@ share/applications/mc.desktop
%%EDITOR%%%%DATADIR%%/syntax/cmake.syntax
%%EDITOR%%%%DATADIR%%/syntax/cs.syntax
%%EDITOR%%%%DATADIR%%/syntax/css.syntax
%%EDITOR%%%%DATADIR%%/syntax/cuda.syntax
%%EDITOR%%%%DATADIR%%/syntax/cxx.syntax
%%EDITOR%%%%DATADIR%%/syntax/cython.syntax
%%EDITOR%%%%DATADIR%%/syntax/d.syntax
@ -251,6 +254,7 @@ share/applications/mc.desktop
%%EDITOR%%%%DATADIR%%/syntax/f90.syntax
%%EDITOR%%%%DATADIR%%/syntax/filehighlight.syntax
%%EDITOR%%%%DATADIR%%/syntax/fortran.syntax
%%EDITOR%%%%DATADIR%%/syntax/glsl.syntax
%%EDITOR%%%%DATADIR%%/syntax/go.syntax
%%EDITOR%%%%DATADIR%%/syntax/haskell.syntax
%%EDITOR%%%%DATADIR%%/syntax/html.syntax