summaryrefslogtreecommitdiffstats
path: root/package/util-linux/util-linux-001-sscanf-no-ms-as.patch
diff options
context:
space:
mode:
authorRyan Barnett <rjbarnet@rockwellcollins.com>2013-09-05 15:55:03 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2013-09-09 11:41:33 +0200
commit0064439712ac0c73fb48cb9e4c978d3cee563a0e (patch)
tree56a49afddbdb314f7c910a8ade000718ef2c554a /package/util-linux/util-linux-001-sscanf-no-ms-as.patch
parentb17472e1fbd51c600304f9e2b060117a89b7646f (diff)
downloadbuildroot-0064439712ac0c73fb48cb9e4c978d3cee563a0e.tar.gz
buildroot-0064439712ac0c73fb48cb9e4c978d3cee563a0e.zip
util-linux: fix build failure with older systems
Adding patch util-linux-002-support-older-machines.patch to fix issues when building for older systems. Making all util-linux patches apply cleanly (fuzz fixes) Fixes http://autobuild.buildroot.org/results/349/349d6ff938b093623618669a1acb390aa2a5fafe Fixes http://autobuild.buildroot.org/results/57e/57e2c612c46b9e3b5f7bb213fcb3825b23fb7fc7 Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/util-linux/util-linux-001-sscanf-no-ms-as.patch')
-rw-r--r--package/util-linux/util-linux-001-sscanf-no-ms-as.patch12
1 files changed, 5 insertions, 7 deletions
diff --git a/package/util-linux/util-linux-001-sscanf-no-ms-as.patch b/package/util-linux/util-linux-001-sscanf-no-ms-as.patch
index 5d08b9b6a0..72a060e29c 100644
--- a/package/util-linux/util-linux-001-sscanf-no-ms-as.patch
+++ b/package/util-linux/util-linux-001-sscanf-no-ms-as.patch
@@ -4,20 +4,18 @@ See https://bugs.gentoo.org/show_bug.cgi?id=406303
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/util-linux/files/util-linux-2.21.1-no-printf-alloc.patch?revision=1.2
ported to util-linux-2.23.2
-diff -Nura a/configure.ac b/configure.ac
---- a/configure.ac 2012-12-13 08:16:02.973822890 -0300
-+++ b/configure.ac 2013-03-07 14:50:39.975512873 -0300
-@@ -733,7 +733,6 @@
+--- a/configure.ac 2013-07-30 03:39:26.188738061 -0500
++++ b/configure.ac 2013-09-05 15:31:11.460864363 -0500
+@@ -755,7 +755,6 @@
UL_BUILD_INIT([libmount])
UL_REQUIRES_LINUX([libmount])
UL_REQUIRES_BUILD([libmount], [libblkid])
-UL_REQUIRES_HAVE([libmount], [scanf_alloc_modifier], [scanf string alloc modifier])
AM_CONDITIONAL(BUILD_LIBMOUNT, test "x$build_libmount" = xyes)
AM_CONDITIONAL(BUILD_LIBMOUNT_TESTS, test "x$build_libmount" = xyes -a "x$enable_static" = xyes)
-
-diff -Nura a/libmount/src/tab_parse.c b/libmount/src/tab_parse.c
+
--- a/libmount/src/tab_parse.c 2013-07-30 03:39:26.218738358 -0500
-+++ b/libmount/src/tab_parse.c 2013-09-04 11:22:26.332917445 -0500
++++ b/libmount/src/tab_parse.c 2013-09-05 15:31:11.460864363 -0500
@@ -22,6 +22,10 @@
#include "pathnames.h"
#include "strutils.h"
OpenPOWER on IntegriCloud