Description: Upstream changes introduced in version 1.2-2
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 raspell (1.2-2) unstable; urgency=low
 .
   * Fix "FTBFS: ext/raspell.c:76:9: error: format not a string literal
     and no format arguments [-Werror=format-security]." Thanks to Lucas
     Nussbaum and Andreas Stuhrk. (Closes: #676077)
 .
 The person named in the Author field signed this changelog entry.
Author: Alex Pennace <alex@pennace.org>
Bug-Debian: http://bugs.debian.org/676077

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- raspell-1.2.orig/ext/raspell.c
+++ raspell-1.2/ext/raspell.c
@@ -73,7 +73,7 @@ static void aspell_free(void *p) {
  */
 static void check_for_error(AspellSpeller * speller) {
     if (aspell_speller_error(speller) != 0) {
-        rb_raise(cAspellError, aspell_speller_error_message(speller));
+        rb_raise(cAspellError, "%s", aspell_speller_error_message(speller));
     }
 }
 
@@ -87,11 +87,11 @@ static void check_for_error(AspellSpelle
 static void set_option(AspellConfig *config, char *key, char *value) {
     //printf("set option: %s = %s\n", key, value);
     if (aspell_config_replace(config, key, value) == 0) {
-        rb_raise(cAspellError, aspell_config_error_message(config));
+        rb_raise(cAspellError, "%s", aspell_config_error_message(config));
     }
     //check config:
     if (aspell_config_error(config) != 0) {
-        rb_raise(cAspellError, aspell_config_error_message(config));
+        rb_raise(cAspellError, "%s", aspell_config_error_message(config));
     }
 }
 
@@ -132,7 +132,7 @@ static AspellDocumentChecker* get_checke
     AspellDocumentChecker * checker;
     ret = new_aspell_document_checker(speller);
     if (aspell_error(ret) != 0)
-        rb_raise(cAspellError, aspell_error_message(ret));
+        rb_raise(cAspellError, "%s", aspell_error_message(ret));
     checker = to_aspell_document_checker(ret);
     return checker;
 }
@@ -214,7 +214,7 @@ static VALUE aspell_s_new(int argc, VALU
     if (aspell_error(ret) != 0) {
         tmp = strdup(aspell_error_message(ret));
         delete_aspell_can_have_error(ret);
-        rb_raise(cAspellError, tmp);
+        rb_raise(cAspellError, "%s", tmp);
     }
 
     speller = to_aspell_speller(ret);
@@ -253,7 +253,7 @@ static VALUE aspell_s_new1(VALUE klass,
     if (aspell_error(ret) != 0) {
         const char *tmp = strdup(aspell_error_message(ret));
         delete_aspell_can_have_error(ret);
-        rb_raise(cAspellError, tmp);
+        rb_raise(cAspellError, "%s", tmp);
     }
 
     speller = to_aspell_speller(ret);
@@ -409,7 +409,7 @@ static VALUE aspell_conf_retrieve(VALUE
     AspellConfig *config = aspell_speller_config(speller);
     VALUE result = rb_str_new2(aspell_config_retrieve(config, STR2CSTR(key)));
     if (aspell_config_error(config) != 0) {
-        rb_raise(cAspellError, aspell_config_error_message(config));
+        rb_raise(cAspellError, "%s", aspell_config_error_message(config));
     }
     return result;
 }
@@ -433,7 +433,7 @@ static VALUE aspell_conf_retrieve_list(V
     if (aspell_config_error(config) != 0) {
         char *tmp = strdup(aspell_config_error_message(config));
         delete_aspell_string_list(list);
-        rb_raise( cAspellError, tmp);
+        rb_raise( cAspellError, "%s", tmp);
     }
 
     //iterate over list
@@ -480,7 +480,7 @@ static VALUE aspell_check(VALUE self, VA
     else if (code == 0)
         result = Qfalse;
     else
-        rb_raise( cAspellError, aspell_speller_error_message(speller));
+        rb_raise( cAspellError, "%s", aspell_speller_error_message(speller));
     return result;
 }
 
