dosfstools: update to 4.0
- build system has been converted to use autotools - use '--enable-compat-symlinks' to install symlinks for legacy names of the tools - udev support - add patch to fix compilation with musl libc (upstreamed)
This commit is contained in:
parent
a4992e91fb
commit
376b9dd6fc
2 changed files with 19 additions and 9 deletions
10
srcpkgs/dosfstools/patches/musl-path_max.patch
Normal file
10
srcpkgs/dosfstools/patches/musl-path_max.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- src/device_info.c.orig
|
||||||
|
+++ src/device_info.c
|
||||||
|
@@ -17,6 +17,7 @@
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
+#include <limits.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <sys/types.h>
|
|
@ -1,17 +1,17 @@
|
||||||
# Template file for 'dosfstools'
|
# Template file for 'dosfstools'
|
||||||
pkgname=dosfstools
|
pkgname=dosfstools
|
||||||
version=3.0.28
|
version=4.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-configure
|
||||||
make_install_args="PREFIX=/usr SBINDIR=/usr/bin"
|
configure_args="--enable-compat-symlinks"
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="eudev-libudev-devel"
|
||||||
short_desc="DOS filesystem tools"
|
short_desc="DOS filesystem tools"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.daniel-baumann.ch/software/$pkgname"
|
homepage="https://github.com/dosfstools/dosfstools"
|
||||||
license="GPL-2"
|
license="GPL-3"
|
||||||
distfiles="https://github.com/$pkgname/$pkgname/releases/download/v$version/$pkgname-$version.tar.xz"
|
distfiles="https://github.com/$pkgname/$pkgname/releases/download/v$version/${pkgname}-${version}.tar.xz"
|
||||||
checksum=ee95913044ecf2719b63ea11212917649709a6e53209a72d622135aaa8517ee2
|
checksum=9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf
|
||||||
|
|
||||||
CFLAGS="-D_GNU_SOURCE -Du_int32_t=uint32_t"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/share/doc
|
rm -rf ${DESTDIR}/usr/share/doc
|
||||||
|
|
Loading…
Reference in a new issue