[Nouveau] PATCH: Sense if git should be used (for tarball) and if typeof needs, to be __typeof__

Richard PALO richard at netbsd.org
Thu Nov 19 10:38:52 PST 2015


I'd like to submit the attached patch to configure.ac fixing two issues:
1. Packaging systems such as pkgsrc use source tarballs not git, so configure
   could try to see if it's really in a git repository else use ChangeLog
   to determine the driver date to use.  
   NB 'git log' should probably already be 'git log -1'

2. When using strict ISO C compilers, such as if using -std=c99 instead of 
   for example -std=gnu99, typeof is not a valid keyword and __typeof__ should
   be used.  Use AC_C_TYPEOF to automatically define a macro if necessary.

cheers
-- 
Richard PALO

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Sense-if-git-should-be-used-for-tarball-and-if-typeo.patch
Type: text/x-patch
Size: 1383 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20151119/27056c6f/attachment.bin>


More information about the Nouveau mailing list