File gmsh-2.10.1-implicit.patch of Package gmsh

diff -urN gmsh-2.6.1-source.orig/contrib/blossom/concorde97/EDGEGEN/edgegen.c gmsh-2.6.1-source/contrib/blossom/concorde97/EDGEGEN/edgegen.c
--- gmsh-2.6.1-source.orig/contrib/blossom/concorde97/EDGEGEN/edgegen.c	2012-07-15 11:04:58.000000000 +0200
+++ gmsh-2.6.1-source/contrib/blossom/concorde97/EDGEGEN/edgegen.c	2012-08-30 22:05:56.416887093 +0200
@@ -82,6 +82,10 @@
 /*                                                                         */
 /***************************************************************************/
 
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/socket.h>
 #include "machdefs.h"
 #include "util.h"
 #include "edgegen.h"
diff -urN gmsh-2.6.1-source.orig/contrib/blossom/concorde97/TSP/prob_io.c gmsh-2.6.1-source/contrib/blossom/concorde97/TSP/prob_io.c
--- gmsh-2.6.1-source.orig/contrib/blossom/concorde97/TSP/prob_io.c	2012-07-15 11:04:58.000000000 +0200
+++ gmsh-2.6.1-source/contrib/blossom/concorde97/TSP/prob_io.c	2012-08-30 22:06:32.120881391 +0200
@@ -66,6 +66,10 @@
 /*                                                                        */
 /**************************************************************************/
 
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/socket.h>
 #include "machdefs.h"
 #include "util.h"
 #include "tsp.h"
diff -urN gmsh-2.6.1-source.orig/contrib/blossom/concorde97/TSP/tsp_lp.c gmsh-2.6.1-source/contrib/blossom/concorde97/TSP/tsp_lp.c
--- gmsh-2.6.1-source.orig/contrib/blossom/concorde97/TSP/tsp_lp.c	2012-07-15 11:04:58.000000000 +0200
+++ gmsh-2.6.1-source/contrib/blossom/concorde97/TSP/tsp_lp.c	2012-08-30 22:07:09.196876812 +0200
@@ -207,6 +207,10 @@
 */
 
 
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/socket.h>
 #include "machdefs.h"
 #include "util.h"
 #include "macrorus.h"
diff -urN gmsh-2.6.1-source.orig/contrib/blossom/concorde97/UTIL/getdata.c gmsh-2.6.1-source/contrib/blossom/concorde97/UTIL/getdata.c
--- gmsh-2.6.1-source.orig/contrib/blossom/concorde97/UTIL/getdata.c	2012-07-15 11:04:58.000000000 +0200
+++ gmsh-2.6.1-source/contrib/blossom/concorde97/UTIL/getdata.c	2012-08-30 22:07:49.516877069 +0200
@@ -159,6 +159,10 @@
 /*                                                                         */
 /***************************************************************************/
 
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/socket.h>
 #include "machdefs.h"
 #include "util.h"
 
diff -urN gmsh-2.6.1-source.orig/contrib/blossom/concorde97/UTIL/safe_io.c gmsh-2.6.1-source/contrib/blossom/concorde97/UTIL/safe_io.c
--- gmsh-2.6.1-source.orig/contrib/blossom/concorde97/UTIL/safe_io.c	2012-07-15 11:04:58.000000000 +0200
+++ gmsh-2.6.1-source/contrib/blossom/concorde97/UTIL/safe_io.c	2012-08-30 21:31:48.904953261 +0200
@@ -54,6 +54,10 @@
 /*                                                                         */
 /***************************************************************************/
 
+#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <sys/socket.h>
 #include "machdefs.h"
 #include "util.h"
 
openSUSE Build Service is sponsored by