[Pkg-opencl-devel] [beignet] 40/47: fix some typos

Andreas Beckmann anbe at moszumanska.debian.org
Fri Oct 31 21:45:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository beignet.

commit ca608d919fef30fe5262a0d602f8c90d01141fc3
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri Oct 31 21:44:58 2014 +0100

    fix some typos
---
 debian/changelog                         |  1 +
 debian/patches/0001-fix-some-typos.patch | 58 ++++++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 60 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 2ee224c..7096a97 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ beignet (0.9.3~dfsg-1) UNRELEASED; urgency=medium
   * Add Simon Richter, Rebecca N. Palmer and myself to Uploaders.
   * Repack upstream tarball to remove non-distributable Len(n)a images and
     CC-BY-NC-SA licensed parts from the test suite.  (Closes: #767387)
+  * 0001-fix-some-typos.patch: New.
 
  -- Andreas Beckmann <anbe at debian.org>  Fri, 31 Oct 2014 21:22:59 +0100
 
diff --git a/debian/patches/0001-fix-some-typos.patch b/debian/patches/0001-fix-some-typos.patch
new file mode 100644
index 0000000..0341efe
--- /dev/null
+++ b/debian/patches/0001-fix-some-typos.patch
@@ -0,0 +1,58 @@
+From 1e8d00640dd432c099fc94d5e7385d1b998fae3f Mon Sep 17 00:00:00 2001
+From: Andreas Beckmann <anbe at debian.org>
+Date: Fri, 31 Oct 2014 16:00:20 +0100
+Subject: [PATCH] fix some typos
+
+Signed-off-by: Andreas Beckmann <anbe at debian.org>
+---
+ backend/src/ir/instruction.cpp          | 2 +-
+ backend/src/llvm/llvm_printf_parser.cpp | 6 +++---
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/backend/src/ir/instruction.cpp b/backend/src/ir/instruction.cpp
+index 5fc1535..69533c0 100644
+--- a/backend/src/ir/instruction.cpp
++++ b/backend/src/ir/instruction.cpp
+@@ -989,7 +989,7 @@ namespace ir {
+       }
+       const ir::Type immType = fn.getImmediate(immediateIndex).getType();
+       if (UNLIKELY(type != immType)) {
+-        whyNot = "Inconsistant type for the immediate value to load";
++        whyNot = "Inconsistent type for the immediate value to load";
+         return false;
+       }
+       const RegisterFamily family = getFamily(type);
+diff --git a/backend/src/llvm/llvm_printf_parser.cpp b/backend/src/llvm/llvm_printf_parser.cpp
+index 00e1ef8..bf11da8 100644
+--- a/backend/src/llvm/llvm_printf_parser.cpp
++++ b/backend/src/llvm/llvm_printf_parser.cpp
+@@ -665,7 +665,7 @@ error:
+           case PRINTF_CONVERSION_g:
+           case PRINTF_CONVERSION_A:
+           case PRINTF_CONVERSION_a:
+-            printf("Warning: Have a float paramter for %%d like specifier, take care of it\n");
++            printf("Warning: Have a float parameter for %%d like specifier, take care of it\n");
+             arg = builder->CreateSIToFP(arg, Type::getFloatTy(module->getContext()));
+             dst_type = Type::getFloatPtrTy(module->getContext(), 1);
+             sizeof_size = sizeof(float);
+@@ -693,7 +693,7 @@ error:
+           case PRINTF_CONVERSION_I:
+           case PRINTF_CONVERSION_D:
+             /* Float to Int, add a conversion. */
+-            printf("Warning: Have a int paramter for %%f like specifier, take care of it\n");
++            printf("Warning: Have a int parameter for %%f like specifier, take care of it\n");
+             arg = builder->CreateFPToSI(arg, Type::getInt32Ty(module->getContext()));
+             dst_type = Type::getInt32PtrTy(module->getContext(), 1);
+             sizeof_size = sizeof(int);
+@@ -704,7 +704,7 @@ error:
+           case PRINTF_CONVERSION_x:
+           case PRINTF_CONVERSION_X:
+             /* Float to uint, add a conversion. */
+-            printf("Warning: Have a uint paramter for %%f like specifier, take care of it\n");
++            printf("Warning: Have a uint parameter for %%f like specifier, take care of it\n");
+             arg = builder->CreateFPToUI(arg, Type::getInt32Ty(module->getContext()));
+             dst_type = Type::getInt32PtrTy(module->getContext(), 1);
+             sizeof_size = sizeof(int);
+-- 
+2.1.1
+
diff --git a/debian/patches/series b/debian/patches/series
index ecb4b73..cf18607 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ Use-Khronos-Group-headers.patch
 Utest-requires-deprecated-function-names.patch
 Link-against-terminfo.patch
 Fix-build-failure.patch
+0001-fix-some-typos.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git



More information about the Pkg-opencl-devel mailing list