This commit is contained in:
parent
1339efde83
commit
1ef994d052
10
libatasmart-initialize.patch
Normal file
10
libatasmart-initialize.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- strpool.c
|
||||||
|
+++ strpool.c
|
||||||
|
@@ -435,6 +435,7 @@
|
||||||
|
rl = 0;
|
||||||
|
|
||||||
|
i->next = NULL;
|
||||||
|
+ i->suffix_of = NULL;
|
||||||
|
|
||||||
|
if (last)
|
||||||
|
last->next = i;
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 16 10:35:41 CET 2010 - ro@suse.de
|
||||||
|
|
||||||
|
- fix build by initializing member suffix_of in strpool.c
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 13 12:54:33 CET 2009 - vuntz@opensuse.org
|
Fri Nov 13 12:54:33 CET 2009 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libatasmart (Version 0.17)
|
# spec file for package libatasmart (Version 0.17)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,12 +20,13 @@
|
|||||||
|
|
||||||
Name: libatasmart
|
Name: libatasmart
|
||||||
Version: 0.17
|
Version: 0.17
|
||||||
Release: 1
|
Release: 2
|
||||||
License: LGPL v2.1 or later
|
License: LGPLv2.1+
|
||||||
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library
|
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library
|
||||||
Url: http://git.0pointer.de/?p=libatasmart.git;a=summary
|
Url: http://git.0pointer.de/?p=libatasmart.git;a=summary
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Patch0: libatasmart-initialize.patch
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -35,7 +36,7 @@ A small and lightweight parser library for ATA S.M.A.R.T. hard disk
|
|||||||
health monitoring.
|
health monitoring.
|
||||||
|
|
||||||
%package -n libatasmart4
|
%package -n libatasmart4
|
||||||
License: LGPL v2.1 or later
|
License: LGPLv2.1+
|
||||||
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library
|
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
@ -44,7 +45,7 @@ A small and lightweight parser library for ATA S.M.A.R.T. hard disk
|
|||||||
health monitoring.
|
health monitoring.
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
License: LGPL v2.1 or later
|
License: LGPLv2.1+
|
||||||
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library - Utilities
|
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library - Utilities
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
Requires: libatasmart4 = %{version}
|
Requires: libatasmart4 = %{version}
|
||||||
@ -54,7 +55,7 @@ A small and lightweight parser library for ATA S.M.A.R.T. hard disk
|
|||||||
health monitoring.
|
health monitoring.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: LGPL v2.1 or later
|
License: LGPLv2.1+
|
||||||
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library - Development Files
|
Summary: ATA S.M.A.R.T. Disk Health Monitoring Library - Development Files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libatasmart4 = %{version}
|
Requires: libatasmart4 = %{version}
|
||||||
@ -65,6 +66,7 @@ health monitoring.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
|
Loading…
Reference in New Issue
Block a user