Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-libpciaccess: Commit

external/libpciaccess


Commit MetaInfo

Révisiond0c53bdc0b35a5416fc30a610b7401978871a5f1 (tree)
l'heure2015-02-17 07:56:23
AuteurTobias Nygren <tnn@NetB...>
CommiterThomas Klausner

Message de Log

Bug 89151: Fix build on NetBSD/alpha and NetBSD/sparc64.

This patch is required for building on NetBSD/alpha (needs platform
specific -lalpha) and NetBSD/sparc64 (no platform specific library,
just -lpci). The patch also generalizes to support all NetBSD
platforms with pci bus.

https://bugs.freedesktop.org/show_bug.cgi?id=89151

Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>

Change Summary

Modification

--- a/configure.ac
+++ b/configure.ac
@@ -77,12 +77,16 @@ case $host_os in
7777 *netbsd*)
7878 case $host in
7979 *i[3-9]86*)
80- PCIACCESS_LIBS="$PCIACCESS_LIBS -li386 -lpci"
80+ PCIACCESS_LIBS="$PCIACCESS_LIBS -li386"
8181 ;;
8282 *x86_64*|*amd64*)
83- PCIACCESS_LIBS="$PCIACCESS_LIBS -lx86_64 -lpci"
83+ PCIACCESS_LIBS="$PCIACCESS_LIBS -lx86_64"
84+ ;;
85+ *alpha*)
86+ PCIACCESS_LIBS="$PCIACCESS_LIBS -lalpha"
8487 ;;
8588 esac
89+ PCIACCESS_LIBS="$PCIACCESS_LIBS -lpci"
8690 netbsd=yes
8791 ;;
8892 *openbsd*)
Afficher sur ancien navigateur de dépôt.