From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gavl/, media-libs/gavl/files/
Date: Sat, 10 Oct 2015 08:41:30 +0000 (UTC) [thread overview]
Message-ID: <1444427424.d7673d38a8d5e8cf7c66f2166506b055f3231ca5.mgorny@gentoo> (raw)
commit: d7673d38a8d5e8cf7c66f2166506b055f3231ca5
Author: Bertrand Jacquin <bertrand <AT> jacquin <DOT> bzh>
AuthorDate: Sat Jun 7 11:48:10 2014 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct 9 21:50:24 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7673d38
media-libs/gavl: Add patch for x32, bug #472288
Package-Manager: portage-2.2.20.1
media-libs/gavl/files/1.4.0-x32.diff | 29 +++++++++++++++++++++++++++++
media-libs/gavl/gavl-1.4.0-r1.ebuild | 2 ++
2 files changed, 31 insertions(+)
diff --git a/media-libs/gavl/files/1.4.0-x32.diff b/media-libs/gavl/files/1.4.0-x32.diff
new file mode 100644
index 0000000..4b510a5
--- /dev/null
+++ b/media-libs/gavl/files/1.4.0-x32.diff
@@ -0,0 +1,29 @@
+------------------------------------------------------------------------
+r4209 | gmerlin | 2014-06-02 16:38:33 +0200 (Mon, 02 Jun 2014) | 2 lines
+
+* Compilation fix
+
+
+Index: gavl/cputest.c
+===================================================================
+--- gavl/cputest.c (revision 4208)
++++ gavl/cputest.c (revision 4209)
+@@ -69,6 +69,8 @@
+ int rval = 0;
+ int eax, ebx, ecx, edx;
+ int max_std_level, max_ext_level, std_caps=0, ext_caps=0;
++
++#ifndef ARCH_X86_64
+ long a, c;
+
+ __asm__ __volatile__ (
+@@ -94,6 +96,7 @@
+
+ if (a == c)
+ return 0; /* CPUID not supported */
++#endif // !ARCH_X86_64
+
+ cpuid(0, max_std_level, ebx, ecx, edx);
+
+
+------------------------------------------------------------------------
diff --git a/media-libs/gavl/gavl-1.4.0-r1.ebuild b/media-libs/gavl/gavl-1.4.0-r1.ebuild
index a6674fa..ba89158 100644
--- a/media-libs/gavl/gavl-1.4.0-r1.ebuild
+++ b/media-libs/gavl/gavl-1.4.0-r1.ebuild
@@ -23,6 +23,8 @@ DEPEND="doc? ( app-doc/doxygen )
DOCS=( AUTHORS README TODO )
src_prepare() {
+ epatch "${FILESDIR}/${PV}-x32.diff"
+
# AC_CONFIG_HEADERS, bug #467736
sed -i \
-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
next reply other threads:[~2015-10-10 8:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-10 8:41 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-23 21:13 [gentoo-commits] repo/gentoo:master commit in: media-libs/gavl/, media-libs/gavl/files/ Andreas Sturmlechner
2022-06-20 23:15 Sam James
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=1444427424.d7673d38a8d5e8cf7c66f2166506b055f3231ca5.mgorny@gentoo \
--to=mgorny@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