Skip to contentSkip to conversation

util-linux: bump version to 2.29.1

PATCH Superseded Vicente Olivert Riera 3 participants 3 messages Jan 23, 2017 – Jan 24, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 util-linux: bump version to 2.29.1

0001-build-sys-prefer-pkg-config-for-ncurses.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=3f7429fd2d539c7f948f72bd829404b55ac19d9f
0002-build-sys-cleanup-UL_NCURSES_CHECK.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=862326451184bb0fe9c2b2b110fcfc986f9b1734
0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=9ea8ded37b648bbd538cbf9c4d144b8b1a93c1b5

---
 ...1-build-sys-prefer-pkg-config-for-ncurses.patch | 76 ------------------
 .../0002-build-sys-cleanup-UL_NCURSES_CHECK.patch  | 91 ---------------------
 ...ix-compilation-with-ncurses-and-uClibc-or.patch | 92 ----------------------
 package/util-linux/util-linux.hash                 |  2 +-
 package/util-linux/util-linux.mk                   |  2 +-
 5 files changed, 2 insertions(+), 261 deletions(-)
 delete mode 100644 package/util-linux/0001-build-sys-prefer-pkg-config-for-ncurses.patch
 delete mode 100644 package/util-linux/0002-build-sys-cleanup-UL_NCURSES_CHECK.patch
 delete mode 100644 package/util-linux/0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch
package/util-linux/0001-build-sys-prefer-pkg-config-for-ncurses.patch deleted +0 -76
deleted file mode 100644
index ca22ee2..0000000
@@ -1,76 +0,0 @@
-From 3f7429fd2d539c7f948f72bd829404b55ac19d9f Mon Sep 17 00:00:00 2001
-From: Karel Zak <[email protected]>
-Date: Mon, 12 Dec 2016 15:23:53 +0100
-Subject: [PATCH] build-sys: prefer pkg-config for ncurses
-
-and use ncurses{5,6}-config as fallback only.
-
-Signed-off-by: Karel Zak <[email protected]>
----
- m4/ul.m4 | 48 ++++++++++++++++++++++++++++--------------------
- 1 file changed, 28 insertions(+), 20 deletions(-)
-
-diff --git a/m4/ul.m4 b/m4/ul.m4
-index c569c36..44c721e 100644
---- a/m4/ul.m4
-+++ b/m4/ul.m4
-@@ -438,28 +438,36 @@ dnl The expected <name> is ncurses or ncursesw.
- dnl
- AC_DEFUN([UL_NCURSES_CHECK], [
-   m4_define([suffix], $1)
-+  m4_define([suffixup], m4_toupper($1))
-+
-+  # pkg-config
-+  PKG_CHECK_MODULES(suffixup, [$1], [
-+    have_[]suffix=yes
-+    NCURSES_LIBS=${suffixup[]_LIBS}
-+    NCURSES_CFLAGS=${suffixup[]_CFLAGS}
-+  ],[have_[]suffix=no])
- 
-   # ncurses-config should be everywhere, pkg-config is not supported by default
-   # by ncurses upstream
-   #
--  AC_MSG_CHECKING([$1])
--  if AC_RUN_LOG([suffix[]6-config --version >/dev/null]); then
--    have_[]suffix=yes
--    NCURSES_LIBS=`suffix[]6-config --libs`
--    NCURSES_CFLAGS=`suffix[]6-config --cflags`
--    AC_MSG_RESULT([(v6) yes])
--  elif AC_RUN_LOG([suffix[]5-config --version >/dev/null]); then
--    have_[]suffix=yes
--    NCURSES_LIBS=`suffix[]5-config --libs`
--    NCURSES_CFLAGS=`suffix[]5-config --cflags`
--    AC_MSG_RESULT([(v5) yes])
--  else
--    AC_MSG_RESULT([no])
--
--    # fallback
--    AC_CHECK_LIB([$1], [initscr], [have_[]suffix=yes], [have_[]suffix=no])
--    AS_IF([test "x$have_[]suffix" = xyes], [
--      NCURSES_LIBS="-l[]suffix"
--    ])
--  fi
-+  AS_IF([test "x$have_[]suffix" = xno], [
-+    AC_MSG_CHECKING([$1 config])
-+    if AC_RUN_LOG([suffix[]6-config --version >/dev/null]); then
-+      have_[]suffix=yes
-+      NCURSES_LIBS=`suffix[]6-config --libs`
-+      NCURSES_CFLAGS=`suffix[]6-config --cflags`
-+      AC_MSG_RESULT([(v6) yes])
-+    elif AC_RUN_LOG([suffix[]5-config --version >/dev/null]); then
-+      have_[]suffix=yes
-+      NCURSES_LIBS=`suffix[]5-config --libs`
-+      NCURSES_CFLAGS=`suffix[]5-config --cflags`
-+      AC_MSG_RESULT([(v5) yes])
-+    else
-+      AC_MSG_RESULT([no])
-+      AS_IF([test "x$have_[]suffix" = xno], [
-+        AC_CHECK_LIB([$1], [initscr], [have_[]suffix=yes], [have_[]suffix=no])
-+        AS_IF([test "x$have_[]suffix" = xyes], [NCURSES_LIBS="-l[]suffix"])
-+      ])
-+    fi
-+  ])
- ])
--- 
-2.6.2
-
package/util-linux/0002-build-sys-cleanup-UL_NCURSES_CHECK.patch deleted +0 -91

