From 95c571a682fba062014de856a38ec18987e879ca Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 27 May 2016 08:36:52 +0200 Subject: [PATCH] e2fsprogs: update to 1.43. --- srcpkgs/e2fsprogs/patches/cross.patch | 12 ++++++++++++ srcpkgs/e2fsprogs/template | 15 +++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 srcpkgs/e2fsprogs/patches/cross.patch diff --git a/srcpkgs/e2fsprogs/patches/cross.patch b/srcpkgs/e2fsprogs/patches/cross.patch new file mode 100644 index 00000000000..d839af88ac3 --- /dev/null +++ b/srcpkgs/e2fsprogs/patches/cross.patch @@ -0,0 +1,12 @@ +--- configure.ac.orig 2016-05-27 08:33:04.640545512 +0200 ++++ configure.ac 2016-05-27 08:33:48.959953501 +0200 +@@ -1381,6 +1381,9 @@ dnl + if test $cross_compiling = no; then + BUILD_CFLAGS="$CFLAGS $CPPFLAGS $INCLUDES -DHAVE_CONFIG_H" + BUILD_LDFLAGS="$LDFLAGS" ++else ++ BUILD_CFLAGS="$BUILD_CFLAGS $BUILD_CPPFLAGS $INCLUDES -DHAVE_CONFIG_H" ++ BUILD_LDFLAGS="$BUILD_LDFLAGS" + fi + AC_SUBST(BUILD_CFLAGS) + AC_SUBST(BUILD_LDFLAGS) diff --git a/srcpkgs/e2fsprogs/template b/srcpkgs/e2fsprogs/template index 5b5b36d1e24..82cf5c70e7c 100644 --- a/srcpkgs/e2fsprogs/template +++ b/srcpkgs/e2fsprogs/template @@ -1,29 +1,28 @@ # Template file for 'e2fsprogs' pkgname=e2fsprogs -version=1.42.13 -revision=2 +version=1.43 +revision=1 short_desc="Ext2/3/4 Filesystem Utilities" maintainer="Juan RP " license="GPL-2, LGPL-2.1" homepage="http://e2fsprogs.sourceforge.net/" distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz" -checksum=59993ff3a44f82e504561e0ebf95e8c8fa9f9f5746eb6a7182239605d2a4e2d4 +checksum=8729c4a7d2e7bb194ea4ea76db5473d9d0161cc94ad1641c50d7d61910055f0a build_style=gnu-configure -configure_args="--enable-htree --enable-elf-shlibs --disable-fsck +configure_args="--enable-elf-shlibs --disable-fsck --enable-e2initrd-helper --disable-rpath --with-root-prefix=/usr --disable-uuidd --disable-libuuid --disable-libblkid --enable-symlink-build --enable-symlink-install --enable-relative-symlinks - --sbindir=/usr/bin --libdir=/usr/lib" + --sbindir=/usr/bin --libdir=/usr/lib e2fsprogs_cv_struct_st_flags=no" make_install_args="install-libs" -hostmakedepends="pkg-config" +hostmakedepends="automake gettext-devel libtool pkg-config" makedepends="libuuid-devel libblkid-devel" conf_files="/etc/mke2fs.conf" pre_configure() { - sed -e 's,BUILD_CFLAGS=$,&\"$INCLUDES -DHAVE_CONFIG_H\",g' -i configure + autoreconf -fi } - post_install() { # Remove stuff belonging to libblkid or libuuid pkgs. find ${DESTDIR} -name \*blkid\* -o -name \*findfs\* \