[SCM] Gnuplot. Interactive plotting program branch, master, updated. debian/4.4.0-1.1-12-ga00fc1e

Anton Gladky gladky.anton at gmail.com
Tue Mar 20 17:42:52 UTC 2012


The following commit has been merged in the master branch:
commit 17e3fffe45bf8f5bc5446a023e656378dc52bb3c
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Tue Mar 20 18:41:25 2012 +0100

    Fix FTBFS "format not a string literal and no format arg"

diff --git a/debian/patches/06_fix_format_not_a_string.diff b/debian/patches/06_fix_format_not_a_string.diff
new file mode 100644
index 0000000..9948607
--- /dev/null
+++ b/debian/patches/06_fix_format_not_a_string.diff
@@ -0,0 +1,33 @@
+Description: Fix FTBFS "format not a string literal and no format arg"
+Author: Anton Gladky <gladky.anton at gmail.com>
+Last-Update: 2012-03-20
+
+--- a/src/gplt_x11.c
++++ b/src/gplt_x11.c
+@@ -2897,22 +2897,22 @@
+ 
+ 		    case PseudoColor:
+ 			fprintf(stderr, ERROR_NOTICE("PseudoColor"));
+-			fprintf(stderr, display_error_text_after);
++			fprintf(stderr,"%s", display_error_text_after);
+ 			break;
+ 
+ 		    case GrayScale:
+ 			fprintf(stderr, ERROR_NOTICE("GrayScale"));
+-			fprintf(stderr, display_error_text_after);
++			fprintf(stderr,"%s", display_error_text_after);
+ 			break;
+ 
+ 		    case StaticColor:
+ 			fprintf(stderr, ERROR_NOTICE("StaticColor"));
+-			fprintf(stderr, display_error_text_after);
++			fprintf(stderr,"%s", display_error_text_after);
+ 			break;
+ 
+ 		    case StaticGray:
+ 			fprintf(stderr, ERROR_NOTICE("StaticGray"));
+-			fprintf(stderr, display_error_text_after);
++			fprintf(stderr,"%s", display_error_text_after);
+ 			break;
+ 
+ 		    case DirectColor:
diff --git a/debian/patches/series b/debian/patches/series
index 4902728..09f69ed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 04_fix_libexecdir.diff
 05_default_gd_font.diff
+06_fix_format_not_a_string.diff

-- 
Gnuplot. Interactive plotting program



More information about the debian-science-commits mailing list