diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-14 05:44:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-14 05:44:50 +0100 |
commit | 1d18b53ed419c49eb3f71637ccd58a431c1368d4 (patch) | |
tree | eb3671b1209855aa64534ee96262d06bcda99d74 /dev-libs/hyphen | |
parent | fdca6388cf31827202fae75cae067c695bd09339 (diff) |
gentoo auto-resync : 14:04:2023 - 05:44:49
Diffstat (limited to 'dev-libs/hyphen')
-rw-r--r-- | dev-libs/hyphen/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/hyphen/files/hyphen-2.8.8-mawk.patch | 47 | ||||
-rw-r--r-- | dev-libs/hyphen/hyphen-2.8.8-r2.ebuild (renamed from dev-libs/hyphen/hyphen-2.8.8-r1.ebuild) | 10 | ||||
-rw-r--r-- | dev-libs/hyphen/metadata.xml | 1 |
4 files changed, 58 insertions, 5 deletions
diff --git a/dev-libs/hyphen/Manifest b/dev-libs/hyphen/Manifest index 58b5596724ed..4f2448ddae86 100644 --- a/dev-libs/hyphen/Manifest +++ b/dev-libs/hyphen/Manifest @@ -1,3 +1,4 @@ +AUX hyphen-2.8.8-mawk.patch 1344 BLAKE2B ef1928819d43d1807a0dcfd9c3b647929adb4a471c8a2f16f977790131329076a351a4532b4a46b56f192b719f6701f691d275158b4942e47e745de31182b52f SHA512 98564334f24e9840b5ec2292c831156219fb514bcdea62d608511c97ab12c3e14afaab3b647ce1267b3631cbc9f5823b60c606b1f103a01dcd7b0751f20ebd00 DIST hyphen-2.8.8.tar.gz 638369 BLAKE2B b20bf9476d573c344eeaa5088da5dad17ef025d37717391965880b60b78908bfa00347b4840267a8bab77bbf0c3d653313e342b892581f1864381c476804c3c1 SHA512 ee514952be56869840b70fb74f60eba14dc4de246733ff8705492367e8cf00c485f8778a9d5a7ba374c988d4ac9fedbe75826dc559e1b62465dbfba21f6ce7de -EBUILD hyphen-2.8.8-r1.ebuild 798 BLAKE2B 88c930d0ffca6c3d956de8b5dbf2ef8837697df48d931fe80f5dfa58aa231fe1060abf51d312bf1c0734fd67c56f380b85a7f8169cce9dd66a5677c0b70cd78e SHA512 d22ce1fce3d5dce8c6689982cfd75bb90d2ed7d84284ea29fc203cca4331ea65ef38de43a4b84c4feede7c8bd3d6a5cb5559428d72be38265b27f1bebac17d56 -MISC metadata.xml 334 BLAKE2B 3a21f7641aa43f9511100ee4a5e64ebd87a30146c27c5b60dc0dd12c3f3fc609a32b5c57f1efcd724731b5ac86a38ffff20f323bfbbcf4793c1586e8e5b9943a SHA512 ef0d056d5b5840698bda3ad0ebc3cc5aa74b51b726c838a3720db45bba8efdd78ef3c0d46d3f6b929390a3204de566d3beed15aa1c32566b75866b338ba50ccb +EBUILD hyphen-2.8.8-r2.ebuild 843 BLAKE2B 54b4cf4516531f7714a3ee573234ca7b2aa6d52574eb740aec27773ea90c268f447694a8d4253ff69554146fde294585807cd99d343296b509d30b599da5c740 SHA512 6167d7649e6fadc9f48dd272f5061c9e1cb34de3c39b21d345a89addef151690e0a7438f387aa970c9e14e1cfb38072806ec8f951ca79d79c5dd8de5bb523483 +MISC metadata.xml 389 BLAKE2B 12b81333c2bf806fe09358b0846b33f814946afca56d74ece1fa1e349df1906fcde516b6d09d0ab57d0bc20b481986d6dc211f38552d98e3864a1a14b44424f1 SHA512 be5aa689d5d4e170cac4a039f7c51fa8ce07462d394031e291f68abaee652af176ce861b4273535a48b60c37549d1b2f146807a81769b7291c5fd355d127ad1f diff --git a/dev-libs/hyphen/files/hyphen-2.8.8-mawk.patch b/dev-libs/hyphen/files/hyphen-2.8.8-mawk.patch new file mode 100644 index 000000000000..a378db8d40ae --- /dev/null +++ b/dev-libs/hyphen/files/hyphen-2.8.8-mawk.patch @@ -0,0 +1,47 @@ +https://github.com/hunspell/hyphen/commit/3d05509b7ce8c350f4476830b00241025eeae329 +https://github.com/hunspell/hyphen/pull/12 + +From 3d05509b7ce8c350f4476830b00241025eeae329 Mon Sep 17 00:00:00 2001 +From: Philip Chimento <philip.chimento@gmail.com> +Date: Sat, 12 Nov 2016 00:36:06 -0800 +Subject: [PATCH] More portable awk script + +gensub() is specific to gawk, this uses gsub() instead in order to build +on platforms that don't have gawk such as macOS. +--- + lig.awk | 22 ++++++++++++++-------- + 1 file changed, 14 insertions(+), 8 deletions(-) + +diff --git a/lig.awk b/lig.awk +index 6737170..4ea5e46 100644 +--- a/lig.awk ++++ b/lig.awk +@@ -24,14 +24,20 @@ c=b + c!=b { print c } + + /f[1-9]?$/ { +- print gensub("f[1-9]?$", "ff", "g", b); +- if (c!=b) print gensub("f[1-9]?$", "ff", "g", c); +- +- print gensub("f[1-9]?$", "fi", "g", b); +- if (c!=b) print gensub("f[1-9]?$", "fi", "g", c); +- +- print gensub("f[1-9]?$", "fl", "g", b); +- if (c!=b) print gensub("f[1-9]?$", "fl", "g", c); ++ out=b; gsub("f[1-9]?$", "ff", out); print out ++ if (c!=b) { ++ out=c; gsub("f[1-9]?$", "ff", out); print out ++ } ++ ++ out=b; gsub("f[1-9]?$", "fi", out); print out ++ if (c!=b) { ++ out=c; gsub("f[1-9]?$", "fi", out); print out ++ } ++ ++ out=b; gsub("f[1-9]?$", "fl", out); print out ++ if (c!=b) { ++ out=c; gsub("f[1-9]?$", "fl", out); print out ++ } + } + + diff --git a/dev-libs/hyphen/hyphen-2.8.8-r1.ebuild b/dev-libs/hyphen/hyphen-2.8.8-r2.ebuild index ec59ef06c25d..f53aaa413168 100644 --- a/dev-libs/hyphen/hyphen-2.8.8-r1.ebuild +++ b/dev-libs/hyphen/hyphen-2.8.8-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 DESCRIPTION="ALTLinux hyphenation library" -HOMEPAGE="http://hunspell.github.io/" +HOMEPAGE="https://hunspell.github.io/" SRC_URI="mirror://sourceforge/hunspell/${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1 MPL-1.1" @@ -18,6 +18,10 @@ BDEPEND="dev-lang/perl" DOCS=( AUTHORS ChangeLog NEWS README{,.nonstandard,.hyphen,.compound} THANKS TODO ) +PATCHES=( + "${FILESDIR}"/${P}-mawk.patch +) + src_configure() { econf $(use_enable static-libs static) } diff --git a/dev-libs/hyphen/metadata.xml b/dev-libs/hyphen/metadata.xml index 8acbf740b37a..eae9e8117d60 100644 --- a/dev-libs/hyphen/metadata.xml +++ b/dev-libs/hyphen/metadata.xml @@ -7,5 +7,6 @@ </maintainer> <upstream> <remote-id type="sourceforge">hunspell</remote-id> + <remote-id type="github">hunspell/hyphen</remote-id> </upstream> </pkgmetadata> |