diff --git a/librsvg-2.44.5-u64_u32.patch b/librsvg-2.44.5-u64_u32.patch new file mode 100644 index 0000000..a2c763a --- /dev/null +++ b/librsvg-2.44.5-u64_u32.patch @@ -0,0 +1,11 @@ +--- librsvg-2.44.5/rsvg_internals/src/css.rs.orig 2018-10-01 01:13:42.817563903 +0200 ++++ librsvg-2.44.5/rsvg_internals/src/css.rs 2018-10-01 01:13:49.387153650 +0200 +@@ -99,7 +99,7 @@ + (*doc_handler).app_data = &handler_data as *const _ as gpointer; + + let buf_ptr = buf.as_ptr() as *mut _; +- let buf_len = buf.len() as u64; ++ let buf_len = buf.len() as u32; + + let parser = cr_parser_new_from_buf(buf_ptr, buf_len, CR_UTF_8, false.to_glib()); + if parser.is_null() { diff --git a/librsvg.spec b/librsvg.spec index 3103912..d35ea3e 100644 --- a/librsvg.spec +++ b/librsvg.spec @@ -1,7 +1,7 @@ %define majversion %(echo %version | cut -d. -f 1-2) Name: librsvg -Version: 2.44.4 +Version: 2.44.5 Release: 1mamba Summary: A high performance SVG rendering library Group: System/Libraries @@ -10,6 +10,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://librsvg.sourceforge.net Source: http://ftp.gnome.org/pub/gnome/sources/librsvg/%{majversion}/librsvg-%{version}.tar.xz +Patch0: librsvg-2.44.5-u64_u32.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -90,6 +91,9 @@ This package contains the API documentation need for development. %prep %setup -q +%ifarch arm %{ix86} +%patch0 -p1 +%endif %build %configure \ @@ -167,6 +171,9 @@ exit 0 %{_datadir}/gtk-doc/html/rsvg-2.0/* %changelog +* Fri Sep 28 2018 Automatic Build System 2.44.5-1mamba +- automatic version update by autodist + * Tue Sep 25 2018 Automatic Build System 2.44.4-1mamba - automatic version update by autodist