]> git.pld-linux.org Git - packages/perl-Term-Gnuplot.git/commitdiff
- fix format string error auto/th/perl-Term-Gnuplot-0.90380905-8
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 13 Jun 2013 15:25:58 +0000 (17:25 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 13 Jun 2013 15:25:58 +0000 (17:25 +0200)
- rel 8

format-security.patch [new file with mode: 0644]
perl-Term-Gnuplot.spec

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..3019481
--- /dev/null
@@ -0,0 +1,11 @@
+--- Term-Gnuplot-0.90380905/gnuterm/term/post.trm~     2002-09-04 00:41:04.000000000 +0200
++++ Term-Gnuplot-0.90380905/gnuterm/term/post.trm      2013-06-13 17:23:49.684105533 +0200
+@@ -1562,7 +1562,7 @@
+     if (!ps_common_portrait) {
+       fprintf(gpoutfile,"90 rotate\n0 %d translate\n", (int)(-PS_YMAX));
+     }
+-    fprintf(gpoutfile, psg1);
++    fprintf(gpoutfile, "%s", psg1);
+     if (ps_common_uses_fonts)
+       fprintf(gpoutfile, "(%s) findfont %d scalefont setfont\n",
+               ps_font, (t->v_char) );
index 99158bad10c8f1e62f9d77cd18193ff8aebc728d..569c00a92e1f50f82b15ce06144b353796a91e5e 100644 (file)
@@ -10,13 +10,14 @@ Summary:    Term::Gnuplot - lowlevel graphics using gnuplot drawing routines
 Summary(pl.UTF-8):     Term::Gnuplot - niskopoziomowa grafika przy użyciu funkcji rysujących gnuplota
 Name:          perl-Term-Gnuplot
 Version:       0.90380905
-Release:       7
+Release:       8
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: ceccd4e30deb6291ebecce176e715208
 Patch0:                %{name}-vga.patch
+Patch1:                format-security.patch
 URL:           http://search.cpan.org/dist/Term-Gnuplot/
 BuildRequires: gd-devel
 BuildRequires: perl-devel >= 1:5.8.0
@@ -36,6 +37,7 @@ rozdzielczości przy użyciu niskopoziomowych funkcji gnuplota.
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__perl} Makefile.PL \
This page took 0.08695 seconds and 4 git commands to generate.