Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/cdparanoia/files/, media-sound/cdparanoia/
Date: Sun, 03 May 2020 09:49:21
Message-Id: 1588499346.73581e1095aa6df83f46de376faeb962c08254ba.pacho@gentoo
1 commit: 73581e1095aa6df83f46de376faeb962c08254ba
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 3 09:27:50 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun May 3 09:49:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73581e10
7
8 media-sound/cdparanoia: Fix missing musl includes
9
10 Thanks-to: Toralf Förster
11 Thanks-to: Michael 'veremitz' Everitt
12 Closes: https://bugs.gentoo.org/713740
13 Package-Manager: Portage-2.3.99, Repoman-2.3.22
14 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
15
16 media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild | 4 +++-
17 .../files/cdparanoia-missing-sys_types_h.patch | 24 ++++++++++++++++++++++
18 2 files changed, 27 insertions(+), 1 deletion(-)
19
20 diff --git a/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild b/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild
21 index 38d07ee8cf0..afbbe92e3f8 100644
22 --- a/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild
23 +++ b/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild
24 @@ -1,4 +1,4 @@
25 -# Copyright 1999-2019 Gentoo Authors
26 +# Copyright 1999-2020 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 EAPI=7
30 @@ -27,6 +27,8 @@ src_prepare() {
31 # Patches from previus patchset + Fedora + Debian
32 eapply "${WORKDIR}"/patches/*.patch
33
34 + eapply "${FILESDIR}"/${PN}-missing-sys_types_h.patch #713740
35 +
36 mv configure.guess config.guess
37 mv configure.sub config.sub
38
39
40 diff --git a/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch b/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch
41 new file mode 100644
42 index 00000000000..010ed4a844c
43 --- /dev/null
44 +++ b/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch
45 @@ -0,0 +1,24 @@
46 +diff -Naur cdparanoia-III-10.2.orig/interface/utils.h cdparanoia-III-10.2/interface/utils.h
47 +--- cdparanoia-III-10.2.orig/interface/utils.h 2008-08-14 06:56:20.000000000 -0700
48 ++++ cdparanoia-III-10.2/interface/utils.h 2016-05-30 14:35:57.071615252 -0700
49 +@@ -3,6 +3,8 @@
50 + #include <errno.h>
51 + #include <string.h>
52 +
53 ++#include <sys/types.h>
54 ++
55 + /* I wonder how many alignment issues this is gonna trip in the
56 + future... it shouldn't trip any... I guess we'll find out :) */
57 +
58 +diff -Naur cdparanoia-III-10.2.orig/utils.h cdparanoia-III-10.2/utils.h
59 +--- cdparanoia-III-10.2.orig/utils.h 2008-08-22 02:39:06.000000000 -0700
60 ++++ cdparanoia-III-10.2/utils.h 2016-05-30 14:35:33.101409747 -0700
61 +@@ -4,6 +4,8 @@
62 + #include <errno.h>
63 + #include <string.h>
64 +
65 ++#include <sys/types.h>
66 ++
67 + extern long buffering_write(int outf, char *buffer, long num);
68 + extern int buffering_close(int fd);
69 +