From 7b8895600ba2d818627ad1f1faf8c5dcf867beee Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 1 Dec 2014 22:56:57 -0500 Subject: [PATCH] Upgrade packages to compile with new glibc version To get rid of error because function gets() is considered a security risk. --- config/packages-list | 8 ++++---- stage2/hv-install-2 | 2 +- stage2/patches/common/grub-2.00-use-gets.patch | 18 ++++++++++++++++++ 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 stage2/patches/common/grub-2.00-use-gets.patch diff --git a/config/packages-list b/config/packages-list index 0026481..46864df 100644 --- a/config/packages-list +++ b/config/packages-list @@ -5,7 +5,7 @@ ABIWORD="abiword-2.8.6" ACK="ack-2.02" -ACPID="acpid-2.0.9" +ACPID="acpid-2.0.23" AGG="agg-2.5" ALSA_LIB="alsa-lib-1.0.25" ALSA_PLUGINS="alsa-plugins-1.0.25" @@ -174,7 +174,7 @@ ID3LIB="id3lib-3.8.3" IMAGE_MAGICK="ImageMagick-6.7.9-6" IMLIB2="imlib-1.4.2" INDENT="indent-2.2.10" -INETUTILS="inetutils-1.9.1" +INETUTILS="inetutils-1.9.2" INKSCAPE="inkscape-0.48.3.1" INTLTOOL="intltool-0.50.2" IPROUTE2="iproute2-3.3.0" @@ -226,7 +226,7 @@ LIBOGG="libogg-1.3.0" LIBOIL="liboil-0.3.17" LIBOPENJPEG="openjpeg-1.5.0" LIBPCAP="libpcap-1.3.0" -LIBPIPELINE="libpipeline-1.2.1" +LIBPIPELINE="libpipeline-1.4.0" LIBPNG="libpng-1.6.3" LIBPTHREAD_STUBS="libpthread-stubs-0.3" LIBRSVG="librsvg-2.36.3" @@ -263,7 +263,7 @@ LZO="lzo-2.06" LZOP="lzop-1.03" MAKE_PACKAGE="make-3.82" -MAN_DB="man-db-2.6.2" +MAN_DB="man-db-2.7.1" MANPAGES="man-pages-3.41" MERCURIAL="mercurial-2.5.4" MFOUR="m4-1.4.17" diff --git a/stage2/hv-install-2 b/stage2/hv-install-2 index 5870b94..6313a10 100755 --- a/stage2/hv-install-2 +++ b/stage2/hv-install-2 @@ -57,7 +57,7 @@ if [ -n "${WIFI_SUPPORT}" ]; then fi ipkg ${NANO} -ipkg -m noac ${ACPID} +ipkg ${ACPID} ipkg ${HV_UTILITIES} "--prefix=/usr/local" ipkg ${LZO} "--enable-shared --disable-static" diff --git a/stage2/patches/common/grub-2.00-use-gets.patch b/stage2/patches/common/grub-2.00-use-gets.patch new file mode 100644 index 0000000..e61580f --- /dev/null +++ b/stage2/patches/common/grub-2.00-use-gets.patch @@ -0,0 +1,18 @@ +Submitted By: Hugo Villeneuve +Date: 2014-12-01 +Initial Package Version: 2.00 +Upstream Status: Not sent +Origin: Hugo Villeneuve +Description: Fix compiler error because of gets + +diff -Naur grub-2.00.orig/grub-core/gnulib/stdio.in.h grub-2.00.new/grub-core/gnulib/stdio.in.h +--- grub-2.00.orig/grub-core/gnulib/stdio.in.h 2010-12-01 14:45:43.000000000 +0000 ++++ grub-2.00.new/grub-core/gnulib/stdio.in.h 2014-12-02 01:49:26.162779075 +0000 +@@ -141,7 +141,6 @@ + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + #undef gets +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@ -- 2.20.1