pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/gtk-gnutella gtk-gnutella: do not use included mal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fbb8cbc24526
branches:  trunk
changeset: 390763:fbb8cbc24526
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 28 22:57:51 2022 +0000

description:
gtk-gnutella: do not use included malloc()

Makes it work better by not segfaulting early in startup.

Bump PKGREVISION.

diffstat:

 net/gtk-gnutella/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 768c3bdb2f85 -r fbb8cbc24526 net/gtk-gnutella/Makefile
--- a/net/gtk-gnutella/Makefile Wed Dec 28 22:51:26 2022 +0000
+++ b/net/gtk-gnutella/Makefile Wed Dec 28 22:57:51 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.119 2022/12/25 17:55:14 wiz Exp $
+# $NetBSD: Makefile,v 1.120 2022/12/28 22:57:51 wiz Exp $
 
 DISTNAME=      gtk-gnutella-1.2.2
+PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gtk-gnutella/}
 EXTRACT_SUFX=  .tar.xz
@@ -15,6 +16,10 @@
 HAS_CONFIGURE=         yes
 CONFIGURE_SCRIPT=      ./build.sh
 CONFIGURE_ARGS+=       --configure-only
+# causes segfaults because the malloc() is used by other libraries as well
+# before it is set up completely, see discussion in
+# https://github.com/gtk-gnutella/gtk-gnutella/pull/37
+CONFIGURE_ARGS+=       --disable-malloc
 CONFIGURE_ARGS+=       --prefix=${DESTDIR}/${PREFIX}
 CONFIGURE_ARGS+=       --localedir="${PREFIX}/${PKGLOCALEDIR}/locale"
 CONFIGURE_ARGS+=       --cc=${CC:Q}



Home | Main Index | Thread Index | Old Index