added bug3525_verbose_output.patch to make EXCEPTIONS-output more verbose

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=59
This commit is contained in:
Bjoern Schilberg 2011-01-24 13:32:17 +00:00 committed by Git OBS Bridge
parent 71e5f3bfba
commit a092591711
2 changed files with 20 additions and 0 deletions

View File

@ -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);
}
}

View File

@ -60,6 +60,7 @@ BuildRequires: libgcj-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: mapserver-5.4.1_buildchecks.patch Patch0: mapserver-5.4.1_buildchecks.patch
Patch1: hidden_layer.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 python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
%define _cgibindir /srv/www/cgi-bin %define _cgibindir /srv/www/cgi-bin
@ -111,6 +112,7 @@ within the Java programming language.
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1 %patch1 -p1
%patch2 -p1
# fix spurious perm bits # fix spurious perm bits
chmod -x tests/home.png chmod -x tests/home.png
@ -287,6 +289,9 @@ rm -rf %{buildroot}
%{_javadir}/*.jar %{_javadir}/*.jar
%changelog %changelog
* Mon Jan 24 2011 Stephan Holl <stephan.holl@intevation.de> 5.6.6
- added bug3525_verbose_output.patch to make EXCEPTIONS-output more
verbose
* Tue Jan 18 2011 Stephan Holl <stephan.holl@intevation.de> 5.6.6 * Tue Jan 18 2011 Stephan Holl <stephan.holl@intevation.de> 5.6.6
- udated to new upstream version of mapserver 5.6.6(see· - 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 http://trac.osgeo.org/mapserver/browser/tags/rel-5-6-6/mapserver/HISTORY.TXT