From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/cdparanoia/files/, media-sound/cdparanoia/
Date: Sun, 3 May 2020 09:49:15 +0000 (UTC) [thread overview]
Message-ID: <1588499346.73581e1095aa6df83f46de376faeb962c08254ba.pacho@gentoo> (raw)
commit: 73581e1095aa6df83f46de376faeb962c08254ba
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun May 3 09:27:50 2020 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun May 3 09:49:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73581e10
media-sound/cdparanoia: Fix missing musl includes
Thanks-to: Toralf Förster
Thanks-to: Michael 'veremitz' Everitt
Closes: https://bugs.gentoo.org/713740
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild | 4 +++-
.../files/cdparanoia-missing-sys_types_h.patch | 24 ++++++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild b/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild
index 38d07ee8cf0..afbbe92e3f8 100644
--- a/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild
+++ b/media-sound/cdparanoia/cdparanoia-3.10.2-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -27,6 +27,8 @@ src_prepare() {
# Patches from previus patchset + Fedora + Debian
eapply "${WORKDIR}"/patches/*.patch
+ eapply "${FILESDIR}"/${PN}-missing-sys_types_h.patch #713740
+
mv configure.guess config.guess
mv configure.sub config.sub
diff --git a/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch b/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch
new file mode 100644
index 00000000000..010ed4a844c
--- /dev/null
+++ b/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch
@@ -0,0 +1,24 @@
+diff -Naur cdparanoia-III-10.2.orig/interface/utils.h cdparanoia-III-10.2/interface/utils.h
+--- cdparanoia-III-10.2.orig/interface/utils.h 2008-08-14 06:56:20.000000000 -0700
++++ cdparanoia-III-10.2/interface/utils.h 2016-05-30 14:35:57.071615252 -0700
+@@ -3,6 +3,8 @@
+ #include <errno.h>
+ #include <string.h>
+
++#include <sys/types.h>
++
+ /* I wonder how many alignment issues this is gonna trip in the
+ future... it shouldn't trip any... I guess we'll find out :) */
+
+diff -Naur cdparanoia-III-10.2.orig/utils.h cdparanoia-III-10.2/utils.h
+--- cdparanoia-III-10.2.orig/utils.h 2008-08-22 02:39:06.000000000 -0700
++++ cdparanoia-III-10.2/utils.h 2016-05-30 14:35:33.101409747 -0700
+@@ -4,6 +4,8 @@
+ #include <errno.h>
+ #include <string.h>
+
++#include <sys/types.h>
++
+ extern long buffering_write(int outf, char *buffer, long num);
+ extern int buffering_close(int fd);
+
reply other threads:[~2020-05-03 9:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1588499346.73581e1095aa6df83f46de376faeb962c08254ba.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox