aboutsummaryrefslogtreecommitdiffstats
path: root/science/paje
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-01-14 17:14:53 +0800
committerdinoex <dinoex@FreeBSD.org>2012-01-14 17:14:53 +0800
commit3b39f2ac41d20056c7ead93d09ca56aca395e1d3 (patch)
treea15dac47dd28012e35fd323c23049ffa6df653f1 /science/paje
parent63c85ab7d6ab0fd0b39594a3632dfa5b02e336d3 (diff)
downloadfreebsd-ports-gnome-3b39f2ac41d20056c7ead93d09ca56aca395e1d3.tar.gz
freebsd-ports-gnome-3b39f2ac41d20056c7ead93d09ca56aca395e1d3.tar.zst
freebsd-ports-gnome-3b39f2ac41d20056c7ead93d09ca56aca395e1d3.zip
- fix build with gcc46
Diffstat (limited to 'science/paje')
-rw-r--r--science/paje/files/patch-DrawView+Finding.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/science/paje/files/patch-DrawView+Finding.m b/science/paje/files/patch-DrawView+Finding.m
new file mode 100644
index 000000000000..3366f696805e
--- /dev/null
+++ b/science/paje/files/patch-DrawView+Finding.m
@@ -0,0 +1,12 @@
+--- SpaceTimeViewer/DrawView+Finding.m.orig 2006-10-29 20:52:48.000000000 +0100
++++ SpaceTimeViewer/DrawView+Finding.m 2012-01-14 08:09:36.000000000 +0100
+@@ -24,7 +24,9 @@
+ #include "DrawView.h"
+
+ #include <math.h>
++#if !defined(__FreeBSD__)
+ #include <values.h>
++#endif
+
+
+ // returns a rectangle that is the same as rect but has positive height and width