From 5ba369cdb96216f89e7a0be499cb59e7f40b95f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 25 May 2015 18:37:14 +0200 Subject: [PATCH] Fixed crash on ARM Resolves: rhbz#1224530 --- rrdtool-1.5.3-arm-crash-fix.patch | 13 +++++++++++++ rrdtool.spec | 8 +++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 rrdtool-1.5.3-arm-crash-fix.patch diff --git a/rrdtool-1.5.3-arm-crash-fix.patch b/rrdtool-1.5.3-arm-crash-fix.patch new file mode 100644 index 0000000..2acde93 --- /dev/null +++ b/rrdtool-1.5.3-arm-crash-fix.patch @@ -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 + diff --git a/rrdtool.spec b/rrdtool.spec index 6131ae1..2b8e17e 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -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 - 1.5.3-2 +- Fixed crash on ARM + Resolves: rhbz#1224530 + * Mon May 4 2015 Jaroslav Škarvada - 1.5.3-1 - New version Resolves: rhbz#1217759