Commit 189adb81 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Initial commit

parents
all:
tar xf libffi-3.2.1.tar.gz
patch -Np1 -d libffi-3.2.1 < libffi-3.2.1-henderson.patch
cd libffi-3.2.1 && sed -e '/^includesdir/ s/$$(libdir).*$$/$$(includedir)/' -i include/Makefile.in
cd libffi-3.2.1 && sed -e '/^includedir/ s/=.*$$/=@includedir@/' -e 's/^Cflags: -I$${includedir}/Cflags:/' -i libffi.pc.in
cd libffi-3.2.1 && ./configure --build=$(CLFS_TARGET) --prefix=/usr --disable-static
$(MAKE) -C libffi-3.2.1
if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
$(MAKE) -C libffi-3.2.1 check ; \
fi
$(MAKE) -C libffi-3.2.1 install
rm -rf libffi-3.2.1
--- libffi-3.0.13/src/aarch64/ffi.c.orig 2015-01-14 13:57:15.098348043 -0500
+++ libffi-3.0.13/src/aarch64/ffi.c 2015-01-14 13:58:06.023087582 -0500
@@ -668,7 +668,7 @@ aarch64_prep_args (struct call_context *
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;
headers
/usr/include/.*
info
/usr/share/info/.*
man
/usr/share/man/.*
lib
/usr/lib/lib.*
pkg
/usr/lib/pkgconfig/.*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment