diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-16 18:48:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-16 18:48:52 +0000 |
commit | f265f17242b04ae036b4dc174fa95401d895dbc5 (patch) | |
tree | 8daa848087a673b8bf5dad576b0a08048d551da7 /net-p2p/gtk-gnutella | |
parent | d08ea43e9ada434f42f4be8e115b67ab22ce38af (diff) |
gentoo auto-resync : 16:03:2024 - 18:48:51
Diffstat (limited to 'net-p2p/gtk-gnutella')
-rw-r--r-- | net-p2p/gtk-gnutella/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/gtk-gnutella/files/gtk-gnutella-1.2.1-glibc234.patch | 53 |
2 files changed, 0 insertions, 54 deletions
diff --git a/net-p2p/gtk-gnutella/Manifest b/net-p2p/gtk-gnutella/Manifest index 33baf7912eb3..c76b7b200e93 100644 --- a/net-p2p/gtk-gnutella/Manifest +++ b/net-p2p/gtk-gnutella/Manifest @@ -1,4 +1,3 @@ -AUX gtk-gnutella-1.2.1-glibc234.patch 1881 BLAKE2B 4f4ce21452694eefcbf2c9e70d4ae1b3279a5c94c194bdef56bc4078d38302ba2901f2c23b8c877d4f3af75dcfad4c8cecf7321f362d841133bca991557d7ffd SHA512 9c328f8d17a1bbda4dcef95e2068823826ed09cd7d17268ab91294eecf10ba2dfd09c0f9bcdce32aa80f3c17c09e4ead1f9c632010155d95b2ed37a513ef656e DIST gtk-gnutella-1.2.2.tar.gz 26708793 BLAKE2B 9b8c1600914f5679c017929afa6d1f508734b21d95231c15588c64d9b1e9185ddb82ee26478d5d5d34c715fd475ccfe1e65b4b96ed4acc271444d21317013630 SHA512 d4825bb765d9b73b24d1dc7238a31c5e78c9adb7c765b0b913d4fce1467fb3655ac3214381748bca20fd3e02345ba0583d591e2177299d5130951808cd7bd325 DIST gtk-gnutella-1.2.3.tar.gz 28346798 BLAKE2B a502ed7bc8cae8355df3c4b7f0e85c06076d9e6703060299f4b6d01680c0822a5269faa4854e6044134d9cc3f3819ea2a3a2fccdf2e44e49b357f29191271e55 SHA512 fbd7aa528aff95dfcfc4b4620fb0b788301e31286208accbb6eada93cc8ad83c4f7ed3275a5af6e91b49aebe6ba836b4094036e79602235d5fd6161ba797339a EBUILD gtk-gnutella-1.2.2-r1.ebuild 2090 BLAKE2B fc5d76e585aa149028f897bca113cf5e695ba1b509a05aefb26c49217393bc455d0385aeb2590f56316f68d2ede2432c05d5e6dc31459ee524a43d167ff38872 SHA512 4180cc4f37966496401ac49c9ab2caa4236a287bee6ffe9c934b1ca87f63daac6209a0a7df846adf8e976f4a8d2a797e1359ce5334e6947014629b382a153157 diff --git a/net-p2p/gtk-gnutella/files/gtk-gnutella-1.2.1-glibc234.patch b/net-p2p/gtk-gnutella/files/gtk-gnutella-1.2.1-glibc234.patch deleted file mode 100644 index 8d985b966701..000000000000 --- a/net-p2p/gtk-gnutella/files/gtk-gnutella-1.2.1-glibc234.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 31d06cecac572852c6e5e8d85cea641883cbe4c6 Mon Sep 17 00:00:00 2001 -From: Raphael Manfredi <ram@entique.fr> -Date: Mon, 9 Aug 2021 09:36:00 +0200 -Subject: [PATCH] Fix compilation with newest glibc. - -The PTHREAD_STACK_MIN value is no longer a constant but rather -defined as sysconf(_SC_THREAD_STACK_MIN). - -Therefore, we must avoid using cpp computations on that value. ---- - src/lib/thread.c | 7 +------ - src/lib/thread.h | 2 +- - 2 files changed, 2 insertions(+), 7 deletions(-) - -diff --git a/src/lib/thread.c b/src/lib/thread.c -index 178c09794..e7a702029 100644 ---- a/src/lib/thread.c -+++ b/src/lib/thread.c -@@ -9705,7 +9705,7 @@ thread_launch_trampoline(void *arg) - * In case PTHREAD_STACK_MIN is not defined by <pthread.h>. - */ - #ifndef PTHREAD_STACK_MIN --#define PTHREAD_STACK_MIN 0 -+#define PTHREAD_STACK_MIN 1024U - #endif - - /** -@@ -9737,12 +9737,7 @@ thread_launch(struct thread_element *te, - pthread_attr_init(&attr); - - if (stack != 0) { -- /* Avoid compiler warning when PTHREAD_STACK_MIN == 0 */ --#if PTHREAD_STACK_MIN != 0 - stacksize = MAX(PTHREAD_STACK_MIN, stack); --#else -- stacksize = stack; --#endif - stacksize = MAX(stacksize, THREAD_STACK_MIN); - } else { - stacksize = MAX(THREAD_STACK_DFLT, PTHREAD_STACK_MIN); -diff --git a/src/lib/thread.h b/src/lib/thread.h -index 73e15fa36..740f3a6f9 100644 ---- a/src/lib/thread.h -+++ b/src/lib/thread.h -@@ -63,7 +63,7 @@ typedef size_t thread_qid_t; /* Quasi Thread ID */ - typedef unsigned int thread_key_t; /* Local thread storage key */ - - #define THREAD_MAX 64 /**< Max amount of threads we can track */ --#define THREAD_STACK_DFLT (65536 * PTRSIZE) /**< Default stack requested */ -+#define THREAD_STACK_DFLT (65536U * PTRSIZE) /**< Default stack requested */ - #define THREAD_LOCAL_MAX 1024 /**< Max amount of thread-local keys */ - - #define THREAD_SUSPEND_TIMEOUT 90 /**< secs: thread max suspension time */ |