diff --git a/bug3525_verbose_output.patch b/bug3525_verbose_output.patch new file mode 100644 index 0000000..23996b8 --- /dev/null +++ b/bug3525_verbose_output.patch @@ -0,0 +1,15 @@ +Index: mapwms.c + =================================================================== + --- a/mapwms.c (revision 10869) + +++ b/mapwms.c (working copy) + @@ -739,8 +739,8 @@ + strcasecmp(wms_exception_format, "XML") != 0) + { + msSetError(MS_WMSERR, + - "Invalid format for the EXCEPTIONS parameter.", + - "msWMSLoadGetMapParams()"); + + "Invalid format %s for the EXCEPTIONS parameter.", + + "msWMSLoadGetMapParams()", wms_exception_format); + return msWMSException(map, nVersion, "InvalidFormat", wms_exception_format); + } + } diff --git a/mapserver.spec b/mapserver.spec index abfcc79..d0083b8 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -60,6 +60,7 @@ BuildRequires: libgcj-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch0: mapserver-5.4.1_buildchecks.patch Patch1: hidden_layer.patch +Patch2: bug3525_verbose_output.patch #%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") %define _cgibindir /srv/www/cgi-bin @@ -111,6 +112,7 @@ within the Java programming language. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 # fix spurious perm bits chmod -x tests/home.png @@ -287,6 +289,9 @@ rm -rf %{buildroot} %{_javadir}/*.jar %changelog +* Mon Jan 24 2011 Stephan Holl 5.6.6 +- added bug3525_verbose_output.patch to make EXCEPTIONS-output more + verbose * Tue Jan 18 2011 Stephan Holl 5.6.6 - udated to new upstream version of mapserver 5.6.6(see· http://trac.osgeo.org/mapserver/browser/tags/rel-5-6-6/mapserver/HISTORY.TXT