[packages/plotutils] - add format patch; builds but fails on texinfo docs generation

arekm arekm at pld-linux.org
Sun Nov 3 17:36:38 CET 2013


commit cb8a6821d06b3cfdf0b3b85f3b4f6435f1b0589d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Nov 3 17:36:35 2013 +0100

    - add format patch; builds but fails on texinfo docs generation

 plotutils-format.patch | 11 +++++++++++
 plotutils.spec         |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/plotutils.spec b/plotutils.spec
index 3accec5..3e35907 100644
--- a/plotutils.spec
+++ b/plotutils.spec
@@ -14,6 +14,7 @@ Source0:	http://ftp.gnu.org/gnu/plotutils/%{name}-%{version}.tar.gz
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-ac.patch
 Patch2:		%{name}-libpng15.patch
+Patch3:		%{name}-format.patch
 URL:		http://www.gnu.org/software/plotutils/plotutils.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -200,6 +201,7 @@ Biblioteka statyczna libxmi.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
diff --git a/plotutils-format.patch b/plotutils-format.patch
new file mode 100644
index 0000000..9201d85
--- /dev/null
+++ b/plotutils-format.patch
@@ -0,0 +1,11 @@
+--- plotutils-2.6/pic2plot/gram.yy~	2000-06-28 06:22:21.000000000 +0200
++++ plotutils-2.6/pic2plot/gram.yy	2013-11-03 17:29:47.788412792 +0100
+@@ -1833,7 +1833,7 @@
+ 	    {
+ 	      one_format += *form++;
+ 	      one_format += '\0';
+-	      sprintf(sprintf_buf, one_format.contents());
++	      sprintf(sprintf_buf, "%s", one_format.contents());
+ 	    }
+ 	  else 
+ 	    {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/plotutils.git/commitdiff/cb8a6821d06b3cfdf0b3b85f3b4f6435f1b0589d



More information about the pld-cvs-commit mailing list