diff options
Diffstat (limited to 'meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch')
-rw-r--r-- | meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch new file mode 100644 index 000000000..065254ec8 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper/0003-ripstream-fix-compilation.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 6d59b60ff5108357ad2c2951a97112e713ee5368 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <git@andred.net> | ||
3 | Date: Thu, 3 Nov 2016 20:53:32 +0000 | ||
4 | Subject: [PATCH 3/3] ripstream: fix compilation | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | | ../../streamripper-1.64.6/lib/ripstream.c: In function 'write_id3v2_frame': | ||
10 | | ../../streamripper-1.64.6/lib/ripstream.c:717:5: error: unknown type name '__uint32_t' | ||
11 | | __uint32_t framesize = 0; | ||
12 | | ^~~~~~~~~~ | ||
13 | |||
14 | The already included srtypes.h does the right thing for all | ||
15 | platforms (I think). It certainly works well here. | ||
16 | |||
17 | Upstream-Status: Inappropriate [no upstream activity for 7+ years] | ||
18 | Signed-off-by: André Draszik <git@andred.net> | ||
19 | --- | ||
20 | lib/ripstream.c | 6 +----- | ||
21 | 1 file changed, 1 insertion(+), 5 deletions(-) | ||
22 | |||
23 | diff --git a/lib/ripstream.c b/lib/ripstream.c | ||
24 | index c671e18..7f311c6 100644 | ||
25 | --- a/lib/ripstream.c | ||
26 | +++ b/lib/ripstream.c | ||
27 | @@ -713,11 +713,7 @@ write_id3v2_frame(RIP_MANAGER_INFO* rmi, char* tag_name, mchar* data, | ||
28 | int rc; | ||
29 | char bigbuf[HEADER_SIZE] = ""; | ||
30 | ID3V2frame id3v2frame; | ||
31 | -#ifndef WIN32 | ||
32 | - __uint32_t framesize = 0; | ||
33 | -#else | ||
34 | - unsigned long int framesize = 0; | ||
35 | -#endif | ||
36 | + uint32_t framesize = 0; | ||
37 | |||
38 | memset(&id3v2frame, '\000', sizeof(id3v2frame)); | ||
39 | strncpy(id3v2frame.id, tag_name, 4); | ||
40 | -- | ||
41 | 2.10.1 | ||
42 | |||