Hello community,

here is the log from the commit of package xf86-video-intel for 
openSUSE:Factory checked in at 2016-05-04 08:17:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xf86-video-intel (Old)
 and      /work/SRC/openSUSE:Factory/.xf86-video-intel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xf86-video-intel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xf86-video-intel/xf86-video-intel.changes        
2016-04-05 10:42:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xf86-video-intel.new/xf86-video-intel.changes   
2016-05-04 08:17:35.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Apr 28 09:11:11 UTC 2016 - [email protected]
+
+- replaced patches 
+  * u_sna-fix-missing-includes-for-fstat.patch
+  * u_uxa-fix-missing-includes-for-fstat.patch
+  with upstream ones:
+  * U_sna-udev-integration-depends-on-fstat-and-sys-stat.h.patch
+  * U_uxa-udev-integration-depends-on-fstat-and-sys-stat.h.patch
+
+-------------------------------------------------------------------

Old:
----
  u_sna-fix-missing-includes-for-fstat.patch
  u_uxa-fix-missing-includes-for-fstat.patch

New:
----
  U_sna-udev-integration-depends-on-fstat-and-sys-stat.h.patch
  U_uxa-udev-integration-depends-on-fstat-and-sys-stat.h.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xf86-video-intel.spec ++++++
--- /var/tmp/diff_new_pack.F3DclO/_old  2016-05-04 08:17:36.000000000 +0200
+++ /var/tmp/diff_new_pack.F3DclO/_new  2016-05-04 08:17:36.000000000 +0200
@@ -33,8 +33,8 @@
 Source0:        %{name}-%{version}.tar.bz2
 Source99:       baselibs.conf
 Patch0:         U_sna-Protect-against-ABI-breakage-in-recent-versions-.patch
-Patch1:         u_sna-fix-missing-includes-for-fstat.patch
-Patch2:         u_uxa-fix-missing-includes-for-fstat.patch
+Patch1:         U_sna-udev-integration-depends-on-fstat-and-sys-stat.h.patch
+Patch2:         U_uxa-udev-integration-depends-on-fstat-and-sys-stat.h.patch
 Patch10:        
U_uxa_fix_the_call_to_PixmapSyncDirtyHelper_broken_by_xservers_90db5ed.patch
 Patch11:        U_gen8-Fix-the-YUV-RGB-shader.patch
 Patch12:        
U_tools-intel-virtual-output-Check-for-DRI3-more-carefully.patch

++++++ U_sna-udev-integration-depends-on-fstat-and-sys-stat.h.patch ++++++
>From 12af8a575d1518d40416f83195049157c3a062a5 Mon Sep 17 00:00:00 2001
From: Chris Wilson <[email protected]>
Date: Tue, 24 Feb 2015 15:25:40 +0000
Subject: [PATCH] sna: udev integration depends on fstat and sys/stat.h

src/sna/sna_driver.c: In function 'sna_handle_uevents':
src/sna/sna_driver.c:759:2: error: implicit declaration of function 'fstat' 
[-Werror=implicit-function-declaration]

Also take the opportunity to include udev support in the configure
summary.

Signed-off-by: Chris Wilson <[email protected]>
---
 configure.ac         | 5 +++++
 src/sna/sna_driver.c | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/configure.ac b/configure.ac
index 7476e2b..de3a4b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -197,11 +197,15 @@ AC_ARG_ENABLE(udev,
 
 if test "x$UDEV" != "xno"; then
        PKG_CHECK_MODULES(UDEV, [libudev], [udev="yes"], [udev="no"])
+       AC_CHECK_HEADERS([sys/stat.h], [], [udev="no"])
        if test "x$UDEV" = "xyes" -a "x$udev" != "xyes"; then
                AC_MSG_ERROR([udev support requested but not found (libudev)])
        fi
        if test "x$udev" = "xyes"; then
                AC_DEFINE(HAVE_UDEV,1,[Enable udev-based monitor hotplug 
detection])
+               udev_msg=" yes"
+       else
+               udev_msg=" no"
        fi
 fi
 
@@ -911,6 +915,7 @@ echo "  Support for Kernel Mode Setting? $KMS"
 echo "  Support for legacy User Mode Setting (for i810)? $UMS"
 echo "  Support for Direct Rendering Infrastructure:$dri_msg"
 echo "  Support for Xv motion compensation (XvMC and libXvMC):$xvmc_msg"
+echo "  Support for display hotplug notifications (udev):$udev_msg"
 echo "  Build additional tools and utilities?$tools_msg"
 if test -n "$xp_msg"; then
 echo "  Experimental support:$xp_msg"
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 8c0d0b5..bc20ef0 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -740,6 +740,8 @@ sna_wakeup_handler(WAKEUPHANDLER_ARGS_DECL)
 }
 
 #if HAVE_UDEV
+#include <sys/stat.h>
+
 static void
 sna_handle_uevents(int fd, void *closure)
 {
-- 
2.6.2

++++++ U_uxa-udev-integration-depends-on-fstat-and-sys-stat.h.patch ++++++
>From 369ceec0e4910ba2c37736a59c55c0d6c26433bf Mon Sep 17 00:00:00 2001
From: Chris Wilson <[email protected]>
Date: Tue, 24 Feb 2015 15:25:40 +0000
Subject: [PATCH] uxa: udev integration depends on fstat and sys/stat.h

src/uxa/intel_driver.c: In function 'I830HandleUEvents':
src/uxa/intel_driver.c:738:14: error: storage size of 's' isn't known
src/uxa/intel_driver.c:746:2: error: implicit declaration of function 'fstat' 
[-Werror=implicit-function-declaration]

Signed-off-by: Chris Wilson <[email protected]>
---
 src/uxa/intel_driver.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c
index c554124..6e64b8c 100644
--- a/src/uxa/intel_driver.c
+++ b/src/uxa/intel_driver.c
@@ -728,6 +728,8 @@ intel_flush_callback(CallbackListPtr *list,
 }
 
 #if HAVE_UDEV
+#include <sys/stat.h>
+
 static void
 I830HandleUEvents(int fd, void *closure)
 {
-- 
2.6.2


Reply via email to