Hello community, here is the log from the commit of package xf86-video-openchrome for openSUSE:Factory checked in at 2014-11-06 16:50:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xf86-video-openchrome (Old) and /work/SRC/openSUSE:Factory/.xf86-video-openchrome.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xf86-video-openchrome" Changes: -------- --- /work/SRC/openSUSE:Factory/xf86-video-openchrome/xf86-video-openchrome.changes 2013-06-05 13:24:28.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xf86-video-openchrome.new/xf86-video-openchrome.changes 2014-11-06 16:51:31.000000000 +0100 @@ -1,0 +2,11 @@ +Wed Nov 5 10:35:23 UTC 2014 - sndir...@suse.com + +- u_xf86.h-cannot-be-included-without-first-including-xo.patch + * fixes build with latest glibc + +------------------------------------------------------------------- +Mon Oct 27 09:10:25 UTC 2014 - sndir...@suse.com + +- fixed buildrequires (added pkgconfig(gl)) + +------------------------------------------------------------------- New: ---- u_xf86.h-cannot-be-included-without-first-including-xo.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xf86-video-openchrome.spec ++++++ --- /var/tmp/diff_new_pack.HrHUQZ/_old 2014-11-06 16:51:32.000000000 +0100 +++ /var/tmp/diff_new_pack.HrHUQZ/_new 2014-11-06 16:51:32.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package xf86-video-openchrome # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,9 @@ Url: http://xorg.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2 Patch0: xf86-video-openchrome-abuild.patch +Patch1: u_xf86.h-cannot-be-included-without-first-including-xo.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xorg-server) @@ -38,6 +40,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %configure ++++++ u_xf86.h-cannot-be-included-without-first-including-xo.patch ++++++ >From 879f098cf8b8dc134569b9943f9665bfae17467e Mon Sep 17 00:00:00 2001 From: Stefan Dirsch <sndir...@suse.de> Date: Wed, 5 Nov 2014 11:29:37 +0100 Subject: [PATCH] xf86.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/xf86str.h:37, from /usr/include/xorg/xf86.h:44, from via_3d.h:28, from via_3d.c:24: /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> --- src/via_3d.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/via_3d.h b/src/via_3d.h index c33228e..15be0be 100644 --- a/src/via_3d.h +++ b/src/via_3d.h @@ -24,6 +24,7 @@ #ifndef VIA_3D_H #define VIA_3D_H +#include "xorg-server.h" #include "xf86.h" #include "via_dmabuffer.h" -- 1.8.4.5 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org