Hello community,

here is the log from the commit of package kexec-tools for openSUSE:Factory 
checked in at 2020-02-09 21:02:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kexec-tools (Old)
 and      /work/SRC/openSUSE:Factory/.kexec-tools.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kexec-tools"

Sun Feb  9 21:02:41 2020 rev:133 rq:770156 version:2.0.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/kexec-tools/kexec-tools.changes  2020-01-29 
13:18:38.142177663 +0100
+++ /work/SRC/openSUSE:Factory/.kexec-tools.new.26092/kexec-tools.changes       
2020-02-09 21:03:08.271378077 +0100
@@ -1,0 +2,7 @@
+Wed Jan 29 07:35:18 UTC 2020 - Petr Tesařík <ptesa...@suse.com>
+
+- Fix build errors on old distributions
+  * kexec-tools-video-capability.patch
+  * kexec-tools-SYS_getrandom.patch
+
+-------------------------------------------------------------------

New:
----
  kexec-tools-SYS_getrandom.patch
  kexec-tools-video-capability.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kexec-tools.spec ++++++
--- /var/tmp/diff_new_pack.YKAvJU/_old  2020-02-09 21:03:08.887378426 +0100
+++ /var/tmp/diff_new_pack.YKAvJU/_new  2020-02-09 21:03:08.887378426 +0100
@@ -34,6 +34,8 @@
 Patch6:         
%{name}-arm64-kexec-allocate-memory-space-avoiding-reserved-regions.patch
 Patch7:         
%{name}-arm64-kdump-deal-with-resource-entries-in-proc-iomem.patch
 Patch8:         %{name}-build-multiboot2-for-i386.patch
+Patch9:         %{name}-video-capability.patch
+Patch10:        %{name}-SYS_getrandom.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  systemd-rpm-macros
@@ -64,6 +66,8 @@
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
+%patch10 -p1
 
 %build
 autoreconf -fvi

++++++ kexec-tools-SYS_getrandom.patch ++++++
From: Petr Tesarik <ptesa...@suse.com>
Subject: Define SYS_getrandom if needed
Upstream: never, build fix for SLE12

SLE12 did not provide a definition for SYS_getrandom.

Signed-off-by: Petr Tesarik <ptesa...@suse.com>
---
 kexec/arch/arm64/kexec-arm64.c |    5 +++++
 1 file changed, 5 insertions(+)

--- a/kexec/arch/arm64/kexec-arm64.c
+++ b/kexec/arch/arm64/kexec-arm64.c
@@ -34,6 +34,11 @@
 #include "mem_regions.h"
 #include "arch/options.h"
 
+#ifndef __NR_getrandom
+#define __NR_getrandom 278
+__SYSCALL(__NR_getrandom, sys_getrandom)
+#endif
+
 #define ROOT_NODE_ADDR_CELLS_DEFAULT 1
 #define ROOT_NODE_SIZE_CELLS_DEFAULT 1
 
++++++ kexec-tools-video-capability.patch ++++++
From: Petr Tesarik <ptesa...@suse.com>
Subject: Make sure VIDEO_CAPABILITY_64BIT_BASE is defined
Upstream: never, build fix for SLE12

SLE12 did not provide a definition for VIDEO_CAPABILITY_64BIT_BASE
in <linux/screen_info.h>.

Signed-off-by: Petr Tesarik <ptesa...@suse.com>
---
 kexec/arch/i386/x86-linux-setup.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/kexec/arch/i386/x86-linux-setup.c
+++ b/kexec/arch/i386/x86-linux-setup.c
@@ -37,6 +37,10 @@
 #include "x86-linux-setup.h"
 #include "../../kexec/kexec-syscall.h"
 
+#ifndef VIDEO_CAPABILITY_64BIT_BASE
+#define VIDEO_CAPABILITY_64BIT_BASE     (1 << 1)        /* Frame buffer base 
is 64-bit */
+#endif
+
 void init_linux_parameters(struct x86_linux_param_header *real_mode)
 {
        /* Fill in the values that are usually provided by the kernel. */

Reply via email to