diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-25 21:08:41 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-25 21:08:41 +0200 |
commit | 5cdeab06fe5b553185040d125da74b12f5ac6442 (patch) | |
tree | 91f2012fa4a7f13f4f6e87e13e5c854fea251fe4 /package/util-linux-ng/patches/patch-misc-utils_cal_c | |
parent | c98552118a8925f3927056294418543cdba736f7 (diff) | |
parent | 6f58e88ce0c721c8954898f81c9fbf8088fcba13 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/util-linux-ng/patches/patch-misc-utils_cal_c')
-rw-r--r-- | package/util-linux-ng/patches/patch-misc-utils_cal_c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/util-linux-ng/patches/patch-misc-utils_cal_c b/package/util-linux-ng/patches/patch-misc-utils_cal_c new file mode 100644 index 000000000..0f8df6815 --- /dev/null +++ b/package/util-linux-ng/patches/patch-misc-utils_cal_c @@ -0,0 +1,18 @@ +--- util-linux-ng-2.15.orig/misc-utils/cal.c 2009-03-25 13:20:18.000000000 +0100 ++++ util-linux-ng-2.15/misc-utils/cal.c 2009-06-22 22:49:19.000000000 +0200 +@@ -291,6 +291,7 @@ main(int argc, char **argv) { + * the locale database, which can be overridden with the + * -s (Sunday) or -m (Monday) options. + */ ++#if 0 + #ifdef HAVE_LANGINFO_H + /* + * You need to use 2 locale variables to get the first day of the week. +@@ -315,6 +316,7 @@ main(int argc, char **argv) { + weekstart = (wfd + *nl_langinfo(_NL_TIME_FIRST_WEEKDAY) - 1) % 7; + } + #endif ++#endif + + yflag = 0; + while ((ch = getopt(argc, argv, "13mjsyV")) != -1) |