diff options
author | Akinori Hattori <hattya@gentoo.org> | 2024-06-27 22:14:03 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2024-06-27 22:14:03 +0900 |
commit | 26df43b5026e054e11e9c0b2e73ef9304db4d32a (patch) | |
tree | 7a43dc8a93632abc67836324f9b37735bc786093 /dev-libs | |
parent | dev-libs/m17n-lib: new upstream release (diff) | |
download | gentoo-26df43b5026e054e11e9c0b2e73ef9304db4d32a.tar.gz gentoo-26df43b5026e054e11e9c0b2e73ef9304db4d32a.tar.bz2 gentoo-26df43b5026e054e11e9c0b2e73ef9304db4d32a.zip |
dev-libs/m17n-lib: fix build with Clang
Closes: https://bugs.gentoo.org/919393
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/m17n-lib/files/m17n-lib-clang.patch | 21 | ||||
-rw-r--r-- | dev-libs/m17n-lib/m17n-lib-1.8.0-r1.ebuild | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/m17n-lib/files/m17n-lib-clang.patch b/dev-libs/m17n-lib/files/m17n-lib-clang.patch new file mode 100644 index 000000000000..fb5d303d01b9 --- /dev/null +++ b/dev-libs/m17n-lib/files/m17n-lib-clang.patch @@ -0,0 +1,21 @@ +https://git.savannah.nongnu.org/cgit/m17n/m17n-lib.git/commit/?id=624b987e7b252e223de0bdbe148cd56aef0da28f + +From 624b987e7b252e223de0bdbe148cd56aef0da28f Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fweimer@redhat.com> +Date: Thu, 4 May 2023 13:57:49 +0200 +Subject: Add missing int in example/medit.c + +Resolves: https://savannah.nongnu.org/bugs/index.php?64106 + +--- a/example/medit.c ++++ b/example/medit.c +@@ -662,7 +662,7 @@ static void MenuHelpProc (Widget, XEvent *, String *, Cardinal *); + off the current input method, otherwide turn on the input method + input_method_table[$IDX]. */ + void +-select_input_method (idx) ++select_input_method (int idx) + { + int previous_input_method = current_input_method; + + diff --git a/dev-libs/m17n-lib/m17n-lib-1.8.0-r1.ebuild b/dev-libs/m17n-lib/m17n-lib-1.8.0-r1.ebuild index abca676406af..e3a2db9f3487 100644 --- a/dev-libs/m17n-lib/m17n-lib-1.8.0-r1.ebuild +++ b/dev-libs/m17n-lib/m17n-lib-1.8.0-r1.ebuild @@ -36,6 +36,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${P}-configure.patch + "${FILESDIR}"/${PN}-clang.patch "${FILESDIR}"/${PN}-freetype.patch "${FILESDIR}"/${PN}-ftconfig.patch "${FILESDIR}"/${PN}-ispell.patch |