[mapserver] 03/05: Add patch to fix 'should' typo.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Tue Jan 26 09:19:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository mapserver.
commit f45b07d1be57c10383ddb2d21601a5763b9ce50e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Tue Jan 26 09:36:23 2016 +0100
Add patch to fix 'should' typo.
---
debian/changelog | 1 +
debian/patches/series | 1 +
debian/patches/should-typo.patch | 26 ++++++++++++++++++++++++++
3 files changed, 28 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4a3d53e..a1b30fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ mapserver (7.0.0-9) UNRELEASED; urgency=medium
* Update Vcs-Git URL to use HTTPS.
* Add patch by Michael Tautschnig to fix type inconsistencies.
(closes: #812685)
+ * Add patch to fix 'should' typo.
-- Bas Couwenberg <sebastic at debian.org> Tue, 26 Jan 2016 07:28:39 +0100
diff --git a/debian/patches/series b/debian/patches/series
index 318c50c..4b660a8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ dont-export-mapserver-target-for-static-libmapserver.patch
0001-Fix-compilation-with-gif_lib-5.1.patch
0001-Fix-java-mapscript-to-be-compatible-with-newer-swig.patch
fix-types.patch
+should-typo.patch
diff --git a/debian/patches/should-typo.patch b/debian/patches/should-typo.patch
new file mode 100644
index 0000000..52e3325
--- /dev/null
+++ b/debian/patches/should-typo.patch
@@ -0,0 +1,26 @@
+Description: Fix 'shoud' typo, replace with 'should'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/mapserver/mapserver/pull/5228
+
+--- a/mapproject.c
++++ b/mapproject.c
+@@ -46,7 +46,7 @@ static int msTestNeedWrap( pointObj pt1,
+
+ /************************************************************************/
+ /* int msIsAxisInverted */
+-/* Check to see if we shoud invert the axis. */
++/* Check to see if we should invert the axis. */
+ /* */
+ /************************************************************************/
+ int msIsAxisInverted(int epsg_code)
+--- a/mapscript/php/map.c
++++ b/mapscript/php/map.c
+@@ -907,7 +907,7 @@ PHP_METHOD(mapObj, getColorByIndex)
+ color.green = palette.colors[index].green;
+ color.blue = palette.colors[index].blue;
+ } else {
+- mapscript_throw_mapserver_exception("Index shoud not be higher than %d\n" TSRMLS_CC, palette.numcolors-1);
++ mapscript_throw_mapserver_exception("Index should not be higher than %d\n" TSRMLS_CC, palette.numcolors-1);
+ return;
+ }
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapserver.git
More information about the Pkg-grass-devel
mailing list