Alois Schlögl 5 years ago
commit b266570b4b

@ -939,7 +939,7 @@ feel free to submit a pull request.
<tr>
<th class="row" title=""> glpk </th>
<td>4.60 </td>
<td>4.65 </td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
@ -1009,7 +1009,7 @@ feel free to submit a pull request.
<tr>
<th class="row" title=""> gsl </th>
<td>2.3 </td>
<td>2.5 </td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
@ -3119,7 +3119,7 @@ feel free to submit a pull request.
<tr>
<th class="row" title=""> openssl </th>
<td>1.1.1b </td>
<td>1.1.1c </td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>

@ -449,9 +449,7 @@ make</pre>
<a href="https://qt-project.org/doc/qt-4.8/plugins-howto.html#static-plugins">Qt documentation about static plugins</a>.
</p>
<p>
Note the sql drivers (-qt-sql-*)
and the image handlers for jpeg, tiff, gif and mng
are built-in, <em>not</em> plugins.
Qt 4 only: Sql drivers (-qt-sql-*) and image handlers for jpeg, tiff, gif and mng are built-in, <em>not</em> plugins.
</p>
<h3 id="tutorial-5d">Step 5d: Cross compile your Project (Makefile)</h3>

@ -89,14 +89,14 @@
"glib": {"version": "2.50.2", "website": "https://gtk.org/", "description": "GLib"},
"glibmm": {"version": "2.42.0", "website": "https://www.gtkmm.org/", "description": "GLibmm"},
"glm": {"version": "0.9.9.0", "website": "https://glm.g-truc.net/", "description": "GLM - OpenGL Mathematics"},
"glpk": {"version": "4.60", "website": "https://www.gnu.org/software/glpk/", "description": "GNU Linear Programming Kit"},
"glpk": {"version": "4.65", "website": "https://www.gnu.org/software/glpk/", "description": "GNU Linear Programming Kit"},
"gmp": {"version": "6.1.2", "website": "https://gmplib.org/", "description": "GMP"},
"gnutls": {"version": "3.6.8", "website": "https://www.gnu.org/software/gnutls/", "description": "GnuTLS"},
"googlemock": {"version": "1.7.0", "website": "https://github.com/google/googlemock", "description": "Google Mock"},
"googletest": {"version": "1.7.0", "website": "https://github.com/google/googletest", "description": "Google Test"},
"gpgme": {"version": "1.12.0", "website": "https://www.gnupg.org/related_software/gpgme/", "description": "gpgme"},
"graphicsmagick": {"version": "1.3.21", "website": "http://www.graphicsmagick.org/", "description": "GraphicsMagick"},
"gsl": {"version": "2.3", "website": "https://www.gnu.org/software/gsl/", "description": "GSL"},
"gsl": {"version": "2.5", "website": "https://www.gnu.org/software/gsl/", "description": "GSL"},
"gsoap": {"version": "2.8.84", "website": "https://www.genivia.com/dev.html", "description": "gSOAP"},
"gst-libav": {"version": "1.16.0", "website": "https://gstreamer.freedesktop.org/modules/gst-libav.html", "description": ""},
"gst-plugins-bad": {"version": "1.16.0", "website": "https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html", "description": ""},
@ -307,7 +307,7 @@
"openjpeg": {"version": "2.3.1", "website": "https://www.openjpeg.org/", "description": "OpenJPEG"},
"openmp-validation": {"version": "ff8cf0c", "website": "https://github.com/uhhpctools/omp-validation", "description": "OpenMP Validation Suite"},
"openscenegraph": {"version": "3.6.3", "website": "http://www.openscenegraph.org/", "description": "OpenSceneGraph"},
"openssl": {"version": "1.1.1b", "website": "https://www.openssl.org/", "description": ""},
"openssl": {"version": "1.1.1c", "website": "https://www.openssl.org/", "description": ""},
"openthreads": {"version": "3.6.3", "website": "http://www.openscenegraph.org/", "description": "OpenThreads"},
"opus": {"version": "1.3.1", "website": "https://opus-codec.org/", "description": ""},
"opusfile": {"version": "0.11", "website": "https://opus-codec.org/", "description": ""},

