[gnuplot5] 01/03: Fix font size on wxt-terminal. (Closes: #810943)
Anton Gladky
gladk at moszumanska.debian.org
Mon Jan 18 08:41:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository gnuplot5.
commit 7bb549df9b81cf0092ec014a681a1bb6a4e0c3eb
Author: Anton Gladky <gladk at debian.org>
Date: Mon Jan 18 08:56:14 2016 +0100
Fix font size on wxt-terminal. (Closes: #810943)
---
debian/patches/13_wxt_fontsize_bug1731.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 23 insertions(+)
diff --git a/debian/patches/13_wxt_fontsize_bug1731.patch b/debian/patches/13_wxt_fontsize_bug1731.patch
new file mode 100644
index 0000000..0b60f62
--- /dev/null
+++ b/debian/patches/13_wxt_fontsize_bug1731.patch
@@ -0,0 +1,22 @@
+Description: Fix font size on wxt-terminal
+Author: Ethan Merritt <sfeam at users.sf.net>
+Reviewed-By: Anton Gladky <gladk at debian.org>
+Bug-Debian: https://bugs.debian.org/810943
+Applied-Upstream: https://sourceforge.net/p/gnuplot/bugs/1731/
+Last-Update: 2016-01-18
+
+Index: gnuplot5-5.0.2+dfsg1/term/wxt.trm
+===================================================================
+--- gnuplot5-5.0.2+dfsg1.orig/term/wxt.trm
++++ gnuplot5-5.0.2+dfsg1/term/wxt.trm
+@@ -179,8 +179,9 @@ TERM_PUBLIC void wxt_options()
+ sep = strcspn(s,",");
+ if (sep > 0) {
+ s[sep] = '\0';
+- sscanf(&(s[sep+1]), "%d", &wxt_set_fontsize);
+ }
++ if (s[sep] == ',')
++ sscanf(&(s[sep+1]), "%d", &wxt_set_fontsize);
+ free(wxt_set_fontname);
+ wxt_set_fontname = gp_strdup(s);
+ } else {
diff --git a/debian/patches/series b/debian/patches/series
index 519eb43..34ac923 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
10_removepicins.patch
11_fix_linkage_wx.patch
12_info.patch
+13_wxt_fontsize_bug1731.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gnuplot5.git
More information about the debian-science-commits
mailing list