aboutsummaryrefslogtreecommitdiffstats
path: root/math/grace
diff options
context:
space:
mode:
authorlkoeller <lkoeller@FreeBSD.org>2003-03-27 21:19:24 +0800
committerlkoeller <lkoeller@FreeBSD.org>2003-03-27 21:19:24 +0800
commit35c2b73aff6e511c266ad064b1feb165280c3b32 (patch)
tree94e585912045d81f9d646bb7b33ff715f28faba3 /math/grace
parent67bb1f30004cab90876b1d2339be99173717806e (diff)
downloadfreebsd-ports-gnome-35c2b73aff6e511c266ad064b1feb165280c3b32.tar.gz
freebsd-ports-gnome-35c2b73aff6e511c266ad064b1feb165280c3b32.tar.zst
freebsd-ports-gnome-35c2b73aff6e511c266ad064b1feb165280c3b32.zip
o) Grrr forgotten to add the additional patchfiles
Diffstat (limited to 'math/grace')
-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