diff options
Diffstat (limited to 'sci-geosciences/mapserver/files/mapserver-7.0.0-OGREscapeSQLParam.patch')
-rw-r--r-- | sci-geosciences/mapserver/files/mapserver-7.0.0-OGREscapeSQLParam.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-geosciences/mapserver/files/mapserver-7.0.0-OGREscapeSQLParam.patch b/sci-geosciences/mapserver/files/mapserver-7.0.0-OGREscapeSQLParam.patch new file mode 100644 index 00000000000..6ea6d9296f5 --- /dev/null +++ b/sci-geosciences/mapserver/files/mapserver-7.0.0-OGREscapeSQLParam.patch @@ -0,0 +1,22 @@ +diff --git a/mapogr.cpp b/mapogr.cpp +index 1708d1c..217239b 100755 +--- a/mapogr.cpp ++++ b/mapogr.cpp +@@ -1311,6 +1311,8 @@ static int msOGRFileClose(layerObj *layer, msOGRFileInfo *psInfo ) + return MS_SUCCESS; + } + ++#endif ++ + /************************************************************************/ + /* msOGREscapeSQLParam */ + /************************************************************************/ +@@ -1337,6 +1339,8 @@ static char *msOGREscapeSQLParam(layerObj *layer, const char *pszString) + #endif /* USE_OGR */ + } + ++#ifdef USE_OGR ++ + /********************************************************************** + * msOGRTranslateMsExpressionToOGRSQL() + * |