[packages/streamripper] - relup, added c99 patch

mrozowik mrozowik at pld-linux.org
Sun Feb 22 17:22:08 CET 2026


commit 2c04569395bb48b51580f01551da353bc26d81b3
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date:   Sun Feb 22 16:21:59 2026 +0000

    - relup, added c99 patch

 streamripper-1.64.6-fix-c99.patch | 39 +++++++++++++++++++++++++++++++++++++++
 streamripper.spec                 |  4 +++-
 2 files changed, 42 insertions(+), 1 deletion(-)
---
diff --git a/streamripper.spec b/streamripper.spec
index 24238c1..5d6c94b 100644
--- a/streamripper.spec
+++ b/streamripper.spec
@@ -2,11 +2,12 @@ Summary:	Open Source (GPL) application that lets you record streaming MP3 to you
 Summary(pl.UTF-8):	Aplikacja o Otwartym Kodzie (GPL) pozwalająca zapisać strumień MP3 na dysk twardy
 Name:		streamripper
 Version:	1.64.6
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Applications/Sound
 Source0:	http://downloads.sourceforge.net/streamripper/%{name}-%{version}.tar.gz
 # Source0-md5:	a37a1a8b8f9228522196a122a1c2dd32
+Patch0:		streamripper-1.64.6-fix-c99.patch
 URL:		http://streamripper.sourceforge.net/
 BuildRequires:	glib2-devel >= 1:2.16.0
 BuildRequires:	libmad-devel >= 0.15.1b
@@ -28,6 +29,7 @@ pliki na dysku z odpowiednimi nazwami wykorzystując "meta dane".
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %{__rm} -r libmad-0.15.1b
 
diff --git a/streamripper-1.64.6-fix-c99.patch b/streamripper-1.64.6-fix-c99.patch
new file mode 100644
index 0000000..47d32c3
--- /dev/null
+++ b/streamripper-1.64.6-fix-c99.patch
@@ -0,0 +1,39 @@
+--- a/lib/argv.c
++++ b/lib/argv.c
+@@ -52,25 +52,10 @@
+ 
+ /*  Routines imported from standard C runtime libraries. */
+ 
+-#ifdef ANSI_PROTOTYPES
+-
+ #include <stddef.h>
+ #include <string.h>
+ #include <stdlib.h>
+ 
+-#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 free ();		/* Free malloc'd memory */
+-extern char *strdup ();		/* Duplicate a string */
+-#endif
+-
+-#endif	/* ANSI_PROTOTYPES */
+-
+ 
+ #ifndef NULL
+ #define NULL 0
+--- a/lib/ripstream.c
++++ b/lib/ripstream.c
+@@ -714,7 +714,7 @@
+     char bigbuf[HEADER_SIZE] = "";
+     ID3V2frame id3v2frame;
+ #ifndef WIN32
+-    __uint32_t framesize = 0;
++    uint32_t framesize = 0;
+ #else
+     unsigned long int framesize = 0;
+ #endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/streamripper.git/commitdiff/2c04569395bb48b51580f01551da353bc26d81b3



More information about the pld-cvs-commit mailing list