commit 163c944d811de6c8cf4773983499f60162739e53
Author: Jakub Bogusz <[email protected]>
Date:   Sun Feb 2 19:05:38 2014 +0100

    - added mingwex patch (fixes mingwex math library build for float/long 
double types)

 crossmingw32-runtime-mingwex.patch | 16 ++++++++++++++++
 crossmingw32-runtime.spec          |  4 +++-
 2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/crossmingw32-runtime.spec b/crossmingw32-runtime.spec
index 7d61a5f..daf8177 100644
--- a/crossmingw32-runtime.spec
+++ b/crossmingw32-runtime.spec
@@ -11,7 +11,8 @@ Source0:      
http://downloads.sourceforge.net/mingw/mingwrt-%{version}-1-mingw32-src
 Source1:       http://www.opengl.org/registry/api/GL/glext.h
 Source2:       http://www.opengl.org/registry/api/GL/wglext.h
 Patch0:                %{name}-format.patch
-Patch1:                crossmingw32-w32api-mmsystem.patch
+Patch1:                %{name}-mingwex.patch
+Patch2:                crossmingw32-w32api-mmsystem.patch
 URL:           http://www.mingw.org/
 BuildRequires: autoconf >= 2.68
 BuildRequires: automake
@@ -113,6 +114,7 @@ DirectX z API Win32 dla MinGW.
 dos2unix Makefile.in configure.ac */Makefile.in
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 cp /usr/share/automake/config.sub .
diff --git a/crossmingw32-runtime-mingwex.patch 
b/crossmingw32-runtime-mingwex.patch
new file mode 100644
index 0000000..a69073e
--- /dev/null
+++ b/crossmingw32-runtime-mingwex.patch
@@ -0,0 +1,16 @@
+--- mingwrt-4.0.3-1-mingw32-src/Makefile.in.orig       2014-02-02 
18:03:41.175040421 +0100
++++ mingwrt-4.0.3-1-mingw32-src/Makefile.in    2014-02-02 19:00:35.888230453 
+0100
+@@ -753,11 +753,11 @@
+       $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) -o $@ $<
+ 
+ SRCDIR := src/libcrt/math
+-$(SRCDIR)/%f.o: $(SRCDIR)/%.c
++$(SRCDIR)/asinhf.o : $(SRCDIR)/%f.o: $(SRCDIR)/%.c
+       $(MKDIR_P) $(@D)
+       $(CC) -c -D FUNCTION=$(@F:.o=) $(CPPFLAGS) $(ALL_CFLAGS) -o $@ $<
+ 
+-$(SRCDIR)/%l.o: $(SRCDIR)/%.c
++$(SRCDIR)/asinhl.o : $(SRCDIR)/%l.o: $(SRCDIR)/%.c
+       $(MKDIR_P) $(@D)
+       $(CC) -c -D FUNCTION=$(@F:.o=) $(CPPFLAGS) $(ALL_CFLAGS) -o $@ $<
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-runtime.git/commitdiff/163c944d811de6c8cf4773983499f60162739e53

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to