@ -0,0 +1,60 @@
This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Wed, 29 May 2019 23:01:04 +0200
Subject: [PATCH 1/1] fix mingw build
Author: Chris Matrakidis
taken from https://lists.gnu.org/archive/html/help-glpk/2017-06/msg00039.html
diff --git a/config.h.in b/config.h.in
index 1111111..2222222 100644
--- a/config.h.in
+++ b/config.h.in
@@ -27,4 +27,7 @@
#undef TLS
/* thread local storage-class specifier for re-entrancy (if any) */
+#undef __WOE__
+/* for windows native compilers */
+
/* eof */
diff --git a/configure.ac b/configure.ac
index 1111111..2222222 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,13 @@ AC_CHECK_LIB([m], [exp])
dnl Check for <sys/time.h> header
AC_CHECK_HEADER([sys/time.h],
- AC_DEFINE([HAVE_SYS_TIME_H], [1], [N/A]))
+ ## Check for 64bit windows timeval type issue (tv_sec is not time_t)
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([
+ #include <sys/time.h>
+ enum {x = 1/(!!(sizeof(time_t) ==
+ sizeof(((struct timeval *)0)->tv_sec)))
+ };])], [AC_DEFINE([HAVE_SYS_TIME_H], [1], [N/A])],
+ [[AC_MSG_WARN([sys/time.h not used, tv_sec is not time_t])]]))
dnl Check for gettimeofday function
AC_CHECK_FUNC([gettimeofday],
@@ -190,6 +196,16 @@ case "${host}" in
esac
AC_SUBST([NOUNDEFINED])
+AC_MSG_CHECKING([for windows native compiler])
+case "${host}" in *-*-mingw*)
+ AC_MSG_RESULT([yes])
+ AC_DEFINE([__WOE__], [1], [N/A])
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+esac
+
AC_CONFIG_FILES(
[src/Makefile examples/Makefile Makefile])
AC_OUTPUT

@ -3,9 +3,9 @@
PKG := glpk
$(PKG)_WEBSITE := https://www.gnu.org/software/glpk/
$(PKG)_DESCR := GNU Linear Programming Kit
$(PKG)_IGNORE := 4.63
$(PKG)_VERSION := 4.60
$(PKG)_CHECKSUM := 1356620cb0a0d33ac3411dd49d9fd40d53ece73eaec8f6b8d19a77887ff5e297
$(PKG)_IGNORE :=
$(PKG)_VERSION := 4.65
$(PKG)_CHECKSUM := 4281e29b628864dfe48d393a7bedd781e5b475387c20d8b0158f329994721a10
$(PKG)_SUBDIR := glpk-$($(PKG)_VERSION)
$(PKG)_FILE := glpk-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://ftp.gnu.org/gnu/glpk/glpk-$($(PKG)_VERSION).tar.gz

@ -4,8 +4,8 @@ PKG := gsl
$(PKG)_WEBSITE := https://www.gnu.org/software/gsl/
$(PKG)_DESCR := GSL
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.4
$(PKG)_CHECKSUM := 4d46d07b946e7b31c19bbf33dda6204d7bedc2f5462a1bae1d4013426cd1ce9b
$(PKG)_VERSION := 2.5
$(PKG)_CHECKSUM := 0460ad7c2542caaddc6729762952d345374784100223995eb14d614861f2258d
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)

@ -3,8 +3,8 @@
PKG := openssl
$(PKG)_WEBSITE := https://www.openssl.org/
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.1.1b
$(PKG)_CHECKSUM := 5c557b023230413dfb0756f3137a13e6d726838ccd1430888ad15bfb2b43ea4b
$(PKG)_VERSION := 1.1.1c
$(PKG)_CHECKSUM := f6fb3079ad15076154eda9413fed42877d668e7069d9b87396d0804fdb3f4c90
$(PKG)_SUBDIR := openssl-$($(PKG)_VERSION)
$(PKG)_FILE := openssl-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://www.openssl.org/source/$($(PKG)_FILE)

Loading…
Cancel
Save