1
0
forked from pool/mapserver
mapserver/patch_3877-r11714.patch

37 lines
1.5 KiB
Diff

Index: mapserver-6.0.0/HISTORY.TXT
===================================================================
--- mapserver-6.0.0/HISTORY.TXT (revision 11709)
+++ mapserver-6.0.0/HISTORY.TXT (revision 11714)
@@ -15,4 +15,6 @@
Version 6.0.1 (SVN branch-6-0):
---------------------------
+
+- Fixed the build problem in mapunion.c (#3877)
- Union layer: Fixed the crash when styling source layers using attributes (#3870)
Index: mapserver-6.0.0/mapunion.c
===================================================================
--- mapserver-6.0.0/mapunion.c (revision 11709)
+++ mapserver-6.0.0/mapunion.c (revision 11714)
@@ -316,5 +316,5 @@
/* get items requested by the union layer plus the required items */
msLayerSetProcessingKey(srclayer, "ITEMS", itemlist);
- if (msLayerWhichItems(srclayer, TRUE, NULL) != MS_SUCCESS)
+ if (msLayerWhichItems(srclayer, MS_TRUE, NULL) != MS_SUCCESS)
{
msFree(itemlist);
@@ -325,5 +325,5 @@
{
/* get only the required items */
- if (msLayerWhichItems(srclayer, FALSE, NULL) != MS_SUCCESS)
+ if (msLayerWhichItems(srclayer, MS_FALSE, NULL) != MS_SUCCESS)
return MS_FAILURE;
}
@@ -354,5 +354,5 @@
/* get only the required items */
- if (msLayerWhichItems(srclayer, FALSE, NULL) != MS_SUCCESS)
+ if (msLayerWhichItems(srclayer, MS_FALSE, NULL) != MS_SUCCESS)
return MS_FAILURE;
}