Accepting request 1197119 from M17N
OBS-URL: https://build.opensuse.org/request/show/1197119 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uim?expand=0&rev=58
This commit is contained in:
23
uim-gcc14-fix.patch
Normal file
23
uim-gcc14-fix.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
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,...)
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 16:10:25 UTC 2024 - Takashi Iwai <tiwai@suse.com>
|
||||
|
||||
- Fix build errors with gcc14:
|
||||
uim-gcc14-fix.patch
|
||||
also run autogen.sh to refresh
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 15:40:27 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
7
uim.spec
7
uim.spec
@@ -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 @@ Patch2: uim-fix-crash-in-firefox.diff
|
||||
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 @@ Contains Qt5 input module plugin for uim
|
||||
%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 \
|
||||
|
Reference in New Issue
Block a user