View | Details | Raw Unified
Collapse All | Expand All

(-) ccache-2.4.orig/ccache.c (+8 lines)
 Lines 481-487    Link Here 
		return;
		return;
	}
	}
#ifdef HAVE_UTIMES
	utimes(stderr_file, NULL);
#else
	utime(stderr_file, NULL);
	utime(stderr_file, NULL);
#endif
	if (strcmp(output_file, "/dev/null") == 0) {
	if (strcmp(output_file, "/dev/null") == 0) {
		ret = 0;
		ret = 0;
 Lines 515-521    Link Here 
	}
	}
	if (ret == 0) {
	if (ret == 0) {
		/* update the mtime on the file so that make doesn't get confused */
		/* update the mtime on the file so that make doesn't get confused */
#ifdef HAVE_UTIMES
		utimes(output_file, NULL);
#else
		utime(output_file, NULL);
		utime(output_file, NULL);
#endif
	}
	}
	/* get rid of the intermediate preprocessor file */
	/* get rid of the intermediate preprocessor file */
(-) ccache-2.4.orig/ccache.h (+3 lines)
 Lines 22-27    Link Here 
#ifdef HAVE_PWD_H
#ifdef HAVE_PWD_H
#include <pwd.h>
#include <pwd.h>
#endif
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#define STATUS_NOTFOUND 3
#define STATUS_NOTFOUND 3
#define STATUS_FATAL 4
#define STATUS_FATAL 4
(-) ccache-2.4.orig/config.h.in (+12 lines)
 Lines 19-24    Link Here 
/* Define to 1 if you have the `gethostname' function. */
/* Define to 1 if you have the `gethostname' function. */
#undef HAVE_GETHOSTNAME
#undef HAVE_GETHOSTNAME
/* Define to 1 if you have the `getpwuid' function. */
#undef HAVE_GETPWUID
/* Define to 1 if you have the <inttypes.h> header file. */
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
#undef HAVE_INTTYPES_H
 Lines 31-36    Link Here 
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
#undef HAVE_NDIR_H
#undef HAVE_NDIR_H
/* Define to 1 if you have the <pwd.h> header file. */
#undef HAVE_PWD_H
/* Define to 1 if you have the `realpath' function. */
/* Define to 1 if you have the `realpath' function. */
#undef HAVE_REALPATH
#undef HAVE_REALPATH
 Lines 60-65    Link Here 
/* Define to 1 if you have the <sys/stat.h> header file. */
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
/* Define to 1 if you have the <sys/types.h> header file. */
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
#undef HAVE_SYS_TYPES_H
 Lines 69-74    Link Here 
/* Define to 1 if you have the <unistd.h> header file. */
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
#undef HAVE_UNISTD_H
/* Define to 1 if you have the `utimes' function. */
#undef HAVE_UTIMES
/* Define to 1 if you have the `vasprintf' function. */
/* Define to 1 if you have the `vasprintf' function. */
#undef HAVE_VASPRINTF
#undef HAVE_VASPRINTF
(-) ccache-2.4.orig/configure.in (-1 / +2 lines)
 Lines 27-36    Link Here 
AC_HEADER_TIME
AC_HEADER_TIME
AC_HEADER_SYS_WAIT
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(ctype.h strings.h stdlib.h string.h pwd.h)
AC_CHECK_HEADERS(ctype.h strings.h stdlib.h string.h pwd.h sys/time.h)
AC_CHECK_FUNCS(realpath snprintf vsnprintf vasprintf asprintf mkstemp)
AC_CHECK_FUNCS(realpath snprintf vsnprintf vasprintf asprintf mkstemp)
AC_CHECK_FUNCS(gethostname getpwuid)
AC_CHECK_FUNCS(gethostname getpwuid)
AC_CHECK_FUNCS(utimes)
AC_CACHE_CHECK([for compar_fn_t in stdlib.h],ccache_cv_COMPAR_FN_T, [
AC_CACHE_CHECK([for compar_fn_t in stdlib.h],ccache_cv_COMPAR_FN_T, [
    AC_TRY_COMPILE(
    AC_TRY_COMPILE(