Fixed crash on ARM
Resolves: rhbz#1224530
This commit is contained in:
parent
d444980049
commit
5ba369cdb9
13
rrdtool-1.5.3-arm-crash-fix.patch
Normal file
13
rrdtool-1.5.3-arm-crash-fix.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 6d74a26..6b5742c 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -248,6 +248,8 @@ AC_FUNC_VPRINTF
|
||||||
|
|
||||||
|
AC_C_BIGENDIAN
|
||||||
|
|
||||||
|
+AC_TYPE_LONG_LONG_INT
|
||||||
|
+
|
||||||
|
dnl for each function found we get a definition in config.h
|
||||||
|
dnl of the form HAVE_FUNCTION
|
||||||
|
|
@ -17,7 +17,7 @@
|
|||||||
Summary: Round Robin Database Tool to store and display time-series data
|
Summary: Round Robin Database Tool to store and display time-series data
|
||||||
Name: rrdtool
|
Name: rrdtool
|
||||||
Version: 1.5.3
|
Version: 1.5.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+ with exceptions
|
License: GPLv2+ with exceptions
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
URL: http://oss.oetiker.ch/rrdtool/
|
URL: http://oss.oetiker.ch/rrdtool/
|
||||||
@ -30,6 +30,7 @@ Patch3: rrdtool-1.5.0-ruby-2-fix.patch
|
|||||||
Patch4: rrdtool-1.5.1-lua-5.2.patch
|
Patch4: rrdtool-1.5.1-lua-5.2.patch
|
||||||
# enable php bindings on ppc
|
# enable php bindings on ppc
|
||||||
Patch5: rrdtool-1.4.8-php-ppc-fix.patch
|
Patch5: rrdtool-1.4.8-php-ppc-fix.patch
|
||||||
|
Patch6: rrdtool-1.5.3-arm-crash-fix.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Requires: dejavu-sans-mono-fonts
|
Requires: dejavu-sans-mono-fonts
|
||||||
@ -175,6 +176,7 @@ The %{name}-lua package includes RRDtool bindings for Lua.
|
|||||||
%endif
|
%endif
|
||||||
%patch4 -p1 -b .lua-52
|
%patch4 -p1 -b .lua-52
|
||||||
%patch5 -p1 -b .php-ppc-fix
|
%patch5 -p1 -b .php-ppc-fix
|
||||||
|
%patch6 -p1 -b .arm-crash-fix
|
||||||
|
|
||||||
# Fix to find correct python dir on lib64
|
# Fix to find correct python dir on lib64
|
||||||
%{__perl} -pi -e 's|get_python_lib\(0,0,prefix|get_python_lib\(1,0,prefix|g' \
|
%{__perl} -pi -e 's|get_python_lib\(0,0,prefix|get_python_lib\(1,0,prefix|g' \
|
||||||
@ -397,6 +399,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 25 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 1.5.3-2
|
||||||
|
- Fixed crash on ARM
|
||||||
|
Resolves: rhbz#1224530
|
||||||
|
|
||||||
* Mon May 4 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 1.5.3-1
|
* Mon May 4 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 1.5.3-1
|
||||||
- New version
|
- New version
|
||||||
Resolves: rhbz#1217759
|
Resolves: rhbz#1217759
|
||||||
|
Loading…
Reference in New Issue
Block a user