Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmcalendar/files/
Date: Tue, 20 Apr 2021 11:56:50
Message-Id: 1618919439.59d4a388745d142bf2ca9f25592424ff11ae7abe.sam@gentoo
1 commit: 59d4a388745d142bf2ca9f25592424ff11ae7abe
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 20 11:43:09 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 20 11:50:39 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d4a388
7
8 x11-plugins/wmcalendar: fix patch
9
10 Closes: https://bugs.gentoo.org/784302
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../files/wmcalendar-0.5.2-fno-common.patch | 24 +++++++++++-----------
14 1 file changed, 12 insertions(+), 12 deletions(-)
15
16 diff --git a/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-fno-common.patch b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-fno-common.patch
17 index 60388824190..a889d4a9a9c 100644
18 --- a/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-fno-common.patch
19 +++ b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-fno-common.patch
20 @@ -1,5 +1,5 @@
21 ---- a/src/calendar.c
22 -+++ b/Src/calendar.c
23 +--- a/calendar.c
24 ++++ b/calendar.c
25 @@ -1,5 +1,10 @@
26 #include "calendar.h"
27
28 @@ -11,8 +11,8 @@
29 int get_datetype(int day){return datetype[day][0];}
30
31 /*------------------------------------------------------
32 ---- a/Src/calendarfunc.c
33 -+++ b/Src/calendarfunc.c
34 +--- a/calendarfunc.c
35 ++++ b/calendarfunc.c
36 @@ -24,6 +24,7 @@
37 #include <stdio.h>
38
39 @@ -21,8 +21,8 @@
40
41 long persian_jdn(struct icaltimetype dt)
42 {
43 ---- a/Src/calendarfunc.h
44 -+++ b/Src/calendarfunc.h
45 +--- a/calendarfunc.h
46 ++++ b/calendarfunc.h
47 @@ -70,5 +70,5 @@
48
49 int Ceil(float number);
50 @@ -30,8 +30,8 @@
51 -int datemoon[200][2]; /* hashtable for moonphase.[jdn%32][0] stores moonphase of day jdn,
52 +extern int datemoon[200][2]; /* hashtable for moonphase.[jdn%32][0] stores moonphase of day jdn,
53 [jdn%32][1] stores jdn. */
54 ---- a/Src/calendar.h
55 -+++ b/Src/calendar.h
56 +--- a/calendar.h
57 ++++ b/calendar.h
58 @@ -5,10 +5,10 @@
59 #include <sys/stat.h>
60
61 @@ -47,8 +47,8 @@
62 [jdn%32][1] stores jdn. */
63 struct calobj{
64 struct icaltimetype start;
65 ---- a/Src/settings.c
66 -+++ b/Src/settings.c
67 +--- a/settings.c
68 ++++ b/settings.c
69 @@ -1,4 +1,14 @@
70 #include "settings.h"
71 +
72 @@ -64,8 +64,8 @@
73 void set_lang(int language){lang = language;}
74 void setAppicon(int app){appicon = app;}
75 void enter_callback( GtkWidget *widget, GtkWidget *entry ){
76 ---- a/Src/settings.h
77 -+++ b/Src/settings.h
78 +--- a/settings.h
79 ++++ b/settings.h
80 @@ -7,14 +7,14 @@