File dc3dd-gcc15.patch of Package dc3dd
Index: dc3dd-7.3.1/lib/posixtm.c
===================================================================
--- dc3dd-7.3.1.orig/lib/posixtm.c
+++ dc3dd-7.3.1/lib/posixtm.c
@@ -41,7 +41,7 @@
of `digit' even when the host does not conform to POSIX. */
#define ISDIGIT(c) ((unsigned int) (c) - '0' <= 9)
-time_t mktime ();
+time_t mktime (struct tm *tm);
/*
POSIX requires:
Index: dc3dd-7.3.1/m4/jm-macros.m4
===================================================================
--- dc3dd-7.3.1.orig/m4/jm-macros.m4
+++ dc3dd-7.3.1/m4/jm-macros.m4
@@ -38,7 +38,7 @@ AC_DEFUN([coreutils_MACROS],
# By default, argmatch should fail calling usage (1).
AC_DEFINE(ARGMATCH_DIE, [usage (1)],
[Define to the function xargmatch calls on failures.])
- AC_DEFINE(ARGMATCH_DIE_DECL, [void usage ()],
+ AC_DEFINE(ARGMATCH_DIE_DECL, [void usage (int)],
[Define to the declaration of the xargmatch failure function.])
# used by ls
@@ -131,7 +131,7 @@ AC_DEFUN([gl_CHECK_ALL_TYPES],
dnl This test must precede tests of compiler characteristics like
dnl that for the inline keyword, since it may change the degree to
dnl which the compiler supports such features.
- AC_REQUIRE([AM_C_PROTOTYPES])
+ dnl AC_REQUIRE([AM_C_PROTOTYPES])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_REQUIRE([AC_C_BIGENDIAN])