summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-12-28 12:50:11 +0100
committerDavid Seifert <soap@gentoo.org>2020-12-28 12:50:11 +0100
commit1f02614a2f744c3bc9073a1cc4984a875747bc96 (patch)
treea64d298bb62f4561d17e6928d68dd09fd59d6e26 /app-misc/utimer/files/utimer-0.4-fno-common.patch
parentdev-ml/camlp4: restore 4.05_p1 (diff)
downloadgentoo-1f02614a2f744c3bc9073a1cc4984a875747bc96.tar.gz
gentoo-1f02614a2f744c3bc9073a1cc4984a875747bc96.tar.bz2
gentoo-1f02614a2f744c3bc9073a1cc4984a875747bc96.zip
app-misc/utimer: Port to EAPI 7
* Thanks to Jeroen Roovers for submitting the fno-common patch Closes: https://bugs.gentoo.org/717250 Closes: https://bugs.gentoo.org/709300 Package-Manager: Portage-3.0.9, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-misc/utimer/files/utimer-0.4-fno-common.patch')
-rw-r--r--app-misc/utimer/files/utimer-0.4-fno-common.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-misc/utimer/files/utimer-0.4-fno-common.patch b/app-misc/utimer/files/utimer-0.4-fno-common.patch
new file mode 100644
index 00000000000..a8386fe8e21
--- /dev/null
+++ b/app-misc/utimer/files/utimer-0.4-fno-common.patch
@@ -0,0 +1,29 @@
+--- a/src/utimer.h
++++ b/src/utimer.h
+@@ -66,9 +66,9 @@
+ #define TIMER_PRINT_RATE_MSEC 79
+ #define TIMER_CHECK_RATE_MSEC 500
+
+-GMainLoop *loop;
+-gboolean paused;
+-struct termios savedttystate;
+-Config ut_config;
++extern GMainLoop *loop;
++extern gboolean paused;
++extern struct termios savedttystate;
++extern Config ut_config;
+
+ #endif /* UTIMER_H */
+--- a/src/utils.c
++++ b/src/utils.c
+@@ -36,6 +36,10 @@
+ #include "utils.h"
+ #include "utimer.h"
+
++GMainLoop *loop;
++gboolean paused;
++struct termios savedttystate;
++Config ut_config;
+
+ gulong ul_add (gulong a, gulong b)
+ {