parent
5385ea4d7e
commit
d670e07c43
|
@ -0,0 +1,11 @@
|
|||
--- a/demo/perfo/perfo.cpp
|
||||
+++ b/demo/perfo/perfo.cpp
|
||||
@@ -15,7 +15,7 @@ int maxCnt; //global variable: count of communication tries
|
||||
|
||||
void statKatRecv(const char strTitle[], long i, long j, clock_t t, long l) {
|
||||
printf("-------------------------------------------\n");
|
||||
- printf(strTitle); printf("\tAverage: %.3f [ms]\n", (double)t/(double)l);
|
||||
+ printf("%s", strTitle); printf("\tAverage: %.3f [ms]\n", (double)t/(double)l);
|
||||
printf("-------------------------------------------\n");
|
||||
printf("RECV_NO_ERR : %.3f %ld\n", (double)i/(double)l, i);
|
||||
printf("RECV_READING_ERR : %.3f %ld\n", (double)j/(double)l, j);
|
|
@ -1,6 +1,6 @@
|
|||
Name: libkni3
|
||||
Version: 3.9.2
|
||||
Release: 23%{?dist}
|
||||
Release: 24%{?dist}
|
||||
Summary: C++ KNI library v3 for the Katana 300 robot arm
|
||||
|
||||
Group: System Environment/Libraries
|
||||
|
@ -14,6 +14,7 @@ Patch3: kni-3.9.2-noexit.patch
|
|||
Patch4: kni-3.9.2-gcc47.patch
|
||||
# Make makefiles verbose
|
||||
Patch5: kni-3.9.2-verbose.patch
|
||||
Patch6: kni-3.9.2-format-security.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||
|
@ -81,6 +82,7 @@ This package contains demo applications for %{name}.
|
|||
%patch3 -p1 -b .noexit
|
||||
%patch4 -p1 -b .gcc47
|
||||
%patch5 -p1
|
||||
%patch6 -p1 -b .format
|
||||
|
||||
%build
|
||||
make CXXFLAGS="%{optflags} -fPIC"
|
||||
|
@ -168,6 +170,9 @@ rm -rf %{buildroot}
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 31 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 3.9.2-24
|
||||
- Fix FTBFS with -Werror=format-security (#1037167, #1106032)
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.2-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue