Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package uim for openSUSE:Factory checked in 
at 2024-08-29 15:43:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uim (Old)
 and      /work/SRC/openSUSE:Factory/.uim.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uim"

Thu Aug 29 15:43:21 2024 rev:58 rq:1197119 version:1.8.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/uim/uim.changes  2024-02-21 17:57:18.609242467 
+0100
+++ /work/SRC/openSUSE:Factory/.uim.new.2698/uim.changes        2024-08-29 
15:44:24.775837918 +0200
@@ -1,0 +2,7 @@
+Wed Aug 28 16:10:25 UTC 2024 - Takashi Iwai <ti...@suse.com>
+
+- Fix build errors with gcc14:
+  uim-gcc14-fix.patch
+  also run autogen.sh to refresh
+
+-------------------------------------------------------------------

New:
----
  uim-gcc14-fix.patch

BETA DEBUG BEGIN:
  New:- Fix build errors with gcc14:
  uim-gcc14-fix.patch
  also run autogen.sh to refresh
BETA DEBUG END:

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

Other differences:
------------------
++++++ uim.spec ++++++
--- /var/tmp/diff_new_pack.MHcvyn/_old  2024-08-29 15:44:25.511868484 +0200
+++ /var/tmp/diff_new_pack.MHcvyn/_new  2024-08-29 15:44:25.515868649 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package uim
 #
-# Copyright (c) 2023 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
@@ -37,12 +37,15 @@
 Patch3:         bugzilla-1175274-emacs-27.1.patch
 Patch4:         uim-fix-multiple_declaration.diff
 Patch5:         riscv.patch
+Patch6:         uim-gcc14-fix.patch
+BuildRequires:  automake
 BuildRequires:  emacs-x11
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  intltool
 BuildRequires:  libqt5-qtbase-devel
 BuildRequires:  libqt5-qtbase-private-headers-devel
+BuildRequires:  libtool
 BuildRequires:  m17n-lib-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  perl-XML-Parser
@@ -115,8 +118,10 @@
 %patch -P 3 -p0
 %patch -P 4 -p0
 %patch -P 5 -p1
+%patch -P 6 -p1
 cp emacs/README README.emacs
 iconv -f euc-jp -t utf-8 < emacs/README.ja > README.ja.emacs
+./autogen.sh
 
 %build
 %configure --disable-static \

++++++ uim-gcc14-fix.patch ++++++
---
 configure.ac           |    2 ++
 replace/bsd-snprintf.c |    2 ++
 2 files changed, 4 insertions(+)

--- a/configure.ac
+++ b/configure.ac
@@ -578,6 +578,7 @@ if test "x$ac_cv_func_snprintf" = xyes;
        AC_RUN_IFELSE(
                [AC_LANG_SOURCE([[
 #include <stdio.h>
+#include <stdlib.h>
 int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
                ]])],
                [AC_MSG_RESULT(yes)],
@@ -601,6 +602,7 @@ if test "x$ac_cv_func_asprintf" != xyes
                [AC_LANG_SOURCE([[
 #include <sys/types.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <stdarg.h>
 
 int x_snprintf(char *str,size_t count,const char *fmt,...)

Reply via email to