gentoo/www-client/uget/files/uget-2.2.3-fix_crash_sorting.patch
Nicolas PARLANT 8ae1b0c4c5
www-client/uget: fix c23 and crash when changing sort
update HOMEPAGE :
www.ugetdm.com is dead (404), ugetdm.com redirects to the github repo
no remote-id for github because it contains only a README
update SRC_URI (redirect)

useflags reworked :
*remove gnutls, it only requires libgcrypt
req-use is removed too, libgcrypt/openssl is handled by the useflag openssl
*move aria2 in optfeature, it's just called as a runtime-plugin

deps :
remove libcpre, not required
add deps inherited by gtk+:3

patches :
fix c23 unprototyped function
fix a crash when changing sort (upstream)

Closes: https://bugs.gentoo.org/944225
Closes: https://bugs.gentoo.org/944274
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43981
Closes: https://github.com/gentoo/gentoo/pull/43981
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-30 09:25:16 +01:00

16 lines
433 B
Diff

fix crash when changing sort
https://github.com/ugetdm/uget/issues/40
patch from upstream: 0c5b01
--- a/ui-gtk/UgtkApp-callback.c
+++ b/ui-gtk/UgtkApp-callback.c
@@ -549,6 +549,9 @@ static void node_updated (UgetNode* child)
UgtkApp* app;
node = child->parent;
+ if(node == NULL) {
+ return;
+ }
app = node->control->notifier->data;
if (node == (UgetNode*) app->traveler.category.model->root) {
// category changed