File glpk-have_config_h.patch of Package mingw64-glpk

From: BenoƮt Legat <benoit.legat@gmail.com>
Date: 2017-05-22 15:49:37 +0200
Subject: Avoid including config.h

See https://lists.gnu.org/archive/html/bug-glpk/2013-06/msg00012.html

---
 src/env/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: glpk-4.61/src/env/time.c
===================================================================
--- glpk-4.61.orig/src/env/time.c
+++ glpk-4.61/src/env/time.c
@@ -21,7 +21,7 @@
 *  along with GLPK. If not, see <http://www.gnu.org/licenses/>.
 ***********************************************************************/
 
-#ifdef HAVE_CONFIG_H
+#if 0
 #include <config.h>
 #endif

openSUSE Build Service is sponsored by