summaryrefslogtreecommitdiff
path: root/misc/gkrellweather2/files/extra-patch-lrintf
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-03-01 23:35:17 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-03-01 23:35:17 +0000
commit28eaef1ec7bae7a75a36f01293c649e3e3d1a135 (patch)
treecfe5a1a0fd67b1ea1740aa9111bd2e1ba76686b0 /misc/gkrellweather2/files/extra-patch-lrintf
parentUpgrade ganglia to 3.0.0. (diff)
- Update to 2.0.7
- Use own copy of GrabWeather instead of wmweather's, which disappeared in latest revision of that port - Bandaid lack of C99 builtins in gcc in FreeBSD 4 (untested - runtesting welcome!)
Notes
Notes: svn path=/head/; revision=130135
Diffstat (limited to 'misc/gkrellweather2/files/extra-patch-lrintf')
-rw-r--r--misc/gkrellweather2/files/extra-patch-lrintf11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/gkrellweather2/files/extra-patch-lrintf b/misc/gkrellweather2/files/extra-patch-lrintf
new file mode 100644
index 000000000000..aacc5a32a00d
--- /dev/null
+++ b/misc/gkrellweather2/files/extra-patch-lrintf
@@ -0,0 +1,11 @@
+--- gkrellweather.c.orig Wed Mar 2 00:23:34 2005
++++ gkrellweather.c Wed Mar 2 00:28:58 2005
+@@ -7,6 +7,8 @@
+ #include <gkrellm2/gkrellm.h>
+ #include <math.h>
+
++#define lrintf(x) (int)rintf(x)
++
+ #define DEFAULT_STATION_ID "YSSY"
+
+ #define STYLE_NAME "weather"