Bas Couwenberg pushed to branch master at Debian GIS Project / liblas


Commits:
4e900f35 by Bas Couwenberg at 2019-04-13T14:39:25Z
Add patch to fix spelling errors.

- - - - -


3 changed files:

- debian/changelog
- debian/patches/series
- + debian/patches/spelling-errors.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 liblas (1.8.1-11) UNRELEASED; urgency=medium
 
   * Remove package name from lintian overrides.
+  * Add patch to fix spelling errors.
 
  -- Bas Couwenberg <[email protected]>  Fri, 15 Mar 2019 15:48:03 +0100
 


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ gdal-c++11.patch
 0001-WITH_GDAL-fix-build-with-DDEBUG.patch
 0001-Fix-compilation-with-DDEBUG-and-GDAL-2.patch
 0001-Ensure-stream-is-deallocated-in-case-of-exception-16.patch
+spelling-errors.patch


=====================================
debian/patches/spelling-errors.patch
=====================================
@@ -0,0 +1,62 @@
+Description: Fix spelling errors.
+ * Specied -> Specified
+Author: Bas Couwenberg <[email protected]>
+
+--- a/apps/las2col.c
++++ b/apps/las2col.c
+@@ -414,22 +414,22 @@ void* readFile(void *arg) {
+                * is within 0,2^31 */
+               double check_min_x = 1.0 + LASHeader_GetMinX(header) - 
(((double) rTA->global_offset_x) * rTA->scale_x);
+               if (check_min_x < TOLERANCE) {
+-                      fprintf(stderr, "ERROR: Specied X global offset is too 
large. (MinX - (GlobalX*ScaleX)) < 0\n");
++                      fprintf(stderr, "ERROR: Specified X global offset is 
too large. (MinX - (GlobalX*ScaleX)) < 0\n");
+                       exit(1);
+               }
+               double check_min_y = 1.0 + LASHeader_GetMinY(header) - 
(((double) rTA->global_offset_y) * rTA->scale_y);
+               if (check_min_y < TOLERANCE) {
+-                      fprintf(stderr, "ERROR: Specied Y global offset is too 
large. (MinY - (GlobalY*ScaleY)) < 0\n");
++                      fprintf(stderr, "ERROR: Specified Y global offset is 
too large. (MinY - (GlobalY*ScaleY)) < 0\n");
+                       exit(1);
+               }
+               double check_max_x = LASHeader_GetMaxX(header) - (((double) 
rTA->global_offset_x) * rTA->scale_x);
+               if (check_max_x > (MAX_INT_31 * rTA->scale_x)) {
+-                      fprintf(stderr, "ERROR: Specied X global offset is too 
small. (MaxX - (GlobalX*ScaleX)) > (2^31)*ScaleX\n");
++                      fprintf(stderr, "ERROR: Specified X global offset is 
too small. (MaxX - (GlobalX*ScaleX)) > (2^31)*ScaleX\n");
+                       exit(1);
+               }
+               double check_max_y = LASHeader_GetMaxY(header) - (((double) 
rTA->global_offset_y) * rTA->scale_y);
+               if (check_max_y > (MAX_INT_31 * rTA->scale_y)) {
+-                      fprintf(stderr, "ERROR: Specied Y global offset is too 
small. (MaxY - (GlobalY*ScaleY)) > (2^31)*ScaleY\n");
++                      fprintf(stderr, "ERROR: Specified Y global offset is 
too small. (MaxY - (GlobalY*ScaleY)) > (2^31)*ScaleY\n");
+                       exit(1);
+               }
+       }
+--- a/apps/las2pg.c
++++ b/apps/las2pg.c
+@@ -494,22 +494,22 @@ int main(int argc, char *argv[])
+          * is within 0,2^31 */
+         double check_min_x = 1.0 + LASHeader_GetMinX(header) - (((double) 
global_offset_x) * scale_x);
+         if (check_min_x < TOLERANCE) {
+-            fprintf(stderr, "ERROR: Specied X global offset is too large. 
(MinX - (GlobalX*ScaleX)) < 0\n");
++            fprintf(stderr, "ERROR: Specified X global offset is too large. 
(MinX - (GlobalX*ScaleX)) < 0\n");
+             exit(1);
+         }
+         double check_min_y = 1.0 + LASHeader_GetMinY(header) - (((double) 
global_offset_y) * scale_y);
+         if (check_min_y < TOLERANCE) {
+-            fprintf(stderr, "ERROR: Specied Y global offset is too large. 
(MinY - (GlobalY*ScaleY)) < 0\n");
++            fprintf(stderr, "ERROR: Specified Y global offset is too large. 
(MinY - (GlobalY*ScaleY)) < 0\n");
+             exit(1);
+         }
+         double check_max_x = LASHeader_GetMaxX(header) - (((double) 
global_offset_x) * scale_x);
+         if (check_max_x > (MAX_INT_31 * scale_x)) {
+-            fprintf(stderr, "ERROR: Specied X global offset is too small. 
(MaxX - (GlobalX*ScaleX)) > (2^31)*ScaleX\n");
++            fprintf(stderr, "ERROR: Specified X global offset is too small. 
(MaxX - (GlobalX*ScaleX)) > (2^31)*ScaleX\n");
+             exit(1);
+         }
+         double check_max_y = LASHeader_GetMaxY(header) - (((double) 
global_offset_y) * scale_y);
+         if (check_max_y > (MAX_INT_31 * scale_y)) {
+-            fprintf(stderr, "ERROR: Specied Y global offset is too small. 
(MaxY - (GlobalY*ScaleY)) > (2^31)*ScaleY\n");
++            fprintf(stderr, "ERROR: Specified Y global offset is too small. 
(MaxY - (GlobalY*ScaleY)) > (2^31)*ScaleY\n");
+             exit(1);
+         }
+     }



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/liblas/commit/4e900f354ca524def85c24918fa08674819d7781

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/liblas/commit/4e900f354ca524def85c24918fa08674819d7781
You're receiving this email because of your account on salsa.debian.org.

_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to