[packages/crossmingw32-runtime/DEVEL-5.4.2] - added memalign-includes patch (use local included for memalign.c compilation) - package <features.

qboosh qboosh at pld-linux.org
Tue Feb 15 22:42:33 CET 2022


commit 58a8f9ead22bc211d143c892748bb6c923e1362c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Feb 15 22:44:14 2022 +0100

    - added memalign-includes patch (use local included for memalign.c compilation)
    - package <features.h> required by <_mingw.h>

 crossmingw32-runtime.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/crossmingw32-runtime.spec b/crossmingw32-runtime.spec
index a9e0e37..5b97011 100644
--- a/crossmingw32-runtime.spec
+++ b/crossmingw32-runtime.spec
@@ -12,6 +12,7 @@ Source0:	https://osdn.net/projects/mingw/downloads/74925/mingwrt-%{version}-ming
 Patch0:		%{name}-gawk.patch
 Patch1:		%{name}-stdinc.patch
 Patch2:		%{name}-oldlib.patch
+Patch3:		%{name}-memalign-includes.patch
 URL:		https://osdn.net/projects/mingw/
 BuildRequires:	autoconf >= 2.68
 BuildRequires:	automake
@@ -81,6 +82,7 @@ dos2unix Makefile.in configure.ac */Makefile.in
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 cp -p %{_includedir}/w32api.h w32api.h.in
@@ -104,6 +106,9 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_dlldir}
 %{__mv} $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
 
+# required by <_mingw.h>, missing from install
+cp -p features.h $RPM_BUILD_ROOT%{_includedir}
+
 %if %{!?debug:1}0
 %{target}-strip $RPM_BUILD_ROOT%{_dlldir}/*.dll
 %{target}-strip -g $RPM_BUILD_ROOT%{_libdir}/*.a
@@ -129,6 +134,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/errno.h
 %{_includedir}/excpt.h
 %{_includedir}/fcntl.h
+%{_includedir}/features.h
 %{_includedir}/fenv.h
 %{_includedir}/float.h
 %{_includedir}/getopt.h
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-runtime.git/commitdiff/58a8f9ead22bc211d143c892748bb6c923e1362c



More information about the pld-cvs-commit mailing list