pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/libpciaccess Fix build on non-x86. Submitted ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/21b797bd1a55
branches: trunk
changeset: 646794:21b797bd1a55
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Feb 15 06:05:29 2015 +0000
description:
Fix build on non-x86. Submitted upstream.
diffstat:
sysutils/libpciaccess/distinfo | 3 ++-
sysutils/libpciaccess/patches/patch-configure | 25 +++++++++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletions(-)
diffs (41 lines):
diff -r e1f22f8835a7 -r 21b797bd1a55 sysutils/libpciaccess/distinfo
--- a/sysutils/libpciaccess/distinfo Sun Feb 15 02:21:20 2015 +0000
+++ b/sysutils/libpciaccess/distinfo Sun Feb 15 06:05:29 2015 +0000
@@ -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 -r e1f22f8835a7 -r 21b797bd1a55 sysutils/libpciaccess/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libpciaccess/patches/patch-configure Sun Feb 15 06:05:29 2015 +0000
@@ -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*)
Home |
Main Index |
Thread Index |
Old Index