summaryrefslogtreecommitdiff
path: root/package/parted
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-06 11:55:53 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-06 11:56:08 +0200
commit428e6285df66d83eef179ac6df93a0f7e3db1a66 (patch)
tree84daa3ae70f4a7f019ec3fcd89d0e9a8a75c471d /package/parted
parent79a44ad433851e3e9443fbffbf690c5ab3316a94 (diff)
update to latest upstream, problem reported by joerg
Diffstat (limited to 'package/parted')
-rw-r--r--package/parted/Makefile18
-rw-r--r--package/parted/patches/patch-lib_stdio_in_h10
2 files changed, 12 insertions, 16 deletions
diff --git a/package/parted/Makefile b/package/parted/Makefile
index 8de45556c..d469f0863 100644
--- a/package/parted/Makefile
+++ b/package/parted/Makefile
@@ -4,21 +4,27 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= parted
-PKG_VERSION:= 3.1
-PKG_RELEASE:= 3
-PKG_MD5SUM:= 5d89d64d94bcfefa9ce8f59f4b81bdcb
+PKG_VERSION:= 3.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 0247b6a7b314f8edeb618159fa95f9cb
PKG_DESCR:= partition table editor
PKG_SECTION:= sys/fs
PKG_DEPENDS:= libblkid libuuid libreadline libpthread
-PKG_BUILDDEP:= util-linux readline
+PKG_DEPENDS+= libdevmapper
+PKG_BUILDDEP:= util-linux readline lvm
PKG_URL:= http://www.gnu.org/software/parted/index.shtml
PKG_SITES:= ${MASTER_SITE_GNU:=parted/}
+PKG_BUILDDEP_UCLIBC:= libiconv-tiny
+PKG_BUILDDEP_UCLIBC_NG:=libiconv-tiny
+
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,PARTED,parted,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+ifeq ($(ADK_TARGET_LIB_UCLIBC)$(ADK_TARGET_LIB_UCLIBC_NG),y)
+TARGET_LDFLAGS+= -liconv
+endif
-CONFIGURE_ARGS+= --disable-device-mapper
+$(eval $(call PKG_template,PARTED,parted,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
parted-install:
${INSTALL_DIR} $(IDIR_PARTED)/usr/sbin $(IDIR_PARTED)/usr/lib
diff --git a/package/parted/patches/patch-lib_stdio_in_h b/package/parted/patches/patch-lib_stdio_in_h
deleted file mode 100644
index 1fe225d7b..000000000
--- a/package/parted/patches/patch-lib_stdio_in_h
+++ /dev/null
@@ -1,10 +0,0 @@
---- parted-3.0.orig/lib/stdio.in.h 2011-05-30 09:07:16.000000000 +0200
-+++ parted-3.0/lib/stdio.in.h 2013-02-11 15:51:17.000000000 +0100
-@@ -735,7 +735,6 @@ _GL_CXXALIASWARN (gets);
- /* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
--_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
- #endif
-
-