mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-13 16:22:56 +02:00
gpart: fix crash on non-disk device
This commit is contained in:
parent
eddd2a97d1
commit
f127e74fb5
1 changed files with 9 additions and 3 deletions
|
@ -1,15 +1,21 @@
|
||||||
# Template file for 'gpart'
|
# Template file for 'gpart'
|
||||||
pkgname=gpart
|
pkgname=gpart
|
||||||
version=0.3
|
version=0.3
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake"
|
hostmakedepends="automake"
|
||||||
short_desc="Partition table rescue/guessing tool"
|
short_desc="Partition table rescue/guessing tool"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://github.com/baruch/gpart"
|
homepage="https://github.com/baruch/gpart"
|
||||||
distfiles="https://github.com/baruch/gpart/archive/${version}.tar.gz"
|
distfiles="https://github.com/baruch/gpart/archive/${version}.tar.gz
|
||||||
checksum=ec56d12ec9ffdb9877c12692ea6e51620b1ae44473d3d253b27fc31ed9ebb4dd
|
https://github.com/ndowens/voidpatches/archive/gpart-patches.tar.gz"
|
||||||
|
checksum="ec56d12ec9ffdb9877c12692ea6e51620b1ae44473d3d253b27fc31ed9ebb4dd
|
||||||
|
ac68a5275d878623add392fc6a68913735e6cfbed5a6c49fcbe48105f88b97eb"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
patch -p0 < ../voidpatches-gpart-patches/0004-Real-fix-for-crash.patch
|
||||||
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue