gentoo-ebuilds/media-sound/gtick/files/gtick-0.5.5-c23.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
278 B
Diff

https://bugs.gentoo.org/946659
--- a/src/optionlexer.h
+++ b/src/optionlexer.h
@@ -24,7 +24,7 @@
#define OPTIONLEXER_H
extern FILE *option_in;
-int option_parse();
+int option_parse(void *option_list);
void option_lexer_init(char* filename);
void option_lexer_deinit();