diff --git a/component/coreutils/buildout.cfg b/component/coreutils/buildout.cfg index cde9896e714f9bc4dbc9137df0201c3844335cb5..6bd2877a88b9ef5db84511fb8b7e9d2307a0861e 100644 --- a/component/coreutils/buildout.cfg +++ b/component/coreutils/buildout.cfg @@ -1,25 +1,15 @@ [buildout] +extends = + ../xz-utils/buildout.cfg parts = coreutils -[coreutils-drop.gets.patch] -recipe = hexagonit.recipe.download -url = ${:_profile_base_location_}/${:filename} -md5sum = 63c2299d92d23e4748abb9668b7e62ea -download-only = true -filename = drop.gets.patch - [coreutils] -virtual-depends = ${coreutils-drop.gets.patch:md5sum} recipe = hexagonit.recipe.cmmi -url = http://ftp.gnu.org/gnu/coreutils/coreutils-8.12.tar.gz -md5sum = fce7999953a67243d00d75cc86dbcaa6 - -patch-options = -p1 -patches = - ${coreutils-drop.gets.patch:location}/${coreutils-drop.gets.patch:filename} - +url = http://ftp.gnu.org/gnu/coreutils/coreutils-8.20.tar.xz +md5sum = 3d69af8f561fce512538a9fe85f147ff configure-options = --prefix=${buildout:parts-directory}/${:_buildout_section_name_} --enable-install-program=tr,basename,uname,cat,cp,ls environment = + PATH=${xz-utils:location}/bin:%(PATH)s LDFLAGS =-Wl,--as-needed diff --git a/component/coreutils/drop.gets.patch b/component/coreutils/drop.gets.patch deleted file mode 100644 index 58bb441952a02ccf1ea7edf8b1ae14db2757bfb4..0000000000000000000000000000000000000000 --- a/component/coreutils/drop.gets.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ur coreutils-8.12.old/lib/stdio.in.h coreutils-8.12/lib/stdio.in.h ---- coreutils-8.12.old/lib/stdio.in.h 2011-04-25 11:01:29.000000000 +0200 -+++ coreutils-8.12/lib/stdio.in.h 2012-07-23 16:02:17.591610452 +0200 -@@ -181,7 +181,9 @@ - so any use of gets warrants an unconditional warning. Assume it is - always declared, since it is required by C89. */ - #undef gets -+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) - _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif - - #if @GNULIB_FOPEN@ - # if @REPLACE_FOPEN@