From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:musl commit in: media-libs/mesa/, media-libs/mesa/files/
Date: Sat, 1 Mar 2014 19:59:55 +0000 (UTC) [thread overview]
Message-ID: <1393704091.dcf578ba21ff83792171742c7e2430ba942f7dc1.blueness@gentoo> (raw)
commit: dcf578ba21ff83792171742c7e2430ba942f7dc1
Author: Felix Janda <felix.janda <AT> posteo <DOT> de>
AuthorDate: Sat Mar 1 16:31:37 2014 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Mar 1 20:01:31 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=dcf578ba
media-libs/mesa: musl has endian.h
---
media-libs/mesa/files/mesa-9.1.6-endian.patch | 11 +++++++++++
media-libs/mesa/mesa-9.1.6-r99.ebuild | 1 +
2 files changed, 12 insertions(+)
diff --git a/media-libs/mesa/files/mesa-9.1.6-endian.patch b/media-libs/mesa/files/mesa-9.1.6-endian.patch
new file mode 100644
index 0000000..98914b0
--- /dev/null
+++ b/media-libs/mesa/files/mesa-9.1.6-endian.patch
@@ -0,0 +1,11 @@
+--- a/Mesa-9.1.6/src/gallium/include/pipe/p_config.h
++++ b/Mesa-9.1.6/src/gallium/include/pipe/p_config.h
+@@ -115,7 +115,7 @@
+ * Endian detection.
+ */
+
+-#ifdef __GLIBC__
++#if 1
+ #include <endian.h>
+
+ #if __BYTE_ORDER == __LITTLE_ENDIAN
diff --git a/media-libs/mesa/mesa-9.1.6-r99.ebuild b/media-libs/mesa/mesa-9.1.6-r99.ebuild
index ca54f30..ffcb32f 100644
--- a/media-libs/mesa/mesa-9.1.6-r99.ebuild
+++ b/media-libs/mesa/mesa-9.1.6-r99.ebuild
@@ -169,6 +169,7 @@ src_prepare() {
# Make it compile with musl
epatch "${FILESDIR}"/${PN}-9.1.6-fpclassify.patch
+ epatch "${FILESDIR}"/${PN}-9.1.6-endian.patch
# fix for hardened pax_kernel, bug 240956
[[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch
next reply other threads:[~2014-03-01 19:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-01 19:59 Anthony G. Basile [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-05-22 12:51 [gentoo-commits] proj/hardened-dev:musl commit in: media-libs/mesa/, media-libs/mesa/files/ Anthony G. Basile
2015-02-23 12:54 Anthony G. Basile
2014-04-08 19:35 Anthony G. Basile
2014-02-21 21:04 Anthony G. Basile
2014-02-21 21:01 Anthony G. Basile
2014-02-14 21:51 Anthony G. Basile
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=1393704091.dcf578ba21ff83792171742c7e2430ba942f7dc1.blueness@gentoo \
--to=blueness@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