[Bug 89762] New: xf86-video-intel-2.99.917 should check for <alloca.h> being needed
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 25 06:08:55 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89762
Bug ID: 89762
Summary: xf86-video-intel-2.99.917 should check for <alloca.h>
being needed
Product: xorg
Version: 7.7 (2012.06)
Hardware: Other
OS: Solaris
Status: NEW
Severity: normal
Priority: medium
Component: Driver/intel
Assignee: chris at chris-wilson.co.uk
Reporter: richard at netbsd.org
QA Contact: intel-gfx-bugs at lists.freedesktop.org
To get over errors compiling the latest intel driver on solaris with pkgsrc
I needed to do the following quick and dirty patch:
>--- src/sna/sna_display.c.orig 2014-12-20 13:45:31.000000000 +0000
>+++ src/sna/sna_display.c
>@@ -72,6 +72,9 @@
> #include <memcheck.h>
> #endif
>
>+#ifdef __sun
>+#include <alloca.h>
>+#endif
> /* Minor discrepancy between 32-bit/64-bit ABI in old kernels */
> union compat_mode_get_connector{
> struct drm_mode_get_connector conn;
perhaps adding a configure time check to allow
>#if HAVE_ALLOCA
>#include <alloca.h>
>#endif
would be preferable.
At the same time I notice an error in configure using `pwd` with arguments.
Some shells, such as pdksh, balk at that thus:
./configure[24230]: pwd: too many arguments
>xf86-video-intel 2.99.917 will be compiled with:
> Xorg Video ABI version: 12.1
> Acceleration backends: none *sna uxa
> Additional debugging support? none
> Support for Kernel Mode Setting? yes
> Support for legacy User Mode Setting (for i810)? yes
> Support for Direct Rendering Infrastructure: DRI1 DRI2
> Support for Xv motion compensation (XvMC and libXvMC): no
> Build additional tools and utilities? none
this is the ugly line:
>24230 test -e `pwd $0`/README && cat `pwd $0`/README
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150325/cc568d19/attachment.html>
More information about the intel-gfx-bugs
mailing list