gentoo-ebuilds/x11-plugins/wmmaiload/files/wmmaiload-2.3.0-c23.patch
NHOrus 7f1d6f96e3
x11-plugins/wmmaiload: update EAPI 7 -> 8, port to C23
Also add dependency on openssl in build system that was missing from
ebuild.

Closes: https://bugs.gentoo.org/943914
Closes: https://bugs.gentoo.org/921310
Closes: https://bugs.gentoo.org/875470
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
2025-02-16 21:09:05 +01:00

34 lines
1,014 B
Diff

diff --git a/wmmaiload/dockapp.c b/wmmaiload/dockapp.c
index f29ec9c..ee659a4 100644
--- a/wmmaiload/dockapp.c
+++ b/wmmaiload/dockapp.c
@@ -27,6 +27,7 @@
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
+#include <stdlib.h>
#define WINDOWED_SIZE_W 64
#define WINDOWED_SIZE_H 64
diff --git a/wmmaiload/main.c b/wmmaiload/main.c
index a3d0b52..78ed1bb 100644
--- a/wmmaiload/main.c
+++ b/wmmaiload/main.c
@@ -138,7 +138,7 @@ static void mbox_add(MailBox **list, const char *value);
static BoxType getboxtype(const char *t);
static void free_mbox(MailBox **list);
static int nb_mbox(MailBox *list);
-static void check_cfg_values();
+static void check_cfg_values(Bool wait);
static void replace_box_list(MailBox *replace);
@@ -167,7 +167,7 @@ int main(int argc, char **argv)
#if DEBUG_LEVEL>0
printf("arguments parsed.\n");
#endif
- check_cfg_values();
+ check_cfg_values(False);
/* Load default configuration */
if (! config_file)
{