Skip to content

Commit

Permalink
mc: update to 4.8.33
Browse files Browse the repository at this point in the history
  • Loading branch information
aeiouaeiouaeiouaeiouaeiouaeiou authored and reneeotten committed Jan 25, 2025
1 parent 9abb9f7 commit 47c0468
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
15 changes: 7 additions & 8 deletions sysutils/mc/Portfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup legacysupport 1.0

name mc
version 4.8.32
version 4.8.33
revision 0

categories sysutils
Expand All @@ -26,15 +25,17 @@ master_sites ${homepage}/downloads

use_xz yes

checksums rmd160 ff13e327c9cd0e4f006e00611637b1572244a7e9 \
sha256 4ddc83d1ede9af2363b3eab987f54b87cf6619324110ce2d3a0e70944d1359fe \
size 2385648
checksums rmd160 87c5363d8f6645a9b35c5ad067c0fdcf2af7b438 \
sha256 cae149d42f844e5185d8c81d7db3913a8fa214c65f852200a9d896b468af164c \
size 2424476

depends_build port:pkgconfig
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2

patchfiles patch-src_subshell_common.c.diff

compiler.c_standard 1999

configure.args --without-x --enable-vfs-sftp=no

post-destroot {
Expand All @@ -50,9 +51,7 @@ post-destroot {

variant slang2 conflicts ncurses description {use slang2 screen library} {
depends_lib-append port:slang2
configure.args-append --with-screen=slang \
--with-slang-includes=${prefix} \
--with-slang-libs=${prefix}
configure.args-append --with-screen=slang
}

variant ncurses conflicts slang2 description {use ncurses screen library} {
Expand Down
10 changes: 5 additions & 5 deletions sysutils/mc/files/patch-src_subshell_common.c.diff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- src/subshell/common.c
+++ src/subshell/common.c
@@ -378,7 +378,8 @@ init_subshell_child (const char *pty_name)
@@ -423,7 +423,8 @@ init_subshell_child (const char *pty_name)
}
break;

Expand All @@ -10,15 +10,15 @@
case SHELL_TCSH:
case SHELL_FISH:
break;
@@ -429,6 +430,7 @@ init_subshell_child (const char *pty_name)
case SHELL_DASH:
@@ -480,6 +481,7 @@ init_subshell_child (const char *pty_name)
case SHELL_TCSH:
case SHELL_FISH:
case SHELL_KSH:
case SHELL_MKSH:
+ case SHELL_SH:
execl (mc_global.shell->path, mc_global.shell->path, (char *) NULL);
break;

@@ -1177,6 +1179,11 @@ init_subshell_precmd (char *precmd, size_t buff_size)
@@ -1261,6 +1263,11 @@ init_subshell_precmd (char *precmd, size_t buff_size)
command_buffer_pipe[WRITE], command_buffer_pipe[WRITE], subshell_pipe[WRITE]);
break;

Expand Down

0 comments on commit 47c0468

Please sign in to comment.