Hello community,
here is the log from the commit of package sblim-tools-libra for
openSUSE:Factory checked in at 2020-10-18 16:31:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sblim-tools-libra (Old)
and /work/SRC/openSUSE:Factory/.sblim-tools-libra.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sblim-tools-libra"
Sun Oct 18 16:31:11 2020 rev:18 rq:842120 version:1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/sblim-tools-libra/sblim-tools-libra.changes
2013-03-20 11:56:31.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.sblim-tools-libra.new.3486/sblim-tools-libra.changes
2020-10-18 16:33:00.000800034 +0200
@@ -1,0 +2,5 @@
+Fri Oct 9 12:31:03 UTC 2020 - Klaus Kämpf <[email protected]>
+
+- fix gcc10 build: add 0001-declare-sys_errlist.patch
+
+-------------------------------------------------------------------
New:
----
0001-declare-sys_errlist.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sblim-tools-libra.spec ++++++
--- /var/tmp/diff_new_pack.5KSSSw/_old 2020-10-18 16:33:01.744800811 +0200
+++ /var/tmp/diff_new_pack.5KSSSw/_new 2020-10-18 16:33:01.748800813 +0200
@@ -1,7 +1,7 @@
#
# spec file for package sblim-tools-libra
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,16 +12,17 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: sblim-tools-libra
Version: 1.0
Release: 0
-Url: http://www.sblim.org
+URL: http://www.sblim.org
Source:
http://prdownloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
-Patch1: %{name}-%{version}-docdir.patch
+Patch0: %{name}-%{version}-docdir.patch
+Patch1: 0001-declare-sys_errlist.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool
Summary: SBLIM Common Resource Access Library for WBEM-SMT tasks
@@ -60,7 +61,8 @@
%prep
%setup -q
-%patch1
+%patch0
+%patch1 -p1
%build
autoreconf -fi
++++++ 0001-declare-sys_errlist.patch ++++++
>From 9acc2a9d151ac93e5566b9f0ed62685f36efb7cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <[email protected]>
Date: Fri, 9 Oct 2020 14:28:52 +0200
Subject: [PATCH] declare sys_errlist
---
src/smt_libra_execscripts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/smt_libra_execscripts.c b/src/smt_libra_execscripts.c
index 1f8e9c98838d..4fbba7a0bfe4 100644
--- a/src/smt_libra_execscripts.c
+++ b/src/smt_libra_execscripts.c
@@ -26,7 +26,7 @@
#include <sys/wait.h>
#include <errno.h>
#include "smt_libra_execscripts.h"
-
+extern const char * const sys_errlist[];
/*
static int __execScript(const char *script){
--
2.26.0