diff options
Diffstat (limited to 'x11-clocks/wmfuzzy/files')
-rw-r--r-- | x11-clocks/wmfuzzy/files/patch-wmfuzzy.c | 15 | ||||
-rw-r--r-- | x11-clocks/wmfuzzy/files/patch-xdisplay.h | 10 |
2 files changed, 10 insertions, 15 deletions
diff --git a/x11-clocks/wmfuzzy/files/patch-wmfuzzy.c b/x11-clocks/wmfuzzy/files/patch-wmfuzzy.c deleted file mode 100644 index 9a7923579c52..000000000000 --- a/x11-clocks/wmfuzzy/files/patch-wmfuzzy.c +++ /dev/null @@ -1,15 +0,0 @@ ---- wmfuzzy.c.orig Wed Mar 17 16:58:40 2004 -+++ wmfuzzy.c Sat Mar 27 22:15:00 2004 -@@ -55,10 +55,10 @@ - } - - void display_time(const struct tm* tm) { -+ const ApproximateTime approximation = approximate(tm, gGranularity); -+ - static char text[30]; - memset(text, 0, ARRAY_SIZE(text)); -- -- const ApproximateTime approximation = approximate(tm, gGranularity); - - if (approximation.minutes == 0) - { diff --git a/x11-clocks/wmfuzzy/files/patch-xdisplay.h b/x11-clocks/wmfuzzy/files/patch-xdisplay.h new file mode 100644 index 000000000000..f061a7e8c588 --- /dev/null +++ b/x11-clocks/wmfuzzy/files/patch-xdisplay.h @@ -0,0 +1,10 @@ +--- xdisplay.h.orig Sun Nov 21 17:40:24 2004 ++++ xdisplay.h Sun Nov 21 17:42:34 2004 +@@ -11,6 +11,7 @@ + * functions in display.h. + */ + #include <ctype.h> ++#include <stddef.h> + + /* Set up code. Must be called prior to x_main_loop. */ + void display_initialise(int argc, char* argv[]); |