Accepting request 198505 from home:k0da:ppc
- fix builf on powerpc - enable powerpc32 OBS-URL: https://build.opensuse.org/request/show/198505 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=68
This commit is contained in:
committed by
Git OBS Bridge
parent
5474862c97
commit
19a56d9c10
26
makedumpfile-powerpc.patch
Normal file
26
makedumpfile-powerpc.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
Index: makedumpfile-1.5.4/arch/ppc.c
|
||||
===================================================================
|
||||
--- makedumpfile-1.5.4.orig/arch/ppc.c
|
||||
+++ makedumpfile-1.5.4/arch/ppc.c
|
||||
@@ -28,7 +28,7 @@
|
||||
int
|
||||
get_machdep_info_ppc(void)
|
||||
{
|
||||
- unsigned long vmlist, vmalloc_start;
|
||||
+ unsigned long vmlist, vmap_area_list, vmalloc_start;
|
||||
|
||||
info->section_size_bits = _SECTION_SIZE_BITS;
|
||||
info->max_physmem_bits = _MAX_PHYSMEM_BITS;
|
||||
Index: makedumpfile-1.5.4/arch/ppc64.c
|
||||
===================================================================
|
||||
--- makedumpfile-1.5.4.orig/arch/ppc64.c
|
||||
+++ makedumpfile-1.5.4/arch/ppc64.c
|
||||
@@ -49,7 +49,7 @@ set_ppc64_max_physmem_bits(void)
|
||||
int
|
||||
get_machdep_info_ppc64(void)
|
||||
{
|
||||
- unsigned long vmlist, vmalloc_start;
|
||||
+ unsigned long vmlist, vmap_area_list, vmalloc_start;
|
||||
|
||||
info->section_size_bits = _SECTION_SIZE_BITS;
|
||||
if (!set_ppc64_max_physmem_bits()) {
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 11 12:36:24 UTC 2013 - dvaleev@suse.com
|
||||
|
||||
- fix builf on powerpc
|
||||
- enable powerpc32
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 21:55:55 UTC 2013 - ptesarik@suse.cz
|
||||
|
||||
|
@@ -37,8 +37,9 @@ Url: https://sourceforge.net/projects/makedumpfile/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: README.static
|
||||
Patch0: %{name}-coptflags.diff
|
||||
Patch1: %{name}-powerpc.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: %ix86 x86_64 ia64 ppc64 s390x %arm
|
||||
ExclusiveArch: %ix86 x86_64 ia64 ppc ppc64 s390x %arm
|
||||
|
||||
%description
|
||||
makedumpfile is a dump program to shorten the size of dump file. It
|
||||
@@ -55,6 +56,7 @@ Authors:
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
LIBS_STATIC=
|
||||
|
Reference in New Issue
Block a user