Added missing patch
This commit is contained in:
parent
50f1b8cf3f
commit
a837682d03
11
libffi-mingw-w64-compatibility.patch
Normal file
11
libffi-mingw-w64-compatibility.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- Makefile.in.orig 2011-07-04 22:01:33.336825129 +0200
|
||||||
|
+++ Makefile.in 2011-07-04 22:01:40.341715414 +0200
|
||||||
|
@@ -118,7 +118,7 @@
|
||||||
|
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(infodir)" \
|
||||||
|
"$(DESTDIR)$(pkgconfigdir)"
|
||||||
|
LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
|
||||||
|
-libffi_la_LIBADD =
|
||||||
|
+libffi_la_LIBADD = -no-undefined
|
||||||
|
am__dirstamp = $(am__leading_dot)dirstamp
|
||||||
|
am_libffi_la_OBJECTS = src/prep_cif.lo src/types.lo src/raw_api.lo \
|
||||||
|
src/java_raw_api.lo src/closures.lo
|
@ -14,6 +14,9 @@ License: BSD
|
|||||||
URL: http://sourceware.org/libffi
|
URL: http://sourceware.org/libffi
|
||||||
Source0: ftp://sourceware.org/pub/libffi/libffi-%{version}-%{rc_version}.tar.gz
|
Source0: ftp://sourceware.org/pub/libffi/libffi-%{version}-%{rc_version}.tar.gz
|
||||||
|
|
||||||
|
# Needed to build against mingw-w64
|
||||||
|
Patch0: libffi-mingw-w64-compatibility.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: mingw32-filesystem >= 95
|
BuildRequires: mingw32-filesystem >= 95
|
||||||
@ -49,6 +52,7 @@ Foreign function interface library for MinGW.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libffi-%{version}-%{rc_version}
|
%setup -q -n libffi-%{version}-%{rc_version}
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -80,7 +84,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|||||||
%{mingw64_bindir}/libffi-6.dll
|
%{mingw64_bindir}/libffi-6.dll
|
||||||
%{mingw64_libdir}/libffi.dll.a
|
%{mingw64_libdir}/libffi.dll.a
|
||||||
%{mingw64_libdir}/pkgconfig/*.pc
|
%{mingw64_libdir}/pkgconfig/*.pc
|
||||||
%{mingw64_libdir}/libffi-%{version}
|
%{mingw64_libdir}/libffi-%{version}-%{rc_version}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user