Update to version 4.7.0.3;
original diff from Alexandr Shadchin, modifications by me
This commit is contained in:
parent
5d8e04a3ca
commit
0c73ea9f02
@ -1,13 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2010/01/17 18:42:08 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2010/03/28 18:28:47 robert Exp $
|
||||
|
||||
COMMENT= free Norton Commander clone with many useful features
|
||||
|
||||
DISTNAME= mc-4.7.0
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
DISTNAME= mc-4.7.0.3
|
||||
CATEGORIES= misc
|
||||
|
||||
HOMEPAGE= http://www.midnight-commander.org/
|
||||
MASTER_SITES= ${HOMEPAGE}/downloads/
|
||||
MASTER_SITES= ${HOMEPAGE}downloads/
|
||||
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
@ -46,13 +45,11 @@ CONFIGURE_ENV= LOCALBASE=${LOCALBASE} \
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mc
|
||||
@cp -R ${WRKINST}${SYSCONFDIR}/mc/* ${PREFIX}/share/examples/mc
|
||||
@mv ${WRKINST}${SYSCONFDIR}/mc ${PREFIX}/share/examples
|
||||
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/mc
|
||||
@find ${PREFIX}/share/examples/mc -type f | \
|
||||
xargs chmod ${SHAREMODE}
|
||||
@find ${PREFIX}/share/examples/mc -type d | \
|
||||
xargs chmod ${DIRMODE}
|
||||
@rm -r ${WRKINST}${SYSCONFDIR}/mc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (mc-4.7.0.tar.gz) = O+h1x2A6tF54QCal0T1LsA==
|
||||
RMD160 (mc-4.7.0.tar.gz) = zwEAKuBr0qEmVOFwE9iY/mwGUD0=
|
||||
SHA1 (mc-4.7.0.tar.gz) = vUW8V229U+PsNeA0kFGG95r65Mo=
|
||||
SHA256 (mc-4.7.0.tar.gz) = 9fhr8yZfBJ/kyPIh3DTWXzMGpodKlIax1tVfCoK8EIY=
|
||||
SIZE (mc-4.7.0.tar.gz) = 3983623
|
||||
MD5 (mc-4.7.0.3.tar.gz) = OgYPW1fvJic1vcAa6oKGTw==
|
||||
RMD160 (mc-4.7.0.3.tar.gz) = pAfAogSGfjrRsVDPZx6TQ3vkwM8=
|
||||
SHA1 (mc-4.7.0.3.tar.gz) = Ep+Hm7f+D4tOiQz1aLtruMcqkbs=
|
||||
SHA256 (mc-4.7.0.3.tar.gz) = TYlZOnXcORfsPSLlOzs1Cq6O7J2nTRj5jvUu323gRTw=
|
||||
SIZE (mc-4.7.0.3.tar.gz) = 3982293
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-configure,v 1.2 2010/01/01 19:21:05 robert Exp $
|
||||
--- configure.orig Fri Dec 25 23:37:22 2009
|
||||
+++ configure Sat Dec 26 17:37:39 2009
|
||||
@@ -32015,7 +32015,7 @@ done
|
||||
$OpenBSD: patch-configure,v 1.3 2010/03/28 18:28:47 robert Exp $
|
||||
--- configure.orig Fri Feb 26 15:43:49 2010
|
||||
+++ configure Thu Mar 25 03:21:22 2010
|
||||
@@ -39995,7 +39995,7 @@ done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
@ -10,7 +10,7 @@ $OpenBSD: patch-configure,v 1.2 2010/01/01 19:21:05 robert Exp $
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
@@ -32056,7 +32056,7 @@ done
|
||||
@@ -40036,7 +40036,7 @@ done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
|
11
misc/mc/patches/patch-lib_vfs_mc-vfs_utilvfs_c
Normal file
11
misc/mc/patches/patch-lib_vfs_mc-vfs_utilvfs_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-lib_vfs_mc-vfs_utilvfs_c,v 1.1 2010/03/28 18:28:47 robert Exp $
|
||||
--- lib/vfs/mc-vfs/utilvfs.c.orig Sun Mar 28 20:26:25 2010
|
||||
+++ lib/vfs/mc-vfs/utilvfs.c Sun Mar 28 20:26:41 2010
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdio.h>
|
||||
|
||||
#include "lib/global.h"
|
||||
#include "lib/unixcompat.h"
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-src_subshell_c,v 1.3 2010/01/17 18:42:08 jasper Exp $
|
||||
$OpenBSD: patch-src_subshell_c,v 1.4 2010/03/28 18:28:47 robert Exp $
|
||||
|
||||
warning: implicit declaration of function `getgrnam'
|
||||
|
||||
--- src/subshell.c.orig Sun Jan 17 18:41:08 2010
|
||||
+++ src/subshell.c Sun Jan 17 18:42:08 2010
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <termios.h>
|
||||
--- src/subshell.c.orig Thu Feb 25 15:51:40 2010
|
||||
+++ src/subshell.c Thu Mar 25 03:21:23 2010
|
||||
@@ -42,6 +42,7 @@
|
||||
#endif
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
+#include <grp.h>
|
||||
|
||||
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-vfs_utilvfs_c,v 1.1 2010/01/17 18:42:08 jasper Exp $
|
||||
|
||||
warning: implicit declaration of function `sscanf'
|
||||
|
||||
--- vfs/utilvfs.c.orig Sun Jan 17 18:45:06 2010
|
||||
+++ vfs/utilvfs.c Sun Jan 17 18:45:21 2010
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
#include <stdlib.h>
|
||||
+#include <stdio.h>
|
||||
|
||||
#include "../src/global.h"
|
||||
|
Loading…
Reference in New Issue
Block a user