public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:musl commit in: x11-libs/libpciaccess/files/, x11-libs/libpciaccess/
Date: Sat,  1 Mar 2014 19:59:55 +0000 (UTC)	[thread overview]
Message-ID: <1393704087.895335d15523f72a1426d580314b3a74cffc219f.blueness@gentoo> (raw)

commit:     895335d15523f72a1426d580314b3a74cffc219f
Author:     Felix Janda <felix.janda <AT> posteo <DOT> de>
AuthorDate: Sat Mar  1 13:25:06 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Mar  1 20:01:27 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=895335d1

x11-libs/libpciaccess: Fix build on arm because of empty sys/io.h

---
 x11-libs/libpciaccess/files/libpciaccess-0.13.2-arm.patch | 11 +++++++++++
 x11-libs/libpciaccess/libpciaccess-0.13.2-r99.ebuild      |  1 +
 2 files changed, 12 insertions(+)

diff --git a/x11-libs/libpciaccess/files/libpciaccess-0.13.2-arm.patch b/x11-libs/libpciaccess/files/libpciaccess-0.13.2-arm.patch
new file mode 100644
index 0000000..263dc01
--- /dev/null
+++ b/x11-libs/libpciaccess/files/libpciaccess-0.13.2-arm.patch
@@ -0,0 +1,11 @@
+--- a/libpciaccess-0.13.2/src/linux_sysfs.c
++++ b/libpciaccess-0.13.2/src/linux_sysfs.c
+@@ -45,7 +45,7 @@
+ #include <dirent.h>
+ #include <errno.h>
+ 
+-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
++#if defined(__i386__) || defined(__x86_64__)
+ #include <sys/io.h>
+ #else
+ #define inb(x) -1

diff --git a/x11-libs/libpciaccess/libpciaccess-0.13.2-r99.ebuild b/x11-libs/libpciaccess/libpciaccess-0.13.2-r99.ebuild
index 5df130c..0a5d1e1 100644
--- a/x11-libs/libpciaccess/libpciaccess-0.13.2-r99.ebuild
+++ b/x11-libs/libpciaccess/libpciaccess-0.13.2-r99.ebuild
@@ -18,6 +18,7 @@ RDEPEND="${DEPEND}
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-0.13.2-limits.patch
+	"${FILESDIR}"/${PN}-0.13.2-arm.patch
 )
 
 pkg_setup() {


             reply	other threads:[~2014-03-01 20:00 UTC|newest]

Thread overview: 2+ 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 --
2014-02-14 21:51 [gentoo-commits] proj/hardened-dev:musl commit in: x11-libs/libpciaccess/files/, x11-libs/libpciaccess/ 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=1393704087.895335d15523f72a1426d580314b3a74cffc219f.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