[packages/expect] - rel 3; fix format

arekm arekm at pld-linux.org
Tue Jun 3 10:53:17 CEST 2014


commit 2a9f2687feae7008b9535f3b5eccfadb9883f5d9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Jun 3 10:53:10 2014 +0200

    - rel 3; fix format

 expect-format.patch | 13 +++++++++++++
 expect.spec         |  4 +++-
 2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/expect.spec b/expect.spec
index 917f479..07e5aa3 100644
--- a/expect.spec
+++ b/expect.spec
@@ -12,7 +12,7 @@ Summary(tr.UTF-8):	Programlar arası etkileşimi mümkün kılan Tcl genişletme
 Summary(uk.UTF-8):	Розширення Tcl для керування програмами зі скриптів
 Name:		expect
 Version:	5.45
-Release:	2
+Release:	3
 License:	BSD
 Group:		Development/Languages/Tcl
 Source0:	http://downloads.sourceforge.net/expect/%{name}%{version}.tar.gz
@@ -20,6 +20,7 @@ Source0:	http://downloads.sourceforge.net/expect/%{name}%{version}.tar.gz
 Patch0:		%{name}-pty.patch
 Patch1:		%{name}-bug7869.patch
 Patch2:		%{name}-soname.patch
+Patch3:		%{name}-format.patch
 URL:		http://expect.nist.gov/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -104,6 +105,7 @@ Pliki nagłówkowe i dokumentacja do rozszerzenia expect języka Tcl.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 chmod +w {.,testsuite}/configure
 
diff --git a/expect-format.patch b/expect-format.patch
new file mode 100644
index 0000000..4eafd80
--- /dev/null
+++ b/expect-format.patch
@@ -0,0 +1,13 @@
+--- expect5.45/exp_clib.c~	2010-09-01 00:20:27.000000000 +0200
++++ expect5.45/exp_clib.c	2014-06-03 10:51:24.193073887 +0200
+@@ -1476,8 +1476,8 @@
+      char *str;
+ {
+   if (exp_is_debugging) {
+-    fprintf(stderr,str);
+-    if (exp_logfile) fprintf(exp_logfile,str);
++    fprintf(stderr,"%s",str);
++    if (exp_logfile) fprintf(exp_logfile,"%s",str);
+   }
+ }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/expect.git/commitdiff/2a9f2687feae7008b9535f3b5eccfadb9883f5d9



More information about the pld-cvs-commit mailing list