summaryrefslogtreecommitdiff
path: root/app-benchmarks/siege/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-20 09:50:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-20 09:50:23 +0100
commit547caa904733bc2a3ac112415990a114ecbe8824 (patch)
treeb8976d40b28d2cb015e3c07254aee99fe0ad655a /app-benchmarks/siege/files
parent9346d46d1a9e0399ca3a4d3eb40689d0daa58ebc (diff)
gentoo auto-resync : 20:10:2023 - 09:50:23
Diffstat (limited to 'app-benchmarks/siege/files')
-rw-r--r--app-benchmarks/siege/files/siege-4.1.6-clang16-build-fix.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-benchmarks/siege/files/siege-4.1.6-clang16-build-fix.patch b/app-benchmarks/siege/files/siege-4.1.6-clang16-build-fix.patch
new file mode 100644
index 000000000000..1d36fdfd22d8
--- /dev/null
+++ b/app-benchmarks/siege/files/siege-4.1.6-clang16-build-fix.patch
@@ -0,0 +1,32 @@
+Bug: https://bugs.gentoo.org/894338
+--- a/src/cookies.c
++++ b/src/cookies.c
+@@ -66,7 +66,7 @@ cookies_destroy(COOKIES this)
+ BOOLEAN
+ cookies_add(COOKIES this, char *str, char *host)
+ {
+- size_t id = pthread_self();
++ size_t id = (size_t) pthread_self();
+ //int hlen = 0;
+ //int dlen = 0;
+ NODE *cur = NULL;
+@@ -169,7 +169,7 @@ cookies_header(COOKIES this, char *host, char *newton)
+ time_t now;
+ struct tm tm;
+ char oreo[MAX_COOKIES_SIZE];
+- size_t id = pthread_self();
++ size_t id = (size_t) pthread_self();
+
+ memset(oreo, '\0', sizeof oreo);
+
+--- a/src/ftp.c
++++ b/src/ftp.c
+@@ -151,7 +151,7 @@ ftp_stor(CONN *C, URL U)
+ {
+ size_t len;
+ char *file;
+- size_t id = pthread_self();
++ size_t id = (size_t) pthread_self();
+ int num = 2;
+ char **parts;
+