freebsd-ports/misc/gkrellweather2/files/extra-patch-lrintf
Pav Lucistnik 28eaef1ec7 - 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!)
2005-03-01 23:35:17 +00:00

11 lines
275 B
Text

--- 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"