Fixed crash on ARM

Resolves: rhbz#1224530
This commit is contained in:
Jaroslav Škarvada 2015-05-25 18:37:14 +02:00
parent d444980049
commit 5ba369cdb9
2 changed files with 20 additions and 1 deletions

View 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

View File

@ -17,7 +17,7 @@
Summary: Round Robin Database Tool to store and display time-series data
Name: rrdtool
Version: 1.5.3
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+ with exceptions
Group: Applications/Databases
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
# enable php bindings on ppc
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)
Requires: dejavu-sans-mono-fonts
@ -175,6 +176,7 @@ The %{name}-lua package includes RRDtool bindings for Lua.
%endif
%patch4 -p1 -b .lua-52
%patch5 -p1 -b .php-ppc-fix
%patch6 -p1 -b .arm-crash-fix
# 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' \
@ -397,6 +399,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \
%endif
%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
- New version
Resolves: rhbz#1217759