aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/grace/files/patch-ag19
-rw-r--r--math/grace/files/patch-ah19
-rw-r--r--math/grace/files/patch-ai17
3 files changed, 55 insertions, 0 deletions
diff --git a/math/grace/files/patch-ag b/math/grace/files/patch-ag
new file mode 100644
index 000000000000..e5a312c8fa2a
--- /dev/null
+++ b/math/grace/files/patch-ag
@@ -0,0 +1,19 @@
+*** src/t1fonts.c.org Thu Mar 27 13:00:03 2003
+--- src/t1fonts.c Thu Mar 27 13:00:36 2003
+***************
+*** 89,95 ****
+ return (RETURN_FAILURE);
+ }
+
+! nfonts = T1_Get_no_fonts();
+ if (nfonts < 1) {
+ return (RETURN_FAILURE);
+ }
+--- 89,95 ----
+ return (RETURN_FAILURE);
+ }
+
+! nfonts = T1_GetNoFonts();
+ if (nfonts < 1) {
+ return (RETURN_FAILURE);
+ }
diff --git a/math/grace/files/patch-ah b/math/grace/files/patch-ah
new file mode 100644
index 000000000000..bd6088823295
--- /dev/null
+++ b/math/grace/files/patch-ah
@@ -0,0 +1,19 @@
+*** src/fontwin.c.org Thu Mar 27 13:04:56 2003
+--- src/fontwin.c Thu Mar 27 13:05:30 2003
+***************
+*** 320,326 ****
+ Widget font_table = (Widget) data;
+
+ FontID = value;
+! switch (CheckForFontID(FontID)) {
+ case 0:
+ T1_LoadFont(FontID);
+ break;
+--- 320,326 ----
+ Widget font_table = (Widget) data;
+
+ FontID = value;
+! switch (T1_CheckForFontID(FontID)) {
+ case 0:
+ T1_LoadFont(FontID);
+ break;
diff --git a/math/grace/files/patch-ai b/math/grace/files/patch-ai
new file mode 100644
index 000000000000..8275b463a1fd
--- /dev/null
+++ b/math/grace/files/patch-ai
@@ -0,0 +1,17 @@
+*** cmath.h.org Thu Mar 27 13:57:30 2003
+--- cmath.h Thu Mar 27 13:59:41 2003
+***************
+*** 170,174 ****
+--- 170,181 ----
+ #endif
+
+ #ifndef HAVE_ISNAN_DECL
++ #ifdef __FreeBSD__
++ # include <sys/param.h>
++ # if __FreeBSD_version < 500100
++ extern int isnan ( double x );
++ # endif
++ #endif
++ #else
+ extern int isnan ( double x );
+ #endif