]> git.pld-linux.org Git - packages/crossmingw32-runtime.git/commitdiff
- added mingwex patch (fixes mingwex math library build for float/long double types)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Feb 2014 18:05:38 +0000 (19:05 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 2 Feb 2014 18:05:38 +0000 (19:05 +0100)
crossmingw32-runtime-mingwex.patch [new file with mode: 0644]
crossmingw32-runtime.spec

diff --git a/crossmingw32-runtime-mingwex.patch b/crossmingw32-runtime-mingwex.patch
new file mode 100644 (file)
index 0000000..a69073e
--- /dev/null
@@ -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 $@ $<
index 7d61a5f9454eb4c6d0857d9bfdbc6707276d3cef..daf8177afce77188cd5aed0fa53363f5421bdff7 100644 (file)
@@ -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 .
This page took 0.114913 seconds and 4 git commands to generate.