gentoo-ebuilds/media-sound/gtick/files/gtick-0.5.5-no-dmalloc-tests.patch
Sam James 9fb1c782dd
media-sound/gtick: fix build w/ C23, unrestrict tests
* Fix build w/ C23
* Unrestrict tests by dropping dmalloc requirement

  It dates back to:

  commit a46f63115ab7e5db64009173f0b8662f0965f943
  Author: Samuli Suominen <ssuominen@gentoo.org>
  Date:   Thu Jun 4 19:02:15 2009 +0000

      RESTRICT test because it needs too old dmalloc we don't ship anymore.
      (Portage version: 2.1.6.13/cvs/Linux x86_64)

  But tests for memory leaks aren't really something we're interested in
  from a packaging PoV, plus dmalloc was removed a little while ago. There's
  tests which work fine w/o dmalloc so let's allow running those.

Closes: https://bugs.gentoo.org/946659
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-30 15:38:09 +01:00

12 lines
493 B
Diff

We don't want to require last-rited dmalloc for tests.
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -63,7 +63,7 @@ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
LIBS = @LIBINTL@ @LIBS@
AM_CPPFLAGS = -I../src -I../intl -I$(top_srcdir)/intl @DEPS_CFLAGS@ @SNDFILE_CFLAGS@ @CHECK_CFLAGS@ @DMALLOC_CFLAGS@
-AM_CFLAGS = -DVERSION='"@VERSION@"' -DPACKAGE='"@PACKAGE@"' -DUSE_DMALLOC
+AM_CFLAGS = -DVERSION='"@VERSION@"' -DPACKAGE='"@PACKAGE@"'
AM_YFLAGS = -d
AM_LFLAGS=-olex.yy.c