Bug#822210: sdl2-config.cmake: extra leading / trailing whitespace
Jason Pleau
jason at jpleau.ca
Sun Apr 24 17:22:21 UTC 2016
Hi Gianfranco,
On Fri, 22 Apr 2016 14:23:53 +0200 Gianfranco Costamagna
<locutusofborg at debian.org> wrote:
> Hi,
> > set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} -lSDL2 ")
>
> I know where that space comes from:
>
> quoting configure.in
>
> SDL_LIBS="-lSDL2 $BASE_LDFLAGS"
>
>
> changing to
> SDL_LIBS="-lSDL2$BASE_LDFLAGS"
>
> fixes the issue, because in our case BASE_LDFLAGS is undefined.
>
> I'm not sure why the cmake build is not even creating it, and I'm not sure how
> to best fix the issue.
>
> I think a patch would be welcome, so the maintainers can apply it if needed :)
I attached a patch, would something like this be an acceptable solution
? If yes I think we should forward upstream
>
> thanks for the bug report,
>
> Gianfranco
>
--
Jason Pleau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-patch-to-remove-trailing-whitespace-in-sdl2-config.c.patch
Type: text/x-patch
Size: 2614 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20160424/d14a7458/attachment.bin>
More information about the Pkg-sdl-maintainers
mailing list