Hello community,
here is the log from the commit of package libpciaccess for openSUSE:Factory checked in at 2015-05-06 07:47:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpciaccess (Old)
and /work/SRC/openSUSE:Factory/.libpciaccess.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libpciaccess"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libpciaccess/libpciaccess.changes 2015-02-12 10:20:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libpciaccess.new/libpciaccess.changes 2015-05-06 07:47:37.000000000 +0200
@@ -1,0 +2,10 @@
+Mon May 4 14:08:32 UTC 2015 - sndirsch@suse.com
+
+- Update to version 0.13.4
+ * Add missing guards around config.h inclusion
+ * Check for __linux__ instead of linux during compilation
+ * Include the POSIX fcntl.h instead of sys/fcntl.h
+ * Include config.h before any other headers.
+ * Bug 89151: Fix build on NetBSD/alpha and NetBSD/sparc64.
+
+-------------------------------------------------------------------
Old:
----
libpciaccess-0.13.3.tar.bz2
New:
----
libpciaccess-0.13.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libpciaccess.spec ++++++
--- /var/tmp/diff_new_pack.peMgtT/_old 2015-05-06 07:47:38.000000000 +0200
+++ /var/tmp/diff_new_pack.peMgtT/_new 2015-05-06 07:47:38.000000000 +0200
@@ -18,7 +18,7 @@
Name: libpciaccess
%define lname libpciaccess0
-Version: 0.13.3
+Version: 0.13.4
Release: 0
Summary: Generic PCI access library
License: MIT
++++++ libpciaccess-0.13.3.tar.bz2 -> libpciaccess-0.13.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpciaccess-0.13.3/ChangeLog new/libpciaccess-0.13.4/ChangeLog
--- old/libpciaccess-0.13.3/ChangeLog 2015-02-04 00:59:51.000000000 +0100
+++ new/libpciaccess-0.13.4/ChangeLog 2015-05-01 06:46:47.000000000 +0200
@@ -1,3 +1,91 @@
+commit bbd1acdd1d25b9a68f4b7913a4094af20d7cf78f
+Author: Alan Coopersmith
+Date: Thu Apr 30 21:44:41 2015 -0700
+
+ libpciaccess 0.13.4
+
+ Signed-off-by: Alan Coopersmith
+
+commit d0c53bdc0b35a5416fc30a610b7401978871a5f1
+Author: Tobias Nygren
+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
+ Signed-off-by: Thomas Klausner
+
+commit 1972e9223764618aedc5adc32b64b2c043d1b826
+Author: Eero Tamminen
+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
+
+ 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
+ Reviewed-by: Jasper St. Pierre
+ Signed-off-by: Alan Coopersmith
+
+commit ed340abc37b07cb9fc788ae77d837088c54cd16a
+Author: Emil Velikov
+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
+ Reviewed-by: Alan Coopersmith
+ Signed-off-by: Alan Coopersmith
+
+commit 6329ef9e5d6f36ca3f7258279f6640037b71926a
+Author: Chih-Wei Huang
+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
+ Reviewed-by: Alan Coopersmith
+ Signed-off-by: Alan Coopersmith
+
+commit e42ee2a075a8b7c62b190815be42ea26c9d8c03f
+Author: Emil Velikov
+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
+ Signed-off-by: Emil Velikov
+ Reviewed-by: Alan Coopersmith
+ Signed-off-by: Alan Coopersmith
+
commit f99c2e4199ce37f6f94428df504427f67c3ec543
Author: Alan Coopersmith
Date: Tue Feb 3 15:59:10 2015 -0800
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpciaccess-0.13.3/configure new/libpciaccess-0.13.4/configure
--- old/libpciaccess-0.13.3/configure 2015-02-04 00:59:22.000000000 +0100
+++ new/libpciaccess-0.13.4/configure 2015-05-01 06:44:56.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libpciaccess 0.13.3.
+# Generated by GNU Autoconf 2.69 for libpciaccess 0.13.4.
#
# Report bugs to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=libpciaccess.
#
@@ -591,8 +591,8 @@
# Identity of this package.
PACKAGE_NAME='libpciaccess'
PACKAGE_TARNAME='libpciaccess'
-PACKAGE_VERSION='0.13.3'
-PACKAGE_STRING='libpciaccess 0.13.3'
+PACKAGE_VERSION='0.13.4'
+PACKAGE_STRING='libpciaccess 0.13.4'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=libpciaccess'
PACKAGE_URL=''
@@ -1355,7 +1355,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures libpciaccess 0.13.3 to adapt to many kinds of systems.
+\`configure' configures libpciaccess 0.13.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1425,7 +1425,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libpciaccess 0.13.3:";;
+ short | recursive ) echo "Configuration of libpciaccess 0.13.4:";;
esac
cat <<\_ACEOF
@@ -1544,7 +1544,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libpciaccess configure 0.13.3
+libpciaccess configure 0.13.4
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2016,7 +2016,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libpciaccess $as_me 0.13.3, which was
+It was created by libpciaccess $as_me 0.13.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2884,7 +2884,7 @@
# Define the identity of the package.
PACKAGE='libpciaccess'
- VERSION='0.13.3'
+ VERSION='0.13.4'
cat >>confdefs.h <<_ACEOF
@@ -18084,12 +18084,16 @@
*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*)
@@ -19003,7 +19007,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libpciaccess $as_me 0.13.3, which was
+This file was extended by libpciaccess $as_me 0.13.4, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -19069,7 +19073,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libpciaccess config.status 0.13.3
+libpciaccess config.status 0.13.4
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpciaccess-0.13.3/configure.ac new/libpciaccess-0.13.4/configure.ac
--- old/libpciaccess-0.13.3/configure.ac 2015-02-04 00:59:14.000000000 +0100
+++ new/libpciaccess-0.13.4/configure.ac 2015-05-01 06:44:47.000000000 +0200
@@ -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])
@@ -77,12 +77,16 @@
*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*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpciaccess-0.13.3/src/common_init.c new/libpciaccess-0.13.4/src/common_init.c
--- old/libpciaccess-0.13.3/src/common_init.c 2015-02-04 00:59:14.000000000 +0100
+++ new/libpciaccess-0.13.4/src/common_init.c 2015-05-01 06:44:47.000000000 +0200
@@ -52,7 +52,7 @@
{
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 @@
err = pci_system_solx_devfs_create();
#elif defined(__GNU__) || defined(__CYGWIN__)
err = pci_system_x86_create();
+#else
+# error "Unsupported OS"
#endif
return err;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpciaccess-0.13.3/src/common_vgaarb.c new/libpciaccess-0.13.4/src/common_vgaarb.c
--- old/libpciaccess-0.13.3/src/common_vgaarb.c 2015-02-04 00:59:14.000000000 +0100
+++ new/libpciaccess-0.13.4/src/common_vgaarb.c 2015-05-01 06:44:47.000000000 +0200
@@ -25,6 +25,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include
#include
#include
@@ -33,7 +37,6 @@
#include
#include
-#include "config.h"
#include "pciaccess.h"
#include "pciaccess_private.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpciaccess-0.13.3/src/freebsd_pci.c new/libpciaccess-0.13.4/src/freebsd_pci.c
--- old/libpciaccess-0.13.3/src/freebsd_pci.c 2015-02-04 00:59:14.000000000 +0100
+++ new/libpciaccess-0.13.4/src/freebsd_pci.c 2015-05-01 06:44:47.000000000 +0200
@@ -33,6 +33,10 @@
* \author Eric Anholt
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include
#include
#include
@@ -45,7 +49,6 @@
#include
#include
-#include "config.h"
#include "pciaccess.h"
#include "pciaccess_private.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpciaccess-0.13.3/src/linux_sysfs.c new/libpciaccess-0.13.4/src/linux_sysfs.c
--- old/libpciaccess-0.13.3/src/linux_sysfs.c 2015-02-04 00:59:14.000000000 +0100
+++ new/libpciaccess-0.13.4/src/linux_sysfs.c 2015-05-01 06:44:47.000000000 +0200
@@ -34,6 +34,10 @@
#define _GNU_SOURCE
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include
#include
#include
@@ -57,8 +61,6 @@
#define iopl(x) -1
#endif
-#include "config.h"
-
#ifdef HAVE_MTRR
#include
#include
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpciaccess-0.13.3/src/netbsd_pci.c new/libpciaccess-0.13.4/src/netbsd_pci.c
--- old/libpciaccess-0.13.3/src/netbsd_pci.c 2015-02-04 00:59:14.000000000 +0100
+++ new/libpciaccess-0.13.4/src/netbsd_pci.c 2015-05-01 06:44:47.000000000 +0200
@@ -16,15 +16,15 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include
#include
#include
#include
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#ifdef HAVE_MTRR
#include
#include
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libpciaccess-0.13.3/src/pciaccess_private.h new/libpciaccess-0.13.4/src/pciaccess_private.h
--- old/libpciaccess-0.13.3/src/pciaccess_private.h 2015-02-04 00:59:14.000000000 +0100
+++ new/libpciaccess-0.13.4/src/pciaccess_private.h 2015-05-01 06:44:47.000000000 +0200
@@ -42,7 +42,7 @@
* know of any OS we support where this isn't available in a sufficiently
* new version, so warn unconditionally.
*/
-#include
+#include
#ifndef O_CLOEXEC
#warning O_CLOEXEC not available, please upgrade.