* [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-openchrome/files: xf86-video-openchrome-0.3.3-glibc-2.20.patch
@ 2015-01-15 13:19 Pacho Ramos (pacho)
0 siblings, 0 replies; only message in thread
From: Pacho Ramos (pacho) @ 2015-01-15 13:19 UTC (permalink / raw
To: gentoo-commits
pacho 15/01/15 13:19:13
Added: xf86-video-openchrome-0.3.3-glibc-2.20.patch
Log:
Fix building with glibc-2.20 (#526728)
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Revision Changes Path
1.1 x11-drivers/xf86-video-openchrome/files/xf86-video-openchrome-0.3.3-glibc-2.20.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-openchrome/files/xf86-video-openchrome-0.3.3-glibc-2.20.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-openchrome/files/xf86-video-openchrome-0.3.3-glibc-2.20.patch?rev=1.1&content-type=text/plain
Index: xf86-video-openchrome-0.3.3-glibc-2.20.patch
===================================================================
From 879f098cf8b8dc134569b9943f9665bfae17467e Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@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 <sndirsch@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-01-15 13:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15 13:19 [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-openchrome/files: xf86-video-openchrome-0.3.3-glibc-2.20.patch Pacho Ramos (pacho)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox