diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-28 20:40:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-28 20:40:51 +0000 |
commit | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (patch) | |
tree | 47c9d6e4243f39a1f48afd54c969b65b00a5c649 /x11-plugins/gkwebmon/files | |
parent | d934827bf44b7cfcf6711964418148fa60877668 (diff) |
gentoo resync : 28.11.2020
Diffstat (limited to 'x11-plugins/gkwebmon/files')
-rw-r--r-- | x11-plugins/gkwebmon/files/gkwebmon-0.2-cc-cflags-ldflags.patch (renamed from x11-plugins/gkwebmon/files/respect-cc-cflags-ldflags.patch) | 0 | ||||
-rw-r--r-- | x11-plugins/gkwebmon/files/gkwebmon-0.2-fno-common.patch | 38 |
2 files changed, 38 insertions, 0 deletions
diff --git a/x11-plugins/gkwebmon/files/respect-cc-cflags-ldflags.patch b/x11-plugins/gkwebmon/files/gkwebmon-0.2-cc-cflags-ldflags.patch index 7b3ee50f5321..7b3ee50f5321 100644 --- a/x11-plugins/gkwebmon/files/respect-cc-cflags-ldflags.patch +++ b/x11-plugins/gkwebmon/files/gkwebmon-0.2-cc-cflags-ldflags.patch diff --git a/x11-plugins/gkwebmon/files/gkwebmon-0.2-fno-common.patch b/x11-plugins/gkwebmon/files/gkwebmon-0.2-fno-common.patch new file mode 100644 index 000000000000..9738177db6fe --- /dev/null +++ b/x11-plugins/gkwebmon/files/gkwebmon-0.2-fno-common.patch @@ -0,0 +1,38 @@ +--- a/webmon.c ++++ b/webmon.c +@@ -7,6 +7,8 @@ + #include <openssl/md5.h> + #include <pthread.h> + ++int updatetime; ++ + + void clear_entry(int i) + { +--- a/webmon.h ++++ b/webmon.h +@@ -6,7 +6,7 @@ + + /* this is included in the saved config file */ + +-int updatetime; /* how often to check webpages (in hours) */ ++extern int updatetime; /* how often to check webpages (in hours) */ + + struct webinfo { + char *urlData; /* full url, pointed into by pointers below, internal '\0' */ +@@ -21,11 +21,13 @@ struct webinfo { + char use; + char updated; /* new md5 checksum in place */ + char flagged; /* a changed has been posted to tooltips for this entry */ +-} wi[20]; ++}; ++ ++extern struct webinfo wi[20]; + + /* end of data for config file */ + +-char wheretostore; /* 0 == webinfo.init_md5, 1 == webinfo.new_md5 */ ++extern char wheretostore; /* 0 == webinfo.init_md5, 1 == webinfo.new_md5 */ + + void parse_url_to_config_struct(int i, gchar *instr); /* parse URL and store data in webinfo struct */ + char *make_url_from_config_struct(int i); |