ChangeLog | 88 ++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 10 +++-- debian/changelog | 6 +++ debian/rules | 5 -- src/common_init.c | 4 +- src/common_vgaarb.c | 5 ++ src/freebsd_pci.c | 5 ++ src/linux_sysfs.c | 6 ++- src/netbsd_pci.c | 8 ++-- src/pciaccess_private.h | 2 - 10 files changed, 122 insertions(+), 17 deletions(-)
New commits: commit 5a5aa6fa306e48093f74debd620b6b47ffab99cb Author: Julien Cristau <jcris...@debian.org> Date: Sat Aug 1 10:43:11 2015 +0200 Upload to unstable diff --git a/debian/changelog b/debian/changelog index 32c80ae..34028dc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -libpciaccess (0.13.4-1) UNRELEASED; urgency=medium +libpciaccess (0.13.4-1) unstable; urgency=medium * New upstream release. - -- Julien Cristau <jcris...@debian.org> Sat, 01 Aug 2015 10:18:57 +0200 + -- Julien Cristau <jcris...@debian.org> Sat, 01 Aug 2015 10:43:08 +0200 libpciaccess (0.13.3-1) unstable; urgency=medium commit 7a6f29c07322b94fdd821e10a76f4c07f322922e Author: Julien Cristau <jcris...@debian.org> Date: Sat Aug 1 10:42:24 2015 +0200 Remove CFLAGS setting from rules, unnecessary with compat 9 diff --git a/debian/rules b/debian/rules index 0366f5f..eaa45b0 100755 --- a/debian/rules +++ b/debian/rules @@ -2,8 +2,6 @@ PACKAGE = libpciaccess0 -CFLAGS = $(shell dpkg-buildflags --get CFLAGS) - %: dh $@ --with autoreconf,quilt --builddirectory=build/ --parallel @@ -11,8 +9,7 @@ override_dh_auto_configure: dh_auto_configure -- \ --disable-silent-rules \ --with-pciids-path=\$${prefix}/share/misc \ - --with-zlib \ - CFLAGS="$(CFLAGS)" + --with-zlib override_dh_install: find debian/tmp -type f -name *.la -delete commit 2e81c205e3fe2a734cd11af022dcbd9fec283a60 Author: Julien Cristau <jcris...@debian.org> Date: Sat Aug 1 10:21:03 2015 +0200 Bump changelogs diff --git a/ChangeLog b/ChangeLog index 10f1632..d068ea6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,91 @@ +commit bbd1acdd1d25b9a68f4b7913a4094af20d7cf78f +Author: Alan Coopersmith <alan.coopersm...@oracle.com> +Date: Thu Apr 30 21:44:41 2015 -0700 + + libpciaccess 0.13.4 + + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit d0c53bdc0b35a5416fc30a610b7401978871a5f1 +Author: Tobias Nygren <t...@netbsd.org> +Date: Mon Feb 16 10:22:35 2015 +0100 + + 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.coopersm...@oracle.com> + Signed-off-by: Thomas Klausner <w...@netbsd.org> + +commit 1972e9223764618aedc5adc32b64b2c043d1b826 +Author: Eero Tamminen <eero.t.tammi...@intel.com> +Date: Tue Feb 10 14:55:22 2015 +0000 + + Check for __linux__ instead of linux during compilation + + "__linux__" is the POSIX define for checking for Linux OS, "linux" is + deprecated and apparently not supported by Android. + + Besides correcting the define, patch adds error for the case OS isn't + recognized. + + Signed-off-by: Eero Tamminen <eero.t.tammi...@intel.com> + + v2: Drop double negative from commit msg. Spotted by Mateusz Jończyk. + [Emil Velikov: Remove irrelevant Android details from commit msg.] + Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> + Reviewed-by: Jasper St. Pierre <jstpie...@mecheye.net> + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit ed340abc37b07cb9fc788ae77d837088c54cd16a +Author: Emil Velikov <emil.l.veli...@gmail.com> +Date: Tue Feb 10 14:55:21 2015 +0000 + + Include config.h before any other headers. + + The former has a series of defines which in some cases are crusial to be + set before including any system headers. + + Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit 6329ef9e5d6f36ca3f7258279f6640037b71926a +Author: Chih-Wei Huang <cwhu...@linux.org.tw> +Date: Tue Feb 10 14:55:20 2015 +0000 + + Add missing guards around config.h inclusion + + In some cases the header may not exist, leading to compilation issues. + Add the ifdef HAVE_CONFIG_H, as it is those in other parts of the + project. + + [Emil Velikov: Split out from a larger commit, rework commit message] + Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + +commit e42ee2a075a8b7c62b190815be42ea26c9d8c03f +Author: Emil Velikov <emil.l.veli...@gmail.com> +Date: Tue Feb 10 14:55:19 2015 +0000 + + Include the POSIX fcntl.h instead of sys/fcntl.h + + The former is part of the POSIX standard, and (unlike the latter) is + more widely available. + + v2: Drop gracious d in header name. Spotted by Alan. + + Cc: Adam Jackson <a...@redhat.com> + Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> + Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> + Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> + commit f99c2e4199ce37f6f94428df504427f67c3ec543 Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Tue Feb 3 15:59:10 2015 -0800 diff --git a/debian/changelog b/debian/changelog index 400754e..32c80ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libpciaccess (0.13.4-1) UNRELEASED; urgency=medium + + * New upstream release. + + -- Julien Cristau <jcris...@debian.org> Sat, 01 Aug 2015 10:18:57 +0200 + libpciaccess (0.13.3-1) unstable; urgency=medium * Let uscan verify tarball signatures. commit bbd1acdd1d25b9a68f4b7913a4094af20d7cf78f Author: Alan Coopersmith <alan.coopersm...@oracle.com> Date: Thu Apr 30 21:44:41 2015 -0700 libpciaccess 0.13.4 Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/configure.ac b/configure.ac index f94fa15..e67e9e1 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([libpciaccess],[0.13.3], +AC_INIT([libpciaccess],[0.13.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=libpciaccess],[libpciaccess]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([config.h]) commit d0c53bdc0b35a5416fc30a610b7401978871a5f1 Author: Tobias Nygren <t...@netbsd.org> Date: Mon Feb 16 10:22:35 2015 +0100 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.coopersm...@oracle.com> Signed-off-by: Thomas Klausner <w...@netbsd.org> diff --git a/configure.ac b/configure.ac index f11204f..f94fa15 100644 --- a/configure.ac +++ b/configure.ac @@ -77,12 +77,16 @@ case $host_os in *netbsd*) case $host in *i[3-9]86*) - 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*) commit 1972e9223764618aedc5adc32b64b2c043d1b826 Author: Eero Tamminen <eero.t.tammi...@intel.com> Date: Tue Feb 10 14:55:22 2015 +0000 Check for __linux__ instead of linux during compilation "__linux__" is the POSIX define for checking for Linux OS, "linux" is deprecated and apparently not supported by Android. Besides correcting the define, patch adds error for the case OS isn't recognized. Signed-off-by: Eero Tamminen <eero.t.tammi...@intel.com> v2: Drop double negative from commit msg. Spotted by Mateusz Jończyk. [Emil Velikov: Remove irrelevant Android details from commit msg.] Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Jasper St. Pierre <jstpie...@mecheye.net> Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/src/common_init.c b/src/common_init.c index a127a8b..b1c0c3e 100644 --- a/src/common_init.c +++ b/src/common_init.c @@ -52,7 +52,7 @@ pci_system_init( void ) { int err = ENOSYS; -#ifdef linux +#ifdef __linux__ err = pci_system_linux_sysfs_create(); #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) err = pci_system_freebsd_create(); @@ -64,6 +64,8 @@ pci_system_init( void ) err = pci_system_solx_devfs_create(); #elif defined(__GNU__) || defined(__CYGWIN__) err = pci_system_x86_create(); +#else +# error "Unsupported OS" #endif return err; commit ed340abc37b07cb9fc788ae77d837088c54cd16a Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Tue Feb 10 14:55:21 2015 +0000 Include config.h before any other headers. The former has a series of defines which in some cases are crusial to be set before including any system headers. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/src/common_vgaarb.c b/src/common_vgaarb.c index b2e1d8a..7a7d204 100644 --- a/src/common_vgaarb.c +++ b/src/common_vgaarb.c @@ -25,6 +25,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <string.h> #include <unistd.h> @@ -33,10 +37,6 @@ #include <stdlib.h> #include <limits.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "pciaccess.h" #include "pciaccess_private.h" diff --git a/src/freebsd_pci.c b/src/freebsd_pci.c index a9304de..f9c1476 100644 --- a/src/freebsd_pci.c +++ b/src/freebsd_pci.c @@ -33,6 +33,10 @@ * \author Eric Anholt <e...@anholt.net> */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <stdio.h> #include <string.h> @@ -45,10 +49,6 @@ #include <sys/mman.h> #include <sys/memrange.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "pciaccess.h" #include "pciaccess_private.h" diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c index 08c9971..50d94cf 100644 --- a/src/linux_sysfs.c +++ b/src/linux_sysfs.c @@ -34,6 +34,10 @@ #define _GNU_SOURCE +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <string.h> #include <stdio.h> @@ -57,10 +61,6 @@ #define iopl(x) -1 #endif -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #ifdef HAVE_MTRR #include <asm/mtrr.h> #include <sys/ioctl.h> diff --git a/src/netbsd_pci.c b/src/netbsd_pci.c index 52591b0..f972f94 100644 --- a/src/netbsd_pci.c +++ b/src/netbsd_pci.c @@ -16,15 +16,15 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <sys/param.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/types.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #ifdef HAVE_MTRR #include <machine/sysarch.h> #include <machine/mtrr.h> commit 6329ef9e5d6f36ca3f7258279f6640037b71926a Author: Chih-Wei Huang <cwhu...@linux.org.tw> Date: Tue Feb 10 14:55:20 2015 +0000 Add missing guards around config.h inclusion In some cases the header may not exist, leading to compilation issues. Add the ifdef HAVE_CONFIG_H, as it is those in other parts of the project. [Emil Velikov: Split out from a larger commit, rework commit message] Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/src/common_vgaarb.c b/src/common_vgaarb.c index ab3c5e8..b2e1d8a 100644 --- a/src/common_vgaarb.c +++ b/src/common_vgaarb.c @@ -33,7 +33,10 @@ #include <stdlib.h> #include <limits.h> +#ifdef HAVE_CONFIG_H #include "config.h" +#endif + #include "pciaccess.h" #include "pciaccess_private.h" diff --git a/src/freebsd_pci.c b/src/freebsd_pci.c index 7f5f56b..a9304de 100644 --- a/src/freebsd_pci.c +++ b/src/freebsd_pci.c @@ -45,7 +45,10 @@ #include <sys/mman.h> #include <sys/memrange.h> +#ifdef HAVE_CONFIG_H #include "config.h" +#endif + #include "pciaccess.h" #include "pciaccess_private.h" diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c index 8fca65e..08c9971 100644 --- a/src/linux_sysfs.c +++ b/src/linux_sysfs.c @@ -57,7 +57,9 @@ #define iopl(x) -1 #endif +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #ifdef HAVE_MTRR #include <asm/mtrr.h> commit e42ee2a075a8b7c62b190815be42ea26c9d8c03f Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Tue Feb 10 14:55:19 2015 +0000 Include the POSIX fcntl.h instead of sys/fcntl.h The former is part of the POSIX standard, and (unlike the latter) is more widely available. v2: Drop gracious d in header name. Spotted by Alan. Cc: Adam Jackson <a...@redhat.com> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Alan Coopersmith <alan.coopersm...@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com> diff --git a/src/pciaccess_private.h b/src/pciaccess_private.h index 9f4e8f9..2f05b29 100644 --- a/src/pciaccess_private.h +++ b/src/pciaccess_private.h @@ -42,7 +42,7 @@ * know of any OS we support where this isn't available in a sufficiently * new version, so warn unconditionally. */ -#include <sys/fcntl.h> +#include <fcntl.h> #ifndef O_CLOEXEC #warning O_CLOEXEC not available, please upgrade. -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e1zlsud-0000m7...@moszumanska.debian.org