[Tile-serving] [mod_tile] fixes for FreeBSD (see issue #114) (#116)
Benjamin Le Forestier
notifications at github.com
Sun Nov 8 00:53:27 UTC 2015
It was impossible to compile mod_tile on FreeBSD (see issue #114 for details about the different problems).
I used `#ifdef __FreeBSD__` blocks, so the changes will only affect FreeBSD users.
Everything remains exactly the same for other operating systems. So it won't break anything.
You have to compile using
make CPPFLAGS="-I/usr/local/include"
because I didn't know how to add preprocessor flags specifically for FreeBSD using autoconf.
(and I wanted to be sure everything remains exactly the same for users of other operating systems).
If you know how to do that, that would be great to add it to the Makefile.am of configure.ac or whatever file you're supposed to put that in.
I've been using mod_tile like this for a few days now and it works great.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/mod_tile/pull/116
-- Commit Summary --
* fixes for FreeBSD (see https://github.com/openstreetmap/mod_tile/issues/114 )
-- File Changes --
M src/gen_tile_test.cpp (12)
M src/mod_tile.c (4)
-- Patch Links --
https://github.com/openstreetmap/mod_tile/pull/116.patch
https://github.com/openstreetmap/mod_tile/pull/116.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/116
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151107/e7d578c4/attachment.html>
More information about the Tile-serving
mailing list