diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-20 01:01:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-20 01:01:31 +0000 |
commit | 5d0c0ffd63620a4db788484bd36ab92b76e7891b (patch) | |
tree | b4204d122504a5c2d3bfdb2cc9f3a5dcf5fe07b2 /net-analyzer/yersinia | |
parent | 60945053af0588a6219a4a6867aace9e7b47faeb (diff) |
gentoo auto-resync : 20:11:2022 - 01:01:31
Diffstat (limited to 'net-analyzer/yersinia')
-rw-r--r-- | net-analyzer/yersinia/Manifest | 3 | ||||
-rw-r--r-- | net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16-deux.patch | 36 | ||||
-rw-r--r-- | net-analyzer/yersinia/yersinia-0.8.2-r2.ebuild (renamed from net-analyzer/yersinia/yersinia-0.8.2-r1.ebuild) | 1 |
3 files changed, 39 insertions, 1 deletions
diff --git a/net-analyzer/yersinia/Manifest b/net-analyzer/yersinia/Manifest index bc42e3da2819..2b34f99fb93b 100644 --- a/net-analyzer/yersinia/Manifest +++ b/net-analyzer/yersinia/Manifest @@ -1,7 +1,8 @@ AUX yersinia-0.7.1-no-ncurses.patch 330 BLAKE2B 86c2cb84542012c6424fdcae398e07769647bcdda300d6efdbb263451c8765e23cd272f76e4e0e84751272df3de46a77b32fd2321a0ab3bc70cc8199b457adf6 SHA512 c0a0ef6456727eaa0ae9ea50667e04a72afb01c5b75d13965836657e4d1946df550840afd091ec58e8875b1a551df5966feb98b655183cec6dadaf4f5de23e4f AUX yersinia-0.7.3-tinfo.patch 563 BLAKE2B 6203584c6ff7b8e5438f57ad74b5b1ee7ee61d08b2bee21234fd4cfbb6aa37b9b1cb69b4a7af11e57434b215e346f6384a195ffdd47b9504fe6eb93b3d2109e9 SHA512 9a53505e050a9658f49809ad989d534e542fb0cf21ae70a9271b536a9a478a4306e49c9b0493ab522d5ffb82849eed043b212e399505c916792372a64d96c319 +AUX yersinia-0.8.2-configure-clang16-deux.patch 1302 BLAKE2B 6d12f5fda90697749c8e18c07f4768fb4de926b1560662a6e40b0cac69ce50dca8bf7ffb91590e036895473536d15b9bfb8519697277fee0b49e421ec4bb990c SHA512 28f699b437eaa19a2db34511307f777de5a7980da1c64828e2bf74077efbc180a1ddc08a3b7d7ef5a6d62de1cad116f0cd362eb868882c7801b2afdd5a178940 AUX yersinia-0.8.2-configure-clang16.patch 1705 BLAKE2B b9cf0fc0181f85894331b2f020fc962b644ace2bc2c8590ebb1ef597999c126dcb7c6537241ade7c3984200dd2e03abf84ef87854ade1fe6c2b28c2510f1bb48 SHA512 93c6698591648cdc332d73148e512818777dc34edb6892df51f123dbe191be5287c8a7a3b3fdb15bea9dad28e35b5b18adf96d38572d297961bfaae03ffc4c27 AUX yersinia-9999-tinfo.patch 563 BLAKE2B ef2b554f82037dde165373fd6db71503ee124062cef4689062e7e1799f5ae26afd5758468f3c860690046aa4cb6e12dafd7ed3189a765a52565b5530a322d11a SHA512 a0edb5a47281bc66f0296914597fc4a9901f0e50640b43b6b31a30ddc4b6a5202220207039c3936f32769161f2c61d78afc5a3d7725d04ea41afd301312efa24 DIST yersinia-0.8.2.tar.gz 387889 BLAKE2B 67fe92b9cd1253874c61fa38c8e89e023f7d0ec3b83fe3001b5bc203d4033e36cb94b453ed56426b34d942036a143bd135f247466425337478f292797a433652 SHA512 2c7c89f19b6791150c472a6066b6ffaf9ac5b3d1a3d2e6a27f91293bba9a0f72d147266731e5e2670e4bf7e67ccf04b6e353071ca42d3d281b25126c9bfcb1dd -EBUILD yersinia-0.8.2-r1.ebuild 1132 BLAKE2B aff918191afe85fd7f9a9d5de44ed06adcb8b78ab661c7772e258936851f9adc594e208624219f3a5746b194f8ed5fee689f60a6ad5d5c0997ab80cedec367ec SHA512 f5d3730345d6a57d8a20446897f3c80bd1b5888a52b850b9ea4e776322627bcc00077a0b22f7a7b60cd56337831445cc2e4cb19470b25c05dd6b83c234c9249c +EBUILD yersinia-0.8.2-r2.ebuild 1188 BLAKE2B 7c615e24f538ccf2bdf7e8d7e07d62600a7c4f588bec17a060d07b3033ace3489c88f6873b576bad4026557f989d7a191a4b6094c11e426ea0311120486e0caf SHA512 c739777ae2945244409189b05ea96ac767fa24419e1e831cbf976dde5fb61bb550bb9b5822ad2ea9e00da7f860008b099b873c1ce38d5f03a38efaba3106449e MISC metadata.xml 602 BLAKE2B 17ecc301b7c25dfbe55ca622e293154a6802050de8ea0674697f36418af73c37258e76d191449686d0475368ec3532e66102e85d93ba7c0fb7eb77280ace59a7 SHA512 9fcebd2cd58ae500fc4211de33a31b01a4cfaf67555b6ae1c5b6aa64ba68c53cfe22bc5b93f603919b1cd0653b1885b62cddca15dd6c6597dbea9f363da043fa diff --git a/net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16-deux.patch b/net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16-deux.patch new file mode 100644 index 000000000000..209020eae714 --- /dev/null +++ b/net-analyzer/yersinia/files/yersinia-0.8.2-configure-clang16-deux.patch @@ -0,0 +1,36 @@ +From 5db403f8aa4101589f33246eaa23b5f31228fc3b Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sat, 19 Nov 2022 18:43:26 +0000 +Subject: [PATCH] configure: fix -Wimplicit-function-declaration, + -Wimplicit-int + +Clang 16 makes -Wimplicit-function-declaration and -Wimplicit-int errors by default. Unfortunately, +this can lead to misconfiguration or miscompilation of software as configure +tests may then return the wrong result. + +For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2], +or the (new) c-std-porting mailing list [3]. + +[0] https://lwn.net/Articles/913505/ +[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213 +[2] https://wiki.gentoo.org/wiki/Modern_C_porting +[3] hosted at lists.linux.dev. + +Followup to 6414681ae99d6a0f460f827648f114aa3cb2e419. + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/acinclude.m4 ++++ b/acinclude.m4 +@@ -79,8 +79,10 @@ AC_DEFUN([AC_LBL_UNALIGNED_ACCESS], + # include <sys/types.h> + # include <sys/wait.h> + # include <stdio.h> ++# include <stdlib.h> ++# include <unistd.h> + unsigned char a[[5]] = { 1, 2, 3, 4, 5 }; +- main() { ++ int main(void) { + unsigned int i; + pid_t pid; + int status; + diff --git a/net-analyzer/yersinia/yersinia-0.8.2-r1.ebuild b/net-analyzer/yersinia/yersinia-0.8.2-r2.ebuild index 0d001464a4d2..be2de6bbc614 100644 --- a/net-analyzer/yersinia/yersinia-0.8.2-r1.ebuild +++ b/net-analyzer/yersinia/yersinia-0.8.2-r2.ebuild @@ -33,6 +33,7 @@ PATCHES=( "${FILESDIR}"/${PN}-0.7.1-no-ncurses.patch "${FILESDIR}"/${PN}-0.7.3-tinfo.patch "${FILESDIR}"/${PN}-0.8.2-configure-clang16.patch + "${FILESDIR}"/${PN}-0.8.2-configure-clang16-deux.patch ) src_prepare() { |