aboutsummaryrefslogtreecommitdiff
path: root/games/freeorion/files
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-09-09 07:34:57 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-09-09 07:34:57 +0000
commitdb76cd8be18927c6529d09f2884debac6eb0fd9b (patch)
tree0f69b5ab6016656ab41f2a3dcabdf9f4b5919d67 /games/freeorion/files
parentc887e0a58ce164590c1b4cec95004f1a6c4811f9 (diff)
downloadports-db76cd8be18927c6529d09f2884debac6eb0fd9b.tar.gz
ports-db76cd8be18927c6529d09f2884debac6eb0fd9b.zip
- Update to version 0.3.1.20070909.
- Fix building with new graphics/graphviz.
Notes
Notes: svn path=/head/; revision=199173
Diffstat (limited to 'games/freeorion/files')
-rw-r--r--games/freeorion/files/patch-UI__TechTreeWnd.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/freeorion/files/patch-UI__TechTreeWnd.cpp b/games/freeorion/files/patch-UI__TechTreeWnd.cpp
new file mode 100644
index 000000000000..6013690e6e6d
--- /dev/null
+++ b/games/freeorion/files/patch-UI__TechTreeWnd.cpp
@@ -0,0 +1,13 @@
+--- ./UI/TechTreeWnd.cpp.orig Fri Aug 10 21:45:52 2007
++++ ./UI/TechTreeWnd.cpp Sat Sep 8 15:48:32 2007
+@@ -55,6 +55,10 @@
+ const double MIN_SCALE = 0.1073741824; // = 1.0/(1.25)^10
+ const double MAX_SCALE = 1.0;
+
++ const double PI = 3.141594;
++
++ double PS2INCH(double x) { return PS2INCH(x); }
++
+ pointf Bezier(pointf* patch, double t)
+ {
+ pointf temp[6][6];