[darkradiant] 02/03: New patch for some spelling errors
Tobias Frost
tobi at moszumanska.debian.org
Mon Jan 22 19:16:46 UTC 2018
This is an automated email from the git hooks/post-receive script.
tobi pushed a commit to branch master
in repository darkradiant.
commit aa096f26907fe3f6338c35a70c178c3019140375
Author: Tobias Frost <tobi at coldtobi.de>
Date: Mon Jan 22 20:14:30 2018 +0100
New patch for some spelling errors
---
debian/changelog | 1 +
debian/patches/02_spelling_errors.patch | 86 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 88 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index c6ea1e3..35b2db7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ darkradiant (2.5.0-1) UNRELEASED; urgency=medium
* Update d/copyright:
- change format spec to a https type URL and
- update copyright year for packaging.
+ * New patch for some spelling errors.
-- Tobias Frost <tobi at debian.org> Tue, 16 Jan 2018 17:48:39 +0100
diff --git a/debian/patches/02_spelling_errors.patch b/debian/patches/02_spelling_errors.patch
new file mode 100644
index 0000000..5cfb333
--- /dev/null
+++ b/debian/patches/02_spelling_errors.patch
@@ -0,0 +1,86 @@
+Description: Patch for fixing spelling errors found by linitian
+ s/occured/occurred/
+ s/succesfully/successfully/
+Author: Tobias Frost <tobi at debian.org>
+Forwarded: not-yet...
+Last-Update: 2018-01-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/libs/picomodel/pm_3ds.c
++++ b/libs/picomodel/pm_3ds.c
+@@ -301,7 +301,7 @@
+ printf("Vertex: x: %f y: %f z: %f\n",v[0],v[1],v[2]);
+ #endif
+ }
+- /* success (no errors occured) */
++ /* success (no errors occurred) */
+ return 1;
+ }
+
+@@ -337,7 +337,7 @@
+ printf("Face: a: %d b: %d c: %d (%d)\n",face.a,face.b,face.c,face.visible);
+ #endif
+ }
+- /* success (no errors occured) */
++ /* success (no errors occurred) */
+ return 1;
+ }
+
+@@ -370,7 +370,7 @@
+ printf("u: %f v: %f\n",uv[0],uv[1]);
+ #endif
+ }
+- /* success (no errors occured) */
++ /* success (no errors occurred) */
+ return 1;
+ }
+
+@@ -467,7 +467,7 @@
+ {
+ GetWord(pers);
+ }
+- /* success (no errors occured) */
++ /* success (no errors occurred) */
+ return 1;
+ }
+
+@@ -492,7 +492,7 @@
+ #ifdef DEBUG_PM_3DS
+ printf("GetDiffuseColor: %d %d %d\n",color[0],color[1],color[2]);
+ #endif
+- /* success (no errors occured) */
++ /* success (no errors occurred) */
+ return 1;
+ }
+
+--- a/libs/os/dir.h
++++ b/libs/os/dir.h
+@@ -59,7 +59,7 @@
+ if (fs::create_directory(dirPath))
+ {
+ // Directory has been created, set permissions
+- rConsole() << "Directory " << dirPath << " created succesfully." << std::endl;
++ rConsole() << "Directory " << dirPath << " created successfully." << std::endl;
+
+ #ifdef DR_USE_STD_FILESYSTEM
+ // Set permissions to rwxrwxr_x
+--- a/plugins/dm.gui/XDataLoader.cpp
++++ b/plugins/dm.gui/XDataLoader.cpp
+@@ -531,7 +531,7 @@
+ {
+ //Syntaxerror!
+ std::string errMSG = "[XData::import] Error in definition: " + defName
+- + ". Found an import-statement, but an sytax-error occured in the definition "
++ + ". Found an import-statement, but an sytax-error occurred in the definition "
+ + sourceDef + ", in sourcefile " + it->second[k] + ".\n";
+ if ( (FileCount > 1) && (k+1 < FileCount) )
+ errMSG += "\tThe referenced definition has been found in multiple files. Trying next file...\n";
+@@ -552,7 +552,7 @@
+ if (!getImportParameters(ImpTok, ImpStmts, ImpSrcDef, defName))
+ {
+ std::string errMSG = "[XData::import] Error in definition: " + defName
+- + ". Found an import-statement, but an sytax-error occured in the definition "
++ + ". Found an import-statement, but an sytax-error occurred in the definition "
+ + sourceDef + ", in sourcefile " + it->second[k] + ".\n";
+ if ( (FileCount > 1) && (k < FileCount-1) )
+ errMSG += "\tThe referenced definition has been found in multiple files. Trying next file...\n";
diff --git a/debian/patches/series b/debian/patches/series
index 1b08820..3e7c38d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01_autoconf_boost_test_framework.patch
+02_spelling_errors.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/darkradiant.git
More information about the Pkg-games-commits
mailing list