91 lines not on this page · raw message

package/util-linux/0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch deleted +0 -92

92 lines not on this page · raw message

package/util-linux/util-linux.hash +1 -1
index 4f19851..ec6cc8e 100644
@@ -1,2 +1,2 @@
 # From https://www.kernel.org/pub/linux/utils/util-linux/v2.29/sha256sums.asc
-sha256 2c59ea67cc7b564104f60532f6e0a95fe17a91acb870ba8fd7e986f273abf9e7  util-linux-2.29.tar.xz
+sha256 0ce40600b934ec2fecfa6bfc4efe6982d051ba96c2832b05201347aec582f54f  util-linux-2.29.1.tar.xz
package/util-linux/util-linux.mk +1 -1
index 51ece90..845ceaa 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 UTIL_LINUX_VERSION_MAJOR = 2.29
-UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR)
+UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).1
 UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz
 UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR)
 
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/1 util-linux: bump version to 2.29.1

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

0001-build-sys-prefer-pkg-config-for-ncurses.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=3f7429fd2d539c7f948f72bd829404b55ac19d9f
0002-build-sys-cleanup-UL_NCURSES_CHECK.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=862326451184bb0fe9c2b2b110fcfc986f9b1734
0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=9ea8ded37b648bbd538cbf9c4d144b8b1a93c1b5

Do we then still need _AUTORECONF = yes and the MKINSTALLDIRS workaround at the bottom of the .mk?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 util-linux: bump version to 2.29.1

Quoted 16 lines

From: "Peter Korsgaard" <[email protected]>
To: "Vicente Olivert Riera" <[email protected]>
Cc: buildroot at buildroot.org
Sent: Monday, January 23, 2017 5:47:17 PM
Subject: Re: [Buildroot] [PATCH] util-linux: bump version to 2.29.1

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

0001-build-sys-prefer-pkg-config-for-ncurses.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=3f7429fd2d539c7f948f72bd829404b55ac19d9f
0002-build-sys-cleanup-UL_NCURSES_CHECK.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=862326451184bb0fe9c2b2b110fcfc986f9b1734
0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch already included:
http://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=9ea8ded37b648bbd538cbf9c4d144b8b1a93c1b5

Quoted 2 lines

Do we then still need _AUTORECONF = yes and the MKINSTALLDIRS workaround at the bottom of the .mk?

I confirmed that both util-linux and host-util-linux build successfully without _AUTORECONF = yes and the MKINSTALLDIRS workaround.

Carlos Santos (Casantos) - DATACOM, P&D
?Something must be done. This is something. Therefore we must do it.? (from the BBC series ?Yes, Prime Minister?, ?Power to the people?)