diff --git a/debian/patches/clang.patch b/debian/patches/clang.patch index e85cf9b..bf8a184 100644 --- a/debian/patches/clang.patch +++ b/debian/patches/clang.patch @@ -32,7 +32,7 @@ if (colorize) colorize_element(ELEMENT_WEEKDAY_NAMES); for (column = 1; column < 7; column++) print_dow_column(column); if (colorize) colorize_element(ELEMENT_SHABBAT_NAME); -@@ -1149,31 +1149,15 @@ void print_week( int jd, const int month +@@ -1152,31 +1152,15 @@ void print_week( int jd, const int month @@ -67,7 +67,7 @@ break; case 1: case 3: -@@ -1177,14 +1165,30 @@ int print_calendar ( const int current_m +@@ -1184,14 +1168,30 @@ int print_calendar ( const int current_m case 7: case 8: case 10: @@ -101,7 +101,7 @@ /********************************************************* * Preliminaries: * - Find the first sunday(s) of each calendar -@@ -1190,7 +1190,7 @@ int print_calendar ( const int current_m +@@ -1199,7 +1199,7 @@ int print_calendar ( const int current_m *********************************************************/ hdate_set_gdate (&h, 1, current_month, current_year); jd_current_month = h.hd_jd - h.hd_dw + 1; @@ -110,7 +110,7 @@ /********************************************************* * three months, side-by-side -@@ -1212,7 +1212,7 @@ int print_calendar ( const int current_m +@@ -1221,7 +1221,7 @@ int print_calendar ( const int current_m } hdate_set_gdate (&h, 1, previous_month, previous_year); jd_previous_month = h.hd_jd - h.hd_dw + 1; @@ -119,7 +119,7 @@ /********************************************************* * next month -@@ -1229,7 +1229,7 @@ int print_calendar ( const int current_m +@@ -1238,7 +1238,7 @@ int print_calendar ( const int current_m } hdate_set_gdate (&h, 1, next_month, next_year); jd_next_month = h.hd_jd - h.hd_dw + 1; @@ -130,7 +130,7 @@ --- a/examples/hcal/local_functions.c +++ b/examples/hcal/local_functions.c -@@ -646,62 +646,50 @@ file. Attempting to create a config file +@@ -645,62 +645,50 @@ file. Attempting to create a config file } @@ -211,7 +211,7 @@ config_home_path_name, config_sub_path_name, config_dir_name); -@@ -712,13 +700,30 @@ FILE* get_config_file( const char* confi +@@ -711,13 +699,30 @@ FILE* get_config_file( const char* confi return FALSE; } greetings_to_version_16(); @@ -243,7 +243,7 @@ /************************************************************ * main part of function get_config_file -@@ -750,7 +755,9 @@ FILE* get_config_file( const char* confi +@@ -749,7 +754,9 @@ FILE* get_config_file( const char* confi config_home_path_name, config_sub_path_name, config_dir_name, config_file_name); diff --git a/debian/patches/size_t.patch b/debian/patches/size_t.patch index 70b7b66..300c1fb 100644 --- a/debian/patches/size_t.patch +++ b/debian/patches/size_t.patch @@ -2,7 +2,7 @@ Author: Tzafrir Cohen --- a/examples/hcal/local_functions.c +++ b/examples/hcal/local_functions.c -@@ -247,11 +247,11 @@ void revstr( char *source, const size_t +@@ -251,11 +251,11 @@ void revstr( char *source, const size_t #define DEBUG 0 #if DEBUG @@ -16,7 +16,7 @@ size_t i,j; char *temp_buff; -@@ -272,7 +272,7 @@ printf("\nrevstr: entry: sourcelen = %d, +@@ -276,7 +276,7 @@ printf("\nrevstr: entry: sourcelen = %ld memcpy(source, temp_buff, source_len); source[source_len] = '\0'; #if DEBUG