ports/x11/wmclockmon/patches/patch-wmclockmon-config_tools_c

27 lines
536 B
Text

Fix -fno-common build failure.
Index: wmclockmon-config/tools.c
--- wmclockmon-config/tools.c.orig
+++ wmclockmon-config/tools.c
@@ -17,6 +17,21 @@
#include <sys/types.h>
#include "configfile.h"
+int backlight;
+int switch_authorized;
+int h12;
+int time_mode;
+int use_leds;
+int use_locale;
+int showcal;
+int calalrms;
+char *style_name;
+char *style_dir;
+char *config_file;
+char *light_color;
+char *command;
+char *msgcmd;
+Alarm *alarms;
int fexist(const char *filename) {
FILE *file;