media-libs/libsdl2: Fix to CMake building errors
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>
Sat, 21 Apr 2018 09:04:45 +0000 (12:04 +0300)
committerJames Le Cuirot <chewi@gentoo.org>
Mon, 7 May 2018 21:05:46 +0000 (22:05 +0100)
commite993186d745cece33c2085c215cdeb17c30b5696
tree2069ffc98383ab1392ec93a5287587681a0fc591
parent42938eb5ccb07d39b4dcce0b6e04e30899e9925c
media-libs/libsdl2: Fix to CMake building errors

Generated sdl2.pc contains trailing spaces which considered as error in
CMake policy CMP0004. Added patch that fixes that.

Upstream bug: https://bugzilla.libsdl.org/show_bug.cgi?id=4144
Bug: https://bugs.gentoo.org/646364
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/8098
media-libs/libsdl2/files/libsdl2-2.0.8-rework-variables.patch [new file with mode: 0644]
media-libs/libsdl2/libsdl2-2.0.8-r2.ebuild [new file with mode: 0644]