diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-geosciences/mapserver/files/mapserver-7.0.5-missing-macro.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-geosciences/mapserver/files/mapserver-7.0.5-missing-macro.patch')
-rw-r--r-- | sci-geosciences/mapserver/files/mapserver-7.0.5-missing-macro.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sci-geosciences/mapserver/files/mapserver-7.0.5-missing-macro.patch b/sci-geosciences/mapserver/files/mapserver-7.0.5-missing-macro.patch new file mode 100644 index 000000000000..ee8da6ca1fe0 --- /dev/null +++ b/sci-geosciences/mapserver/files/mapserver-7.0.5-missing-macro.patch @@ -0,0 +1,21 @@ +commit 7e4be3d354053bca65838c2c481a61d4d5c24a3b +Author: Ettore Di Giacinto <mudler@gentoo.org> +Date: Tue May 23 20:12:20 2017 +0200 + + Fix mapserver to build when TRUE macro is not defined + +diff --git a/mapserver.h b/mapserver.h +index 32182fa0..19b1075c 100644 +--- a/mapserver.h ++++ b/mapserver.h +@@ -78,6 +78,10 @@ + #include <stdint.h> + #endif + ++#ifndef TRUE ++#define TRUE 1 ++#endif ++ + #ifdef _WIN32 + #ifndef SIZE_MAX + #ifdef _WIN64 |