fix up coreutils build
authorEric Andersen <andersen@codepoet.org>
Wed, 19 Apr 2006 21:17:49 +0000 (21:17 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 19 Apr 2006 21:17:49 +0000 (21:17 -0000)
package/coreutils/coreutils-compile.patch
package/coreutils/coreutils.mk

index bcf1f9e84be8700aa7f787a12c29ce75bbd436e1..e3ba33cd73748a67cdd62cced31caba1e8362e59 100644 (file)
@@ -1,5 +1,5 @@
---- lib/time_r.h.orig  2006-04-19 12:03:46.000000000 -0600
-+++ lib/time_r.h       2006-04-19 12:03:50.000000000 -0600
+--- coreutils/lib/time_r.h.orig        2006-04-19 12:03:46.000000000 -0600
++++ coreutils/lib/time_r.h     2006-04-19 12:03:50.000000000 -0600
 @@ -26,7 +26,7 @@
     those declarations.  */
  #include <time.h>
index 0232f50ed470c75e09893cbdfb8c355e19b86f06..f0936f6f06569d25f46ae443533b186ce0775f2d 100644 (file)
@@ -81,6 +81,7 @@ $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked
                ac_cv_func_working_mktime=yes \
                jm_cv_func_working_re_compile_pattern=yes \
                ac_use_included_regex=no \
+               gl_cv_c_restrict=no \
                ./configure \
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \