Description: Fix FTBFS with gcc-14
 Patch fixes FBTFS with gcc-14
 .
Author: Michael Ablassmeier <abi@debian.org>
Bug-Debian: https://bugs.debian.org/1075541

---
Origin: (debian)
Bug-Debian: https://bugs.debian.org/1075541
Forwarded: (no)
Last-Update: 2024-07-25

--- streamripper-1.64.6.orig/lib/argv.c
+++ streamripper-1.64.6/lib/argv.c
@@ -30,6 +30,7 @@ Boston, MA 02111-1307, USA.  */
 #include "config.h"
 
 #if HAVE_ALLOCA_H
+# include <string.h>
 # include <alloca.h>
 #elif defined __GNUC__
 # define alloca __builtin_alloca
@@ -61,10 +62,8 @@ void freeargv (char **vector);
 #else	/* !ANSI_PROTOTYPES */
 
 #if !defined _WIN32 || defined __GNUC__
-extern char *memcpy ();		/* Copy memory region */
-extern int strlen ();		/* Count length of string */
-extern char *malloc ();		/* Standard memory allocater */
-extern char *realloc ();	/* Standard memory reallocator */
+extern void *malloc ();		/* Standard memory allocater */
+extern void *realloc ();	/* Standard memory reallocator */
 extern void free ();		/* Free malloc'd memory */
 extern char *strdup ();		/* Duplicate a string */
 #endif
