forked from pool/elfutils
- Fix uninitialized variable.
OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=8
This commit is contained in:
parent
f48467cba0
commit
1401a1f5f1
13
elfutils-uninitialized.diff
Normal file
13
elfutils-uninitialized.diff
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- ./libdwfl/linux-kernel-modules.c.orig 2010-02-10 12:12:03.000000000 +0100
|
||||||
|
+++ ./libdwfl/linux-kernel-modules.c 2010-02-10 12:14:58.000000000 +0100
|
||||||
|
@@ -577,8 +577,8 @@
|
||||||
|
int
|
||||||
|
dwfl_linux_kernel_report_kernel (Dwfl *dwfl)
|
||||||
|
{
|
||||||
|
- Dwarf_Addr start;
|
||||||
|
- Dwarf_Addr end;
|
||||||
|
+ Dwarf_Addr start = 0;
|
||||||
|
+ Dwarf_Addr end = 0;
|
||||||
|
inline Dwfl_Module *report (void)
|
||||||
|
{
|
||||||
|
return INTUSE(dwfl_report_module) (dwfl, KERNEL_MODNAME, start, end);
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 10 12:21:51 CET 2010 - rguenther@suse.de
|
||||||
|
|
||||||
|
- Fix uninitialized variable.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 12 18:13:13 CET 2009 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Enable parallel building
|
||||||
|
- add baselibs.conf as a source
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 20 13:13:21 CEST 2009 - rguenther@suse.de
|
Thu Aug 20 13:13:21 CEST 2009 - rguenther@suse.de
|
||||||
|
|
||||||
|
@ -19,13 +19,14 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: elfutils
|
Name: elfutils
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Version: 0.142
|
Version: 0.142
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Higher-level library to access ELF
|
Summary: Higher-level library to access ELF
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://elfutils.fedorahosted.org
|
Url: http://elfutils.fedorahosted.org
|
||||||
Source: elfutils-%{version}-no-osl.tar.bz2
|
Source: elfutils-%{version}-no-osl.tar.bz2
|
||||||
|
Source2: baselibs.conf
|
||||||
Patch: elfutils-portability.patch
|
Patch: elfutils-portability.patch
|
||||||
Patch1: elfutils-robustify.patch
|
Patch1: elfutils-robustify.patch
|
||||||
Patch3: elfutils-no-po-test-build.diff
|
Patch3: elfutils-no-po-test-build.diff
|
||||||
@ -37,6 +38,7 @@ Patch11: build.diff
|
|||||||
Patch12: elfutils-old-scanf-fix.diff
|
Patch12: elfutils-old-scanf-fix.diff
|
||||||
Patch13: elfutils-suse-10.3-fixes.diff
|
Patch13: elfutils-suse-10.3-fixes.diff
|
||||||
Patch20: elfutils-0.137-dwarf-header-check-fix.diff
|
Patch20: elfutils-0.137-dwarf-header-check-fix.diff
|
||||||
|
Patch21: elfutils-uninitialized.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -52,7 +54,7 @@ Authors:
|
|||||||
%package -n libasm1
|
%package -n libasm1
|
||||||
Summary: A collection of utilities and DSOs to handle compiled objects
|
Summary: A collection of utilities and DSOs to handle compiled objects
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
License: GPL v2 only ; GPL v2 or later ; LGPL v2.1 or later
|
License: GPLv2 ; GPLv2+ ; LGPLv2.1+
|
||||||
|
|
||||||
%description -n libasm1
|
%description -n libasm1
|
||||||
Elfutils is a collection of utilities, including ld (a linker), nm (for
|
Elfutils is a collection of utilities, including ld (a linker), nm (for
|
||||||
@ -73,7 +75,7 @@ Authors:
|
|||||||
%package -n libasm-devel
|
%package -n libasm-devel
|
||||||
Summary: A collection of utilities and DSOs to handle compiled objects
|
Summary: A collection of utilities and DSOs to handle compiled objects
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Requires: glibc-devel, libasm1 = %{version}
|
Requires: glibc-devel, libasm1 = %{version}
|
||||||
|
|
||||||
%description -n libasm-devel
|
%description -n libasm-devel
|
||||||
@ -95,7 +97,7 @@ Authors:
|
|||||||
%package -n libebl1
|
%package -n libebl1
|
||||||
Summary: A collection of utilities and DSOs to handle compiled objects
|
Summary: A collection of utilities and DSOs to handle compiled objects
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Provides: libebl = %{version}
|
Provides: libebl = %{version}
|
||||||
Obsoletes: libebl < %{version}
|
Obsoletes: libebl < %{version}
|
||||||
|
|
||||||
@ -118,7 +120,7 @@ Authors:
|
|||||||
%package -n libebl-devel
|
%package -n libebl-devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Requires: glibc-devel, libebl1 = %{version}, libdw-devel = %{version}
|
Requires: glibc-devel, libebl1 = %{version}, libdw-devel = %{version}
|
||||||
|
|
||||||
%description -n libebl-devel
|
%description -n libebl-devel
|
||||||
@ -134,7 +136,7 @@ Authors:
|
|||||||
%package -n libelf1
|
%package -n libelf1
|
||||||
Summary: Library to read and write ELF files
|
Summary: Library to read and write ELF files
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
|
|
||||||
%description -n libelf1
|
%description -n libelf1
|
||||||
This package provide a high-level library to read and write ELF files.
|
This package provide a high-level library to read and write ELF files.
|
||||||
@ -149,7 +151,7 @@ Authors:
|
|||||||
%package -n libelf-devel
|
%package -n libelf-devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Requires: glibc-devel, libelf1 = %{version}
|
Requires: glibc-devel, libelf1 = %{version}
|
||||||
Conflicts: libelf0-devel
|
Conflicts: libelf0-devel
|
||||||
|
|
||||||
@ -162,7 +164,7 @@ to develop applications that require these.
|
|||||||
%package -n libdw1
|
%package -n libdw1
|
||||||
Summary: Library to access DWARF debugging information
|
Summary: Library to access DWARF debugging information
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
|
|
||||||
%description -n libdw1
|
%description -n libdw1
|
||||||
This package provide a high-level library to access the DWARF debugging
|
This package provide a high-level library to access the DWARF debugging
|
||||||
@ -177,7 +179,7 @@ Authors:
|
|||||||
%package -n libdw-devel
|
%package -n libdw-devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Requires: glibc-devel, libdw1 = %{version}
|
Requires: glibc-devel, libdw1 = %{version}
|
||||||
Requires: libelf-devel = %{version}
|
Requires: libelf-devel = %{version}
|
||||||
|
|
||||||
@ -209,11 +211,12 @@ Authors:
|
|||||||
%patch13
|
%patch13
|
||||||
%endif
|
%endif
|
||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
|
%patch21
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
%configure --program-prefix=eu-
|
%configure --program-prefix=eu-
|
||||||
make
|
make %{?jobs:-j%jobs};
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
Loading…
Reference in New Issue
Block a user