diff options
author | Sam James <sam@gentoo.org> | 2021-04-20 11:43:09 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-20 11:50:39 +0000 |
commit | 59d4a388745d142bf2ca9f25592424ff11ae7abe (patch) | |
tree | 4a1d380b625072e6c8a637853942947eebdab90b /x11-plugins | |
parent | dev-util/dropwatch: export PKG_CONFIG (diff) | |
download | gentoo-59d4a388745d142bf2ca9f25592424ff11ae7abe.tar.gz gentoo-59d4a388745d142bf2ca9f25592424ff11ae7abe.tar.bz2 gentoo-59d4a388745d142bf2ca9f25592424ff11ae7abe.zip |
x11-plugins/wmcalendar: fix patch
Closes: https://bugs.gentoo.org/784302
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/wmcalendar/files/wmcalendar-0.5.2-fno-common.patch | 24 |
1 files changed, 12 insertions, 12 deletions
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 index 603888241908..a889d4a9a9cc 100644 --- a/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-fno-common.patch +++ b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-fno-common.patch @@ -1,5 +1,5 @@ ---- a/src/calendar.c -+++ b/Src/calendar.c +--- a/calendar.c ++++ b/calendar.c @@ -1,5 +1,10 @@ #include "calendar.h" @@ -11,8 +11,8 @@ int get_datetype(int day){return datetype[day][0];} /*------------------------------------------------------ ---- a/Src/calendarfunc.c -+++ b/Src/calendarfunc.c +--- a/calendarfunc.c ++++ b/calendarfunc.c @@ -24,6 +24,7 @@ #include <stdio.h> @@ -21,8 +21,8 @@ long persian_jdn(struct icaltimetype dt) { ---- a/Src/calendarfunc.h -+++ b/Src/calendarfunc.h +--- a/calendarfunc.h ++++ b/calendarfunc.h @@ -70,5 +70,5 @@ int Ceil(float number); @@ -30,8 +30,8 @@ -int datemoon[200][2]; /* hashtable for moonphase.[jdn%32][0] stores moonphase of day jdn, +extern int datemoon[200][2]; /* hashtable for moonphase.[jdn%32][0] stores moonphase of day jdn, [jdn%32][1] stores jdn. */ ---- a/Src/calendar.h -+++ b/Src/calendar.h +--- a/calendar.h ++++ b/calendar.h @@ -5,10 +5,10 @@ #include <sys/stat.h> @@ -47,8 +47,8 @@ [jdn%32][1] stores jdn. */ struct calobj{ struct icaltimetype start; ---- a/Src/settings.c -+++ b/Src/settings.c +--- a/settings.c ++++ b/settings.c @@ -1,4 +1,14 @@ #include "settings.h" + @@ -64,8 +64,8 @@ void set_lang(int language){lang = language;} void setAppicon(int app){appicon = app;} void enter_callback( GtkWidget *widget, GtkWidget *entry ){ ---- a/Src/settings.h -+++ b/Src/settings.h +--- a/settings.h ++++ b/settings.h @@ -7,14 +7,14 @@ |