forked from pool/mtools
Accepting request 42280 from Base:System
Copy from Base:System/mtools based on submit request 42280 from user pgajdos OBS-URL: https://build.opensuse.org/request/show/42280 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mtools?expand=0&rev=18
This commit is contained in:
parent
4f00fa9ab0
commit
17477a4002
13
mtools-4.0.13-initialize.diff
Normal file
13
mtools-4.0.13-initialize.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: mtools-4.0.13/mlabel.c
|
||||||
|
===================================================================
|
||||||
|
--- mtools-4.0.13.orig/mlabel.c
|
||||||
|
+++ mtools-4.0.13/mlabel.c
|
||||||
|
@@ -35,7 +35,7 @@ void label_name(doscp_t *cp, const char
|
||||||
|
int have_lower, have_upper;
|
||||||
|
wchar_t wbuffer[12];
|
||||||
|
|
||||||
|
- memset(ans, ' ', sizeof(ans)-1);
|
||||||
|
+ memset(ans, ' ', sizeof(*ans)-1);
|
||||||
|
ans->sentinel = '\0';
|
||||||
|
len = native_to_wchar(filename, wbuffer, 11, 0, 0);
|
||||||
|
if(len > 11){
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 29 18:27:11 CEST 2010 - pgajdos@suse.cz
|
||||||
|
|
||||||
|
- fixed initialization in mlabel.c [bnc#618326]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 1 16:20:52 CET 2010 - pgajdos@suse.cz
|
Mon Mar 1 16:20:52 CET 2010 - pgajdos@suse.cz
|
||||||
|
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
Name: mtools
|
Name: mtools
|
||||||
BuildRequires: libpng texlive-latex xorg-x11 xorg-x11-devel
|
BuildRequires: libpng texlive-latex xorg-x11 xorg-x11-devel
|
||||||
Version: 4.0.13
|
Version: 4.0.13
|
||||||
Release: 1
|
Release: 2
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
License: GPLv3+
|
License: GPLv2+
|
||||||
Url: http://mtools.linux.lu/
|
Url: http://mtools.linux.lu/
|
||||||
Summary: Access Files on an MS-DOS File System
|
Summary: Access Files on an MS-DOS File System
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
@ -35,6 +35,7 @@ Patch3: %{name}-%{version}-aliasing.diff
|
|||||||
Patch4: %{name}-%{version}-fat-bits.diff
|
Patch4: %{name}-%{version}-fat-bits.diff
|
||||||
Patch5: %{name}-%{version}-prototypes.diff
|
Patch5: %{name}-%{version}-prototypes.diff
|
||||||
Patch7: %{name}-%{version}-file-close.diff
|
Patch7: %{name}-%{version}-file-close.diff
|
||||||
|
Patch8: %{name}-%{version}-initialize.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -97,6 +98,7 @@ Authors:
|
|||||||
%patch4
|
%patch4
|
||||||
%patch5
|
%patch5
|
||||||
%patch7
|
%patch7
|
||||||
|
%patch8 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{suse_update_config -f}
|
%{suse_update_config -f}
|
||||||
|
Loading…
Reference in New Issue
Block a user