From e505f59bd946a85c7eb8d5b19d796ed4d45218df Mon Sep 17 00:00:00 2001
From: Daniel Engberg <daniel.engberg.lists@pyret.net>
Date: Tue, 11 Jul 2017 11:07:51 +0200
Subject: [PATCH] utils/util-linux: Update to 2.30.1

Refresh patch

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
---
 package/utils/util-linux/Makefile                         | 8 ++++----
 .../util-linux/patches/003-fix_pkgconfig_files.patch      | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/package/utils/util-linux/Makefile b/package/utils/util-linux/Makefile
index aea13ac8d6..bd52bb0916 100644
--- a/package/utils/util-linux/Makefile
+++ b/package/utils/util-linux/Makefile
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=util-linux
-PKG_VERSION:=2.29.2
+PKG_VERSION:=2.30.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.29
-PKG_HASH:=accea4d678209f97f634f40a93b7e9fcad5915d1f4749f6c47bee6bf110fe8e3
+PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.30
+PKG_HASH:=1be4363a91ac428c9e43fc04dc6d2c66a19ec1e36f1105bd4b481540be13b841
 
 PKG_LICENSE:=GPL-2.0
 PKG_LICENSE_FILES:=	COPYING					\
@@ -172,7 +172,7 @@ endef
 define Package/fdisk
 $(call Package/util-linux/Default)
   TITLE:=manipulate disk partition table
-  DEPENDS:= +libblkid +libsmartcols +libfdisk
+  DEPENDS:= +libblkid +libsmartcols +libfdisk +libncursesw
   SUBMENU=Disc
 endef
 
diff --git a/package/utils/util-linux/patches/003-fix_pkgconfig_files.patch b/package/utils/util-linux/patches/003-fix_pkgconfig_files.patch
index 16ba14ae35..c79813b1bd 100644
--- a/package/utils/util-linux/patches/003-fix_pkgconfig_files.patch
+++ b/package/utils/util-linux/patches/003-fix_pkgconfig_files.patch
@@ -10,7 +10,7 @@
  endif # BUILD_LIBUUID
 --- a/configure.ac
 +++ b/configure.ac
-@@ -2165,18 +2165,23 @@ AC_CONFIG_HEADERS([config.h])
+@@ -2255,18 +2255,23 @@ AC_CONFIG_HEADERS([config.h])
  #
  AC_CONFIG_FILES([
  Makefile
@@ -66,7 +66,7 @@
  endif # BUILD_LIBSMARTCOLS
 --- a/libfdisk/Makemodule.am
 +++ b/libfdisk/Makemodule.am
-@@ -8,7 +8,6 @@ SUBDIRS += libfdisk/docs
+@@ -9,7 +9,6 @@ SUBDIRS += libfdisk/docs
  endif
  
  pkgconfig_DATA += libfdisk/fdisk.pc
-- 
2.30.2