update to 4.8.2
This commit is contained in:
parent
d71022155f
commit
0ce18055b3
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/mc-4.8.1.tar.xz
|
||||
/mc-4.8.2.tar.xz
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
9
mc.spec
9
mc.spec
@ -1,7 +1,7 @@
|
||||
Summary: User-friendly text console file manager and visual shell
|
||||
Name: mc
|
||||
Version: 4.8.1
|
||||
Release: 3%{?dist}
|
||||
Version: 4.8.2
|
||||
Release: 1%{?dist}
|
||||
Epoch: 1
|
||||
License: GPLv3+
|
||||
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
|
||||
|
||||
Patch0: mc-extensions.patch
|
||||
Patch1: mc-mcviewsegfault.patch
|
||||
|
||||
%description
|
||||
Midnight Commander is a visual shell much like a file manager, only
|
||||
@ -23,7 +22,6 @@ specific files.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .extensions
|
||||
%patch1 -p1 -b .mcviewsegfault
|
||||
|
||||
%build
|
||||
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
|
||||
|
||||
%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
|
||||
- Drop dependency on 'dev' package; it is gone since many years
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user