liblzma: Add .gitattributes to ignore whitespace checks

Tell Git not to check whitespace in third-party code.
liblzma 5.0.5-gb69900ed (reduced)

Extract upstream liblzma using the following shell code.

url=http://git.tukaani.org/xz.git &&
v=5.0.5 &&
r=b69900ed &&
paths="
  COPYING
  src/common/common_w32res.rc
  src/common/sysdefs.h
  src/common/tuklib_integer.h
  src/liblzma
" &&
mkdir liblzma-$v-g$r-reduced &&
git clone $url liblzma-git &&
date=$(cd liblzma-git && git log -n 1 --format='%cd' $r) &&
(cd liblzma-git && git archive --format=tar $r -- $paths) |
(cd liblzma-$v-g$r-reduced && tar xv &&
 mv src/* . && rmdir src) &&
echo "g$r date: $date"
Merge branch 'liblzma-upstream' into add-liblzma
liblzma: Add README-CMake.txt

Describe how to update liblzma from upstream.
liblzma: Remove unused Makefile.* files

We will provide our own CMake-based build system.
liblzma: Add CMake build system

Modify sources just enough to build without the full xz common
directory.
FindQt4: Add nativewifi and qtga plugins

While at it, update QT_QTGUI_PLUGINS to use QT_IMAGEFORMATS_PLUGINS
instead of duplicating the list.
OS X: Allow deployment target with "/" sysroot (#15040)

Allow the combination

 -DCMAKE_OSX_DEPLOYMENT_TARGET="10.8" -DCMAKE_OSX_SYSROOT="/"

to work.  Treat the "/" sysroot as targeting the current OS X version.
Help: Clarify target_link_libraries treatment of flags (#15034)

Explain that link flags should not be used in transitive contexts.
Xcode: Fix static library creation for Xcode 6 (#15038)

Xcode 6 introduced an 'OTHER_LIBTOOLFLAGS' setting for the "Other
Librarian Flags" of a static library.  Now 'OTHER_LDFLAGS' are ignored.
Teach the Xcode generator to choose the correct name for the build
setting based on the type of target and the version of Xcode.

Inspired-by: Jamie Kirkpatrick <jkp@spotify.com>
Merge branch 'xcode-6-librarian-flags' into release
Merge branch 'FindQt4-more-plugins' into release
Help: Fix QtHelp commands on Windows

Explicitly invoke python script through the interpreter since
windows does not act on hashbangs.
Use the found qcollectiongenerator executable rather than what
happens to be in PATH.
MSVC: Use STREQUAL to check for WindowsCE

In the Platform/Windows-MSVC module it is not necessary to use MATCHES
because we are comparing against an exact string.
WindowsCE: Refactor setting of "WINCE"

Move it to the Platform/Windows module since it is independent of the
compiler used.  While at it, remove redundant "WIN32" setting from
Platform/Windows-MSVC since Plaform/Windows already sets its.
WindowsCE: Drop unused Platform/WindowsCE-MSVC module

This module was created to mirror Platform/Windows-MSVC.cmake, but this
is not necessary because nothing includes "Platform/<os>-<id>.cmake"
directly.  The Platform/Windows-MSVC module is only a helper for the
Platform/Windows-MSVC-<lang> modules.
cmGlobalVisualStudio10Generator: Fix typo KHLM => HKLM
VS: Save system name and version in global generator members

Add to cmGlobalVisualStudio10Generator members for SystemName and
SystemVersion and populate them in SetSystemName.
VS: Add a hook to adapt to SystemName and SystemVersion

Add a virtual cmGlobalVisualStudio10Generator::InitializeSystem method
called from SetSystemName once the SystemName and SystemVersion members
have been populated.  This will give VS version-specific generators a
chance to recognize and adapt to the target system.
liblzma: Port from C99 to C89/90

Remove use of designated initializers and declarations of variables
after statements.  Leave "//" comments as-is for now.