Hello community, here is the log from the commit of package xf86-input-vmmouse for openSUSE:Factory checked in at 2014-10-15 16:19:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xf86-input-vmmouse (Old) and /work/SRC/openSUSE:Factory/.xf86-input-vmmouse.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-input-vmmouse" Changes: -------- --- /work/SRC/openSUSE:Factory/xf86-input-vmmouse/xf86-input-vmmouse.changes 2014-06-10 14:37:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-input-vmmouse.new/xf86-input-vmmouse.changes 2014-10-15 16:19:38.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Oct 6 10:44:17 UTC 2014 - sndir...@suse.com + +- u_vmmouse_client.h-Include-xorg-server.h-before-xf86_O.patch + * include xorg-server.h before xf86_OSproc.h in order to fix + build with latest glibc + +------------------------------------------------------------------- New: ---- u_vmmouse_client.h-Include-xorg-server.h-before-xf86_O.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xf86-input-vmmouse.spec ++++++ --- /var/tmp/diff_new_pack.5ehgBA/_old 2014-10-15 16:19:40.000000000 +0200 +++ /var/tmp/diff_new_pack.5ehgBA/_new 2014-10-15 16:19:40.000000000 +0200 @@ -33,6 +33,7 @@ Patch1: u_Revert-Remove-call-to-iopl-.-It-s-not-portable-and-i.patch Patch2: u_Don-t-access-hardware-register-while-switched-away.patch Patch3: U_Free-the-vmmouse-data-on-UnInit.patch +Patch4: u_vmmouse_client.h-Include-xorg-server.h-before-xf86_O.patch BuildRequires: pkg-config # For directory ownership BuildRequires: udev @@ -59,6 +60,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build %configure --with-xorg-conf-dir=/etc/X11/xorg.conf.d --with-udev-rules-dir=%{_udevrulesdir} ++++++ u_vmmouse_client.h-Include-xorg-server.h-before-xf86_O.patch ++++++ >From bf9d1dabd3d401d48f2d5cedee49feb31717987e Mon Sep 17 00:00:00 2001 From: Stefan Dirsch <sndir...@suse.de> Date: Mon, 6 Oct 2014 12:37:16 +0200 Subject: [PATCH] vmmouse_client.h: Include xorg-server.h before xf86_OSproc.h xf86_OSproc.h cannot be included without first including xorg-server.h. Without this the build fails on systems with the latest glibc, throwing this error: In file included from /usr/include/string.h:634:0, from /usr/include/xorg/os.h:53, from /usr/include/xorg/misc.h:115, from /usr/include/xorg/window.h:50, from /usr/include/xorg/globals.h:7, from /usr/include/xorg/opaque.h:34, from /usr/include/xorg/xf86_OSproc.h:127, from vmmouse_client.h:42, from vmmouse_client.c:38: /usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' strndup(const char *str, size_t n); This is caused by HAVE_STRNDUP not being set (it is set from xorg-server.h), causing os.h to redefine it. Signed-off-by: Stefan Dirsch <sndir...@suse.de> --- shared/vmmouse_client.h | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/vmmouse_client.h b/shared/vmmouse_client.h index b01bf08..1de51e5 100644 --- a/shared/vmmouse_client.h +++ b/shared/vmmouse_client.h @@ -39,6 +39,7 @@ #ifndef _VMMOUSE_CLIENT_H_ #define _VMMOUSE_CLIENT_H_ +#include "xorg-server.h" #include "xf86_OSproc.h" /* -- 1.8.4.5 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org