summaryrefslogtreecommitdiff
path: root/dev-util/gperf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-06 15:10:46 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-06 15:10:46 +0000
commitee8ad1509f726e8fa598472117e5bbffd241ebab (patch)
tree4ac9a10ae4694145a7287533143f85af923c1954 /dev-util/gperf
parent1fe7aef6facf013a94eac853717f4da4d5d3c5b3 (diff)
gentoo auto-resync : 06:12:2022 - 15:10:45
Diffstat (limited to 'dev-util/gperf')
-rw-r--r--dev-util/gperf/Manifest3
-rw-r--r--dev-util/gperf/files/gperf-3.1-clang-16-wregister.patch21
-rw-r--r--dev-util/gperf/gperf-3.1-r1.ebuild1
3 files changed, 24 insertions, 1 deletions
diff --git a/dev-util/gperf/Manifest b/dev-util/gperf/Manifest
index 5a6cb80133ee..2e31626a800d 100644
--- a/dev-util/gperf/Manifest
+++ b/dev-util/gperf/Manifest
@@ -1,5 +1,6 @@
+AUX gperf-3.1-clang-16-wregister.patch 766 BLAKE2B 52117a973bf01ed6c8c43d383f128924936ef4b1c6dcb0155753924b2826659d9ca67cf85503aeaf82d5e9367925505f908a4273146352242be8023aa98ce1fc SHA512 44567048ca49cd6fc9325baa2c83d3c608e8930cf23b7ddb10950ff1f8db71bdb9b3dc040a4a2d4fbaf330877edcfa485a4469785610ceb12342a843a46a2c2d
AUX gperf-3.1-strncmp-decl-mismatch.patch 819 BLAKE2B 627af81f91b5fdfd1bd3978adeed9a0d00a5d6b3f8aae54fe0ce21cfaf9384734a61a5986723f72f4c55efdccbed90ec651008d6df651a10322c04b4099431bf SHA512 167823f5908951c79e9ec5b77106a1acbc011bc34636a845d50f55689cf9a7a1f4652a628dc786a29d1dd764e94d1055e32eea1f8c3852d9622e14816969c7f4
DIST gperf-3.1.tar.gz 1215925 BLAKE2B bc4c54ade3f7dce484714d77cb5759dcc02b7a607d7b1aff6bdbcd06ee4c83e9449038a7217d5f25bcbef058ba56e1fce9383b9599de005154e5a9b566ac9c69 SHA512 855ebce5ff36753238a44f14c95be7afdc3990b085960345ca2caf1a2db884f7db74d406ce9eec2f4a52abb8a063d4ed000a36b317c9a353ef4e25e2cca9a3f4
-EBUILD gperf-3.1-r1.ebuild 667 BLAKE2B 62e7eb9a8f756795ac270165257fddcc227fe7f2760077829839f624f67a1e27661daab3fdbebe21415f99bb3b0deacc0031a102ba018fc086bff0dfca07b2f4 SHA512 7b4329ee7a2e34c2662c947ea63a2b9462a651cc0c90bb544b52d3e81ba271866c0389adf9e46445f0898000f3ee7db0a862b9d6487261bb3d77f50195eab117
+EBUILD gperf-3.1-r1.ebuild 712 BLAKE2B 69c0e6466bdd826c5411415094fb0f820b55ae6bb0cadae429123e749fc1d3f933b506f1efc9cd8e8909979b15d1df806367b9ef050e9dde88c949035df28222 SHA512 8e514b4c53feef088853cc154c72d4e1d1fff20e6c320f83992790b0612cf92e5e83efb7ba5c304df13c2f960942d052812397066b2c1ba313256507e6d4804f
EBUILD gperf-3.1.ebuild 598 BLAKE2B bc597678be8b568a5a249b9c3e49b40ad99beb65d3fe207d08179499cfac69cd41139322fefc4c76e0ccded8fe8e6614d2e09b77395e8502acc512d2811a296e SHA512 0524b8e6cb782ea9c839991192163d55eaff8d1b10bd4b9045dd7311e1ac2acac684a6d92e1be0c0d0b56af1d2c7d30ee5847cc580387b05eb7aa9d79d227463
MISC metadata.xml 300 BLAKE2B 08411b1e2990305e2459a483ee439bd127e2f6e556b621ca68376c3b22373123e5382d5445321451c502237046c5b7c806af389c3115729e0c96c6df3ae45d05 SHA512 094bde403ea70f64268a627bc5d9342f8e86d727c7c10b74214a1aa65d23baef8fc189a4771a4c838ee098b979af8e27614fc2480ce258394276df5b5f18d13b
diff --git a/dev-util/gperf/files/gperf-3.1-clang-16-wregister.patch b/dev-util/gperf/files/gperf-3.1-clang-16-wregister.patch
new file mode 100644
index 000000000000..4bbcca6d57e0
--- /dev/null
+++ b/dev-util/gperf/files/gperf-3.1-clang-16-wregister.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/882787
+https://git.savannah.gnu.org/gitweb/?p=gperf.git;a=commit;h=a63b830554920476881837eeacd4a6b507632b19
+
+From a63b830554920476881837eeacd4a6b507632b19 Mon Sep 17 00:00:00 2001
+From: Bruno Haible <bruno@clisp.org>
+Date: Sun, 30 Aug 2020 12:36:15 +0200
+Subject: [PATCH] Make the code C++17 compliant.
+
+* lib/getline.cc (getstr): Don't use the 'register' keyword.
+
+--- a/lib/getline.cc
++++ b/lib/getline.cc
+@@ -55,7 +55,7 @@ getstr (char **lineptr, size_t *n, FILE *stream, char terminator, size_t offset)
+
+ for (;;)
+ {
+- register int c = getc (stream);
++ int c = getc (stream);
+
+ /* We always want at least one char left in the buffer, since we
+ always (unless we get an error while reading the first char)
diff --git a/dev-util/gperf/gperf-3.1-r1.ebuild b/dev-util/gperf/gperf-3.1-r1.ebuild
index bdabce4d841e..093d0f549a5e 100644
--- a/dev-util/gperf/gperf-3.1-r1.ebuild
+++ b/dev-util/gperf/gperf-3.1-r1.ebuild
@@ -13,6 +13,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~
PATCHES=(
"${FILESDIR}"/${P}-strncmp-decl-mismatch.patch
+ "${FILESDIR}"/${P}-clang-16-wregister.patch
)
src_prepare() {