Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libsmi for openSUSE:Factory checked 
in at 2024-07-02 18:15:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsmi (Old)
 and      /work/SRC/openSUSE:Factory/.libsmi.new.18349 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libsmi"

Tue Jul  2 18:15:04 2024 rev:27 rq:1184763 version:0.4.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/libsmi/libsmi.changes    2024-03-01 
23:35:58.318254237 +0100
+++ /work/SRC/openSUSE:Factory/.libsmi.new.18349/libsmi.changes 2024-07-02 
18:15:09.856596780 +0200
@@ -1,0 +2,11 @@
+Tue Jul  2 03:28:00 UTC 2024 - Fridrich Strba <[email protected]>
+
+- Added patch:
+  * libsmi-c99.patch
+    + fix build with gcc14 (boo#1225858)
+    + Do not define _ISOC99_SOURCE in parser-sming.y, since
+      the timegm declaration in <time.h> is wrapped by
+      __GLIBC_USE(ISOC2X)
+
+
+-------------------------------------------------------------------

New:
----
  libsmi-c99.patch

BETA DEBUG BEGIN:
  New:- Added patch:
  * libsmi-c99.patch
    + fix build with gcc14 (boo#1225858)
BETA DEBUG END:

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

Other differences:
------------------
++++++ libsmi.spec ++++++
--- /var/tmp/diff_new_pack.5IIw4S/_old  2024-07-02 18:15:11.172644939 +0200
+++ /var/tmp/diff_new_pack.5IIw4S/_new  2024-07-02 18:15:11.172644939 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libsmi
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+%global make make
 Name:           libsmi
 Version:        0.4.8
 Release:        0
@@ -30,6 +31,7 @@
 Patch3:         libsmi-flex.patch
 Patch4:         libsmi-bison-3.0.patch
 Patch5:         libsmi-exports.patch
+Patch6:         libsmi-c99.patch
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  libtool
@@ -84,6 +86,7 @@
 %endif
 %patch -P 4 -p1
 %patch -P 5 -p1
+%patch -P 6 -p1
 
 %build
 autoreconf --force --install
@@ -92,7 +95,7 @@
               --enable-sming \
               --with-mibdir=%{_datadir}/mibs
 # Parallel build disabled
-%make_build #%{?_smp_mflags}
+%make #%{?_smp_mflags}
 
 %install
 %make_install

++++++ libsmi-c99.patch ++++++
--- a/lib/parser-sming.y
+++ b/lib/parser-sming.y
@@ -17,7 +17,7 @@
     
 #ifdef BACKEND_SMING
 
-#define _ISOC99_SOURCE
+
 #include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>

Reply via email to