tiff: fix wrong declaration of ftell() compat macro 2714/head
authorJo-Philipp Wich <jo@mein.io>
Thu, 19 May 2016 12:29:57 +0000 (14:29 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 19 May 2016 12:29:57 +0000 (14:29 +0200)
commitae2c7c824f6fcd6fd8f7f7be0b072e6672a151a5
treeedbea11a8c1eeab572f0cb626a0ca8f0b6af2f49
parente0eef2e40504a4c499419b741f11fea61b7e5193
tiff: fix wrong declaration of ftell() compat macro

The libtiff library declares an `ftell()` compat macro redirecting calls
to `ftello()` if such an implementation exists. The compat macro however
is declared with a wrong number of arguments, leading to the following
error on our buildbots:

    In file included from .../usr/include/uClibc++/iostream:29:0,
                     from tif_stream.cxx:31:
    .../usr/include/uClibc++/fstream:422:22: error: macro "ftell" requires 3 arguments, but only 1 given
         retval = ftell(fp);

Add a patch to fix the macro definition in order to fix compilation of
the tiff package.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
libs/tiff/Makefile
libs/tiff/patches/005-fix-ftell-macro.patch [new file with mode: 0644]