From b8880a58830aa5a99561684986207381d41924ae Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 23 May 2007 20:31:13 +0000 Subject: [PATCH] Clifford Wolf: Tiny m4 build fix (be carefully with C99 features) [2007051623560510116] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8456 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/m4/hotfixes.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/base/m4/hotfixes.patch diff --git a/package/base/m4/hotfixes.patch b/package/base/m4/hotfixes.patch new file mode 100644 index 000000000..a01f81246 --- /dev/null +++ b/package/base/m4/hotfixes.patch @@ -0,0 +1,22 @@ +--- ./lib/sys_time_.h 2007-05-16 23:33:02.000000000 +0200 ++++ ./lib/sys_time_.h 2007-05-16 23:35:10.000000000 +0200 +@@ -39,7 +39,7 @@ + #if 1 + # undef gettimeofday + # define gettimeofday rpl_gettimeofday +-int gettimeofday (struct timeval *restrict, void *restrict); ++int gettimeofday (struct timeval *tv, void *tz); + #endif + + #endif /* _gl_SYS_TIME_H */ +--- ./lib/gettimeofday.c 2007-05-16 23:34:08.000000000 +0200 ++++ ./lib/gettimeofday.c 2007-05-16 23:35:31.000000000 +0200 +@@ -98,7 +98,7 @@ + causes problems. */ + + int +-rpl_gettimeofday (struct timeval *restrict tv, void *restrict tz) ++rpl_gettimeofday (struct timeval *tv, void *tz) + { + #undef gettimeofday + #if HAVE_GETTIMEOFDAY