[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#782272: FTBFS with libc6-dev >= 2.21: /usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' strndup(const char *str, size_t n);



clone 782272 -1
reassign -1 src:xserver-xorg-video-openchrome
found -1 1:0.3.3-1
thanks

Similar happens with openchrome too - hope you don't mind me cloning. :)

Patch attached.

-- 
Iain Lane                                  [ iain@orangesquash.org.uk ]
Debian Developer                                   [ laney@debian.org ]
Ubuntu Developer                                   [ laney@ubuntu.com ]
>From 319fcdad57ebf4f1ef828c3344058ff8f6197432 Mon Sep 17 00:00:00 2001
From: Xavier Bachelot <xavier@bachelot.org>
Date: Tue, 13 Jan 2015 18:34:53 +0100
Subject: [PATCH] Add missing header inclusion. Fixes
 https://bugs.freedesktop.org/show_bug.cgi?id=88334

---
 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"
 
-- 
2.1.4


Reply to: