diff options
Diffstat (limited to 'misc/gkrellweather2/files/extra-patch-lrintf')
-rw-r--r-- | misc/gkrellweather2/files/extra-patch-lrintf | 11 |
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" |