update to 4.8.2

This commit is contained in:
Slava Zanko 2012-03-20 15:07:42 +03:00
parent d71022155f
commit 0ce18055b3
4 changed files with 7 additions and 18 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/mc-4.8.1.tar.xz /mc-4.8.2.tar.xz

View File

@ -1,12 +0,0 @@
diff -up mc-4.7.5-pre1/src/editor/editwidget.c.mcviewsegfault mc-4.7.5-pre1/src/editor/editwidget.c
--- mc-4.7.5-pre1/src/editor/editwidget.c.mcviewsegfault 2010-12-03 09:53:38.000000000 +0100
+++ mc-4.7.5-pre1/src/editor/editwidget.c 2010-12-08 12:33:35.943724419 +0100
@@ -387,7 +387,7 @@ edit_file (const char *_file, int line)
const char *
edit_get_file_name (const WEdit * edit)
{
- return edit->filename;
+ return edit?edit->filename:NULL;
}
/* --------------------------------------------------------------------------------------------- */

View File

@ -1,7 +1,7 @@
Summary: User-friendly text console file manager and visual shell Summary: User-friendly text console file manager and visual shell
Name: mc Name: mc
Version: 4.8.1 Version: 4.8.2
Release: 3%{?dist} Release: 1%{?dist}
Epoch: 1 Epoch: 1
License: GPLv3+ License: GPLv3+
Group: System Environment/Shells Group: System Environment/Shells
@ -11,7 +11,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel e2fsprogs-devel slang-devel gpm-devel groff BuildRequires: glib2-devel e2fsprogs-devel slang-devel gpm-devel groff
Patch0: mc-extensions.patch Patch0: mc-extensions.patch
Patch1: mc-mcviewsegfault.patch
%description %description
Midnight Commander is a visual shell much like a file manager, only Midnight Commander is a visual shell much like a file manager, only
@ -23,7 +22,6 @@ specific files.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .extensions %patch0 -p1 -b .extensions
%patch1 -p1 -b .mcviewsegfault
%build %build
export CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $RPM_OPT_FLAGS -Wno-strict-aliasing" export CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $RPM_OPT_FLAGS -Wno-strict-aliasing"
@ -75,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_libexecdir}/mc/extfs.d %dir %{_libexecdir}/mc/extfs.d
%changelog %changelog
* Tue Mar 20 2012 Slava Zanko <slavazanko@gmail.com> 1:4.8.2-1
- update to 4.8.2
* Wed Feb 8 2012 Kay Sievers <kay@redhat.com> - 1:4.8.1-3 * Wed Feb 8 2012 Kay Sievers <kay@redhat.com> - 1:4.8.1-3
- Drop dependency on 'dev' package; it is gone since many years - Drop dependency on 'dev' package; it is gone since many years

View File

@ -1 +1 @@
0c9632b799edfb8da4665fbf20546c21 mc-4.8.1.tar.xz 1977e0ac9ec645f5ea9b8657b5518ce2 mc-4.8.2.tar.xz