From 335d9e0c6e37bdb96fd4de68247d338508814bac635b52b393854cd4884196f1 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Wed, 17 Mar 2010 13:05:12 +0000 Subject: [PATCH] Accepting request 34952 from Base:System Copy from Base:System/libatasmart based on submit request 34952 from user coolo OBS-URL: https://build.opensuse.org/request/show/34952 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libatasmart?expand=0&rev=6 --- libatasmart-initialize.patch | 10 ++++++++++ libatasmart.changes | 5 +++++ libatasmart.spec | 14 ++++++++------ 3 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 libatasmart-initialize.patch diff --git a/libatasmart-initialize.patch b/libatasmart-initialize.patch new file mode 100644 index 0000000..9177567 --- /dev/null +++ b/libatasmart-initialize.patch @@ -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; diff --git a/libatasmart.changes b/libatasmart.changes index a6391ab..826f0ca 100644 --- a/libatasmart.changes +++ b/libatasmart.changes @@ -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 diff --git a/libatasmart.spec b/libatasmart.spec index 06babd6..17f7b8c 100644 --- a/libatasmart.spec +++ b/libatasmart.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -20,12 +20,13 @@ Name: libatasmart Version: 0.17 -Release: 1 -License: LGPL v2.1 or later +Release: 2 +License: LGPLv2.1+ Summary: ATA S.M.A.R.T. Disk Health Monitoring Library Url: http://git.0pointer.de/?p=libatasmart.git;a=summary Group: System/Libraries Source: %{name}-%{version}.tar.bz2 +Patch0: libatasmart-initialize.patch BuildRequires: libudev-devel BuildRequires: pkgconfig 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. %package -n libatasmart4 -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: ATA S.M.A.R.T. Disk Health Monitoring Library Group: System/Libraries @@ -44,7 +45,7 @@ A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring. %package utils -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: ATA S.M.A.R.T. Disk Health Monitoring Library - Utilities Group: Hardware/Other Requires: libatasmart4 = %{version} @@ -54,7 +55,7 @@ A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring. %package devel -License: LGPL v2.1 or later +License: LGPLv2.1+ Summary: ATA S.M.A.R.T. Disk Health Monitoring Library - Development Files Group: Development/Libraries/C and C++ Requires: libatasmart4 = %{version} @@ -65,6 +66,7 @@ health monitoring. %prep %setup -q +%patch0 %build %configure --disable-static