initial commit
Package-Manager: portage-2.2.0_alpha188 RepoMan-Options: --force
This commit is contained in:
parent
716d615f0a
commit
4b7b7dfde6
11
sys-fs/fatresize/ChangeLog
Normal file
11
sys-fs/fatresize/ChangeLog
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# ChangeLog for sys-fs/fatresize
|
||||||
|
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
*fatresize-1.0.2 (23 Nov 2013)
|
||||||
|
|
||||||
|
23 Nov 2013; Mario Fetka <mario.fetka@gmail.com> +fatresize-1.0.2.ebuild,
|
||||||
|
+files/fatresize-1.0.2-libparted_ver_check.patch,
|
||||||
|
+files/fatresize-1.0.2-ped_assert.patch,
|
||||||
|
+files/fatresize-1.0.2-ped_free.patch:
|
||||||
|
initial commit
|
6
sys-fs/fatresize/Manifest
Normal file
6
sys-fs/fatresize/Manifest
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
AUX fatresize-1.0.2-libparted_ver_check.patch 731 SHA256 404489be05c69776996e196c5043afd5e5658115352956e3db7c3ff163c5e945 SHA512 289187be8b080052266ad869e683e48c48197884d28636849434bb01e49edeff009008779ec05b4daa64c429e0931c12c9eadb87496a72d01b46bed05c41866d WHIRLPOOL e3ef18d32a5daa69f9093909c392e6f5ef7070944ffd390921288de20b85d33bf6f3f41598a301cc06247daafa885b6153aecbb506a96ea4504865aeedeb3116
|
||||||
|
AUX fatresize-1.0.2-ped_assert.patch 818 SHA256 36561e1c8efcf427563f1ee43b473aadc6e6dca7864819cc6c78ec046a2b2291 SHA512 3cf781a32beb29b3a799fc8fb642f31bc0464394d5923632438addbb239d8973b649ddfef68bdafc8570b85d788a255023f23c11d7f5b2a36bf995bed838e38a WHIRLPOOL 153c13dce5d2e4e80b223c15d60590f61700ce8373c727bda2f01f2816b14c94612c789f91aa97a95e8930d2031617082b022e36cacc905d2c774c264c893b17
|
||||||
|
AUX fatresize-1.0.2-ped_free.patch 816 SHA256 bbf7b12bf8c4eb02f548a690834f267c95c8eaa3940c8bc77909aaff435b03ba SHA512 b84edb452086e7a9f1fe8b069721c8387ff720377392b71219ddc4751b915a03f382ad5536834f390a31844be6c932a60584f33645a0f7d3e706ae30978f24cb WHIRLPOOL 4f4e1fc5fd89c222623a1a57e77600a608953a391dfc8de3de522e29132833808cad1996010ee680b15fbd1699be2c3f496b45b279711ddaee4c2a21b216263f
|
||||||
|
DIST fatresize-1.0.2.tar.bz2 88352 SHA256 55fe0834fee07caa2b79b12648bbcd82a07780fa85afd780b504ef7625229713 SHA512 3792e110a393fcee51ef5a12c3e09f3a0792470dc3609a262bc0d4b3186ea96922d51db445c3ec7e7eb02741f29f631c94476990914bf4822e2eac0a1e3373f7 WHIRLPOOL 0c400899aae5a7dde117055cda81352d4368547d201a45ff7692ab9ff8e7e2ab4b12618205c2966c884efdc57f28527b2d686c4d4bf8f0a32ef09ae190bbe7bd
|
||||||
|
EBUILD fatresize-1.0.2.ebuild 820 SHA256 e94efcec28e08033d4c5c8641794e837940ac585f041af9271d9d58e9eaf7ec7 SHA512 9b35f051a571a92519a0207201c306cf6e7b23ced9f03a56360da2e20ec6716d91a9e1500aee394c95152cf12a8fe9c07137647dcd2f5dadf19fc88e752fb847 WHIRLPOOL 8ab1e0f31bca764db11cf074f12321af5a343f549ba60b2181314fee825a4b6dac0fd4eff268afe4fc3d89b9f8578aba9aaced3ce11841392a881069d0af5d66
|
||||||
|
MISC ChangeLog 378 SHA256 95357544d094f779cd788e35a9b4575bb6230719938b6728e75ba023dc3348fc SHA512 abcf7d702d697dd572588062b9a5f14c19e4bdd5a6c346505424b7d0f868a86d302d85eb62bc01f9341dddc7b41f5cd9d38967826f797189c7dce3a251dfa23f WHIRLPOOL f1b4d3d0a0d6e29b748960d91f8ad0e07ffb010f327f61db7a09b72175d54db118af705d187c48e584a17f456bb92012d2f02cf7f028193533c719a30b85a831
|
36
sys-fs/fatresize/fatresize-1.0.2.ebuild
Normal file
36
sys-fs/fatresize/fatresize-1.0.2.ebuild
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-arch/gzip/gzip-1.6.ebuild,v 1.1 2013/06/11 03:07:21 vapier Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit eutils flag-o-matic autotools
|
||||||
|
|
||||||
|
DESCRIPTION="The FAT16/FAT32 non-destructive resizer"
|
||||||
|
HOMEPAGE="http://sourceforge.net/projects/fatresize/"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=">=sys-block/parted-3.1"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${P}-libparted_ver_check.patch
|
||||||
|
epatch "${FILESDIR}"/${P}-ped_assert.patch
|
||||||
|
epatch "${FILESDIR}"/${P}-ped_free.patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install || die
|
||||||
|
dodoc AUTHORS ChangeLog README
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
diff -up fatresize-1.0.2/configure.ac.orig fatresize-1.0.2/configure.ac
|
||||||
|
--- fatresize-1.0.2/configure.ac.orig 2005-09-20 10:30:35.000000000 +0200
|
||||||
|
+++ fatresize-1.0.2/configure.ac 2012-12-17 23:33:06.238862845 +0100
|
||||||
|
@@ -29,8 +29,8 @@ CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac
|
||||||
|
dnl libparted
|
||||||
|
# hack
|
||||||
|
LIBS="$LIBS -ldl"
|
||||||
|
-PARTED_CHECK_LIBPARTED(1.6.0, ,
|
||||||
|
- [AC_MSG_ERROR([*** libparted >= 1.6.0 not installed - please install first ***])])
|
||||||
|
+AC_CHECK_LIB(parted, ped_malloc, [], AC_MSG_ERROR([*** libparted >= 3.1.0 not installed - please install first ***]))
|
||||||
|
+AC_CHECK_LIB(parted-fs-resize, ped_file_system_open, [], AC_MSG_ERROR([*** libparted-fs-resize >= 3.1.0 not installed - please install first ***]))
|
||||||
|
|
||||||
|
AC_SUBST(PARTED_LIBS)
|
||||||
|
|
21
sys-fs/fatresize/files/fatresize-1.0.2-ped_assert.patch
Normal file
21
sys-fs/fatresize/files/fatresize-1.0.2-ped_assert.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
diff -up fatresize-1.0.2/fatresize.c.orig fatresize-1.0.2/fatresize.c
|
||||||
|
--- fatresize-1.0.2/fatresize.c.orig 2005-09-20 10:29:08.000000000 +0200
|
||||||
|
+++ fatresize-1.0.2/fatresize.c 2012-12-18 00:07:00.000000000 +0100
|
||||||
|
@@ -217,7 +217,7 @@ fatresize_handler(PedException *ex)
|
||||||
|
static int
|
||||||
|
snap(PedSector* sector, PedSector new_sector, PedGeometry* range)
|
||||||
|
{
|
||||||
|
- PED_ASSERT(ped_geometry_test_sector_inside (range, *sector), return 0);
|
||||||
|
+ PED_ASSERT(ped_geometry_test_sector_inside (range, *sector));
|
||||||
|
if (!ped_geometry_test_sector_inside(range, new_sector))
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
@@ -281,7 +281,7 @@ snap_to_boundaries (PedGeometry* new_geo
|
||||||
|
end_part->geom.end, end_part->geom.start - 1, -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
- PED_ASSERT (start <= end, return);
|
||||||
|
+ PED_ASSERT (start <= end);
|
||||||
|
ped_geometry_set (new_geom, start, end - start + 1);
|
||||||
|
}
|
||||||
|
|
29
sys-fs/fatresize/files/fatresize-1.0.2-ped_free.patch
Normal file
29
sys-fs/fatresize/files/fatresize-1.0.2-ped_free.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
diff -up fatresize-1.0.2/fatresize.c.orig fatresize-1.0.2/fatresize.c
|
||||||
|
--- fatresize-1.0.2/fatresize.c.orig 2005-09-20 10:29:08.000000000 +0200
|
||||||
|
+++ fatresize-1.0.2/fatresize.c 2012-12-18 00:19:45.061745003 +0100
|
||||||
|
|
||||||
|
@@ -320,11 +320,11 @@ partition_warn_busy(PedPartition* part)
|
||||||
|
("Partition %s is being used. You must unmount it "
|
||||||
|
"before you modify it with Parted."),
|
||||||
|
path);
|
||||||
|
- ped_free(path);
|
||||||
|
+ free(path);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
- ped_free(path);
|
||||||
|
+ free(path);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -507,8 +507,8 @@ main(int argc, char **argv)
|
||||||
|
}
|
||||||
|
else if (!ped_unit_parse(def_str, dev, &end, &range_end))
|
||||||
|
return 1;
|
||||||
|
- ped_free(old_str);
|
||||||
|
- ped_free(def_str);
|
||||||
|
+ free(old_str);
|
||||||
|
+ free(def_str);
|
||||||
|
|
||||||
|
printd(3, "ped_geometry_duplicate()\n");
|
||||||
|
old_geom = ped_geometry_duplicate(&part->geom);
|
Loading…
Reference in New Issue
Block a user