Compare commits

...

3 Commits
master ... f21

Author SHA1 Message Date
Peter Robinson 4d6c708a33 Add patch to fix issues on aarch64 (rhbz 1174037) 2015-01-15 03:11:28 +00:00
Peter Robinson 0936745d51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 03:16:34 +00:00
Tom Callaway 4c18369350 fix license handling 2014-07-17 14:36:48 -04:00
2 changed files with 26 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- libffi-3.1/src/aarch64/ffi.c.orig 2014-04-25 18:45:13.000000000 +0100
+++ libffi-3.1/src/aarch64/ffi.c 2015-01-15 02:36:56.314906455 +0000
@@ -728,7 +728,7 @@
state.ngrn = N_X_ARG_REG;
memcpy (allocate_to_stack (&state, stack, ty->alignment,
- ty->size), ecif->avalue + i, ty->size);
+ ty->size), ecif->avalue[i], ty->size);
}
break;

View File

@ -2,7 +2,7 @@
Name: libffi
Version: 3.1
Release: 4%{?dist}
Release: 7%{?dist}
Summary: A portable foreign function interface library
Group: System Environment/Libraries
@ -13,6 +13,7 @@ Source1: ffi-multilib.h
Source2: ffitarget-multilib.h
Patch0: libffi-3.1-fix-include-path.patch
Patch1: libffi-3.1-fix-exec-stack.patch
Patch2: libffi-aarch64-rhbz1174037.patch
%description
Compilers for high level languages generate code that follow certain
@ -59,6 +60,7 @@ developing applications that use %{name}.
%setup -q
%patch0 -p1 -b .fixpath
%patch1 -p1 -b .execstack
%patch2 -p1 -b .aarch64
%build
@ -107,7 +109,9 @@ fi
%files
%doc LICENSE README
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README
%{_libdir}/*.so.*
%files devel
@ -118,6 +122,15 @@ fi
%{_infodir}/libffi.info.gz
%changelog
* Thu Jan 15 2015 Peter Robinson <pbrobinson@fedoraproject.org> 3.1-7
- Add patch to fix issues on aarch64 (rhbz 1174037)
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Thu Jul 17 2014 Tom Callaway <spot@fedoraproject.org> - 3.1-5
- fix license handling
* Sun Jun 29 2014 Anthony Green <green@redhat.com> - 3.1-4
- fix exec stack problem on 32-bit build