pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/libpciaccess Fix configure to compile on i386.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2fda16088702
branches: trunk
changeset: 648879:2fda16088702
user: gdt <gdt%pkgsrc.org@localhost>
date: Sat Mar 21 22:35:45 2015 +0000
description:
Fix configure to compile on i386.
We are carrying a patch for configure to include -li386 on i386/i486,
but the upstream script is missing the [] intended to match multiple
subfamilies, and hence does not match. This commit just adds in the
missing [], enabling compilation to succeed on i386, and not changing
anything on !i386.
diffstat:
sysutils/libpciaccess/distinfo | 4 ++--
sysutils/libpciaccess/patches/patch-configure | 8 +++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 7c0467daa85d -r 2fda16088702 sysutils/libpciaccess/distinfo
--- a/sysutils/libpciaccess/distinfo Sat Mar 21 21:51:20 2015 +0000
+++ b/sysutils/libpciaccess/distinfo Sat Mar 21 22:35:45 2015 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.28 2015/02/15 06:05:29 tnn Exp $
+$NetBSD: distinfo,v 1.29 2015/03/21 22:35:45 gdt 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-configure) = 19d73a8f36973921801d0bc870664c05a25eedd3
SHA1 (patch-src_common__interface.c) = cac11689864531fa4721e09374ead730bd1691a6
diff -r 7c0467daa85d -r 2fda16088702 sysutils/libpciaccess/patches/patch-configure
--- a/sysutils/libpciaccess/patches/patch-configure Sat Mar 21 21:51:20 2015 +0000
+++ b/sysutils/libpciaccess/patches/patch-configure Sat Mar 21 22:35:45 2015 +0000
@@ -1,14 +1,16 @@
-$NetBSD: patch-configure,v 1.4 2015/02/15 06:05:30 tnn Exp $
+$NetBSD: patch-configure,v 1.5 2015/03/21 22:35:46 gdt 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
+@@ -18083,13 +18083,17 @@ case $host_os in
+ ;;
*netbsd*)
case $host in
- *i3-986*)
+- *i3-986*)
- PCIACCESS_LIBS="$PCIACCESS_LIBS -li386 -lpci"
++ *i[3-9]86*)
+ PCIACCESS_LIBS="$PCIACCESS_LIBS -li386"
;;
*x86_64*|*amd64*)
Home |
Main Index |
Thread Index |
Old Index