diff options
author | Michael Weber <xmw@gentoo.org> | 2013-04-26 10:54:30 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2013-04-26 10:54:30 +0000 |
commit | 7d6b8ccc3f14bbf47c92925c13b9df87ecf24f0d (patch) | |
tree | 8cfd8b73a232ab689edd663f7afb92c37fa32605 /sci-electronics/netgen/files/netgen-1.3.10-includes.patch | |
parent | Initial import (bug 124182) (diff) | |
download | historical-7d6b8ccc3f14bbf47c92925c13b9df87ecf24f0d.tar.gz historical-7d6b8ccc3f14bbf47c92925c13b9df87ecf24f0d.tar.bz2 historical-7d6b8ccc3f14bbf47c92925c13b9df87ecf24f0d.zip |
Initial import (bug 124182)
Package-Manager: portage-2.2.0_alpha173/cvs/Linux x86_64
Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'sci-electronics/netgen/files/netgen-1.3.10-includes.patch')
-rw-r--r-- | sci-electronics/netgen/files/netgen-1.3.10-includes.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sci-electronics/netgen/files/netgen-1.3.10-includes.patch b/sci-electronics/netgen/files/netgen-1.3.10-includes.patch new file mode 100644 index 000000000000..4101c5b8ea87 --- /dev/null +++ b/sci-electronics/netgen/files/netgen-1.3.10-includes.patch @@ -0,0 +1,51 @@ +--- netgen-1.4.40/base/config.h ++++ netgen-1.4.40/base/config.h +@@ -192,6 +192,7 @@ + extern char *Tcl_Strdup(const char *); + #define STRDUP(a) Tcl_Strdup((const char *)a) + #else ++ #include <stdlib.h> + #define CALLOC(a, s) calloc(a, s) + #define MALLOC(s) malloc(s) + #define FREE(a) free(a) +--- netgen-1.4.40/base/place.c ++++ netgen-1.4.40/base/place.c +@@ -34,6 +34,7 @@ + #include "config.h" + + #include <stdio.h> ++#include <stdlib.h> + #include <math.h> + #include <setjmp.h> + #include <signal.h> +--- netgen-1.3.10/tcltk/tclnetgen.c ++++ netgen-1.3.10/tcltk/tclnetgen.c +@@ -19,6 +19,8 @@ + /* tclnetgen.c --- Tcl interpreter interface for using netgen */ + + #include <stdio.h> ++#include <string.h> ++#include <stdlib.h> + + #include <tcl.h> + +--- netgen-1.3.10/base/netcmp.c ++++ netgen-1.3.10/base/netcmp.c +@@ -21,6 +21,7 @@ + #include "config.h" + + #include <stdio.h> ++#include <stdlib.h> + #include <setjmp.h> + #include <signal.h> + #include <time.h> /* for time() as a seed for random number generator */ +--- netgen-1.3.10/base/spice.c ++++ netgen-1.3.10/base/spice.c +@@ -21,6 +21,7 @@ + #include "config.h" + + #include <stdio.h> ++#include <stdlib.h> + #if 0 + #include <stdarg.h> /* what about varargs, like in pdutils.c ??? */ + #endif |