diff options
author | tnn <tnn@pkgsrc.org> | 2015-02-15 06:05:29 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-02-15 06:05:29 +0000 |
commit | a51234fa7ca05dd2de32707bde2cc654ba27ee54 (patch) | |
tree | e9f202e12824959b24224291910fee04d36287ed | |
parent | f72a95c1e6ba1312aa709361b2c3031ad410235e (diff) | |
download | pkgsrc-a51234fa7ca05dd2de32707bde2cc654ba27ee54.tar.gz |
Fix build on non-x86. Submitted upstream.
-rw-r--r-- | sysutils/libpciaccess/distinfo | 3 | ||||
-rw-r--r-- | sysutils/libpciaccess/patches/patch-configure | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/sysutils/libpciaccess/distinfo b/sysutils/libpciaccess/distinfo index 1910664cce6..b8e6fb1ac1f 100644 --- a/sysutils/libpciaccess/distinfo +++ b/sysutils/libpciaccess/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.27 2015/02/04 06:59:46 wiz Exp $ +$NetBSD: distinfo,v 1.28 2015/02/15 06:05:29 tnn Exp $ SHA1 (libpciaccess-0.13.3.tar.bz2) = 74e16b6d9a1d9d28279754010d2c4c4636b72e35 RMD160 (libpciaccess-0.13.3.tar.bz2) = 86a57f694e5f150211552846a1cbf22b035d98ee Size (libpciaccess-0.13.3.tar.bz2) = 368755 bytes +SHA1 (patch-configure) = 49c305a7d4df26fea4ce158d4748547dbec1d88d SHA1 (patch-src_common__interface.c) = cac11689864531fa4721e09374ead730bd1691a6 diff --git a/sysutils/libpciaccess/patches/patch-configure b/sysutils/libpciaccess/patches/patch-configure new file mode 100644 index 00000000000..8baefe7c469 --- /dev/null +++ b/sysutils/libpciaccess/patches/patch-configure @@ -0,0 +1,25 @@ +$NetBSD: patch-configure,v 1.4 2015/02/15 06:05:30 tnn Exp $ + +https://bugs.freedesktop.org/show_bug.cgi?id=89151 + +--- configure.orig 2015-02-03 23:59:22.000000000 +0000 ++++ configure +@@ -18084,12 +18084,16 @@ case $host_os in + *netbsd*) + case $host in + *i3-986*) +- PCIACCESS_LIBS="$PCIACCESS_LIBS -li386 -lpci" ++ PCIACCESS_LIBS="$PCIACCESS_LIBS -li386" + ;; + *x86_64*|*amd64*) +- PCIACCESS_LIBS="$PCIACCESS_LIBS -lx86_64 -lpci" ++ PCIACCESS_LIBS="$PCIACCESS_LIBS -lx86_64" ++ ;; ++ *alpha*) ++ PCIACCESS_LIBS="$PCIACCESS_LIBS -lalpha" + ;; + esac ++ PCIACCESS_LIBS="$PCIACCESS_LIBS -lpci" + netbsd=yes + ;; + *openbsd*) |