summaryrefslogtreecommitdiff
path: root/app-i18n/libskk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-07 12:24:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-07 12:24:47 +0100
commit5d8ffbc273ca664e15618d557ced3e02de1a884b (patch)
treebc22fbc6a07790fd70dc8b5148de3089a1c4db3e /app-i18n/libskk
parent4187bba080530c5ca1c7dae9c233e88f3fc8f535 (diff)
gentoo auto-resync : 07:07:2024 - 12:24:46
Diffstat (limited to 'app-i18n/libskk')
-rw-r--r--app-i18n/libskk/Manifest3
-rw-r--r--app-i18n/libskk/files/libskk-1.0.5_p20210830-incompatible-pointer.patch16
-rw-r--r--app-i18n/libskk/libskk-1.0.5_p20210830.ebuild6
3 files changed, 23 insertions, 2 deletions
diff --git a/app-i18n/libskk/Manifest b/app-i18n/libskk/Manifest
index ea5a1c5573e3..7d7ae226d0dd 100644
--- a/app-i18n/libskk/Manifest
+++ b/app-i18n/libskk/Manifest
@@ -1,3 +1,4 @@
+AUX libskk-1.0.5_p20210830-incompatible-pointer.patch 745 BLAKE2B ceebd6b4901e3f93117367289090f2cba2641105989f79f8f28512b895b07e9274bbe943fdc39f31f2d67c330a7aa684abef72c6e127d47ed2e9785a04d702ec SHA512 387c4c6740168b5555067a62d6d8f5ecc15b5b816d83e7fafdc3469d9ae88d1b9dc952b598b04992dbfc872b4ae7ba71fc87cb5b58f83198e92433dc6e7bac6f
DIST libskk-1.0.5_p20210830.tar.gz 190676 BLAKE2B 6b9f058669929efb292692b5047084e2e95e2003a9ecd093205b198bf201249811f672d74e8ee283e6b1f5a94b6a72c79dddb12c950ffe6958ca6aef3aaea5d9 SHA512 2a34111627a43de2d854e2236fd69ec5577b162b097b6e964b891cf09eafaed0d9c3f657bcb1f78ec985a3e2adbed079d37e5e873d1ec35e5f7c66960135ee2b
-EBUILD libskk-1.0.5_p20210830.ebuild 1117 BLAKE2B ff4cef43f1462746b76e0e2bc53ebb4f73ccce88886cd8170ad2c800c65197662df201fd3c071badfca74a2980222259c8642a415399048d5381785d3d3beaea SHA512 f79e362532f4aea561580a8426407bc8ee0fb81576488b02928a5fc2f11e75cc6989bb15c5df83aaf70c7b896279383a5c90cbf35af690faa93e2514bb568b4d
+EBUILD libskk-1.0.5_p20210830.ebuild 1177 BLAKE2B 06d699d0e4f39183f3c94e35f540b68629d6dec6da9b6bcce2eda1401fbc1ca9d463a04ff61072c1e7984d702b0e018b0e95518e0577b81907af742e4d51fd45 SHA512 1515566084c48214c0f5919cc4e993f3bec075b4facb50ae1b7e32c7ac7dd1b9c3337feee30cb7f584ca91c985088e4eed6a7770c28c91d02b42d991e96ad182
MISC metadata.xml 311 BLAKE2B c3d3e6eec52aafdd92e37f4fdc850b22d5bc13ca6adf24954f53d13f67d7acaa60a2e8fc74627c442617ec860ba02b614195a49f48551c937addda7b3732c44d SHA512 72e6be18642179d25f2eac33df667891cee4d571ffaf49f823fb31e2605cec2e8dac3b07e9aadc6080fccf96f09f8677421ee71dec0af8ae7178bca1991ffda7
diff --git a/app-i18n/libskk/files/libskk-1.0.5_p20210830-incompatible-pointer.patch b/app-i18n/libskk/files/libskk-1.0.5_p20210830-incompatible-pointer.patch
new file mode 100644
index 000000000000..156d1e6f611b
--- /dev/null
+++ b/app-i18n/libskk/files/libskk-1.0.5_p20210830-incompatible-pointer.patch
@@ -0,0 +1,16 @@
+From 7ec4a42459b090b23a772d6a568f910f380e44db Mon Sep 17 00:00:00 2001
+From: YOSHIOKA Takuma <nop_thread@nops.red>
+Date: Mon, 20 May 2024 06:56:28 +0900
+Subject: [PATCH] Fix build failure with gcc-14
+
+--- a/libskk/file-dict.vala
++++ b/libskk/file-dict.vala
+@@ -70,7 +70,7 @@ namespace Skk {
+ // Skip until the first occurrence of line. This moves offset
+ // at the beginning of the next line.
+ bool read_until (ref long offset, string line) {
+- return_val_if_fail (offset < mmap.length, null);
++ return_val_if_fail (offset < mmap.length, false);
+ while (offset + line.length < mmap.length) {
+ char *p = ((char *)mmap.memory + offset);
+ if (*p == '\n' &&
diff --git a/app-i18n/libskk/libskk-1.0.5_p20210830.ebuild b/app-i18n/libskk/libskk-1.0.5_p20210830.ebuild
index ba96b7514156..2942b3a3386c 100644
--- a/app-i18n/libskk/libskk-1.0.5_p20210830.ebuild
+++ b/app-i18n/libskk/libskk-1.0.5_p20210830.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -27,6 +27,10 @@ BDEPEND="$(vala_depend)
virtual/pkgconfig
nls? ( sys-devel/gettext )"
+PATCHES=(
+ "${FILESDIR}/${P}-incompatible-pointer.patch"
+)
+
src_prepare() {
vala_src_prepare
default