parted: portability patch from Alpine.
This commit is contained in:
parent
74bd3cfea0
commit
475b8110ad
2 changed files with 11 additions and 2 deletions
10
srcpkgs/parted/patches/fix-includes.patch
Normal file
10
srcpkgs/parted/patches/fix-includes.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- libparted/fs/xfs/platform_defs.h
|
||||||
|
+++ libparted/fs/xfs/platform_defs.h
|
||||||
|
@@ -35,6 +35,7 @@
|
||||||
|
#define __XFS_PLATFORM_DEFS_H__
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
+#include <fcntl.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
#include <assert.h>
|
||||||
|
#include <endian.h>
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'parted'
|
# Template file for 'parted'
|
||||||
pkgname=parted
|
pkgname=parted
|
||||||
version=3.2
|
version=3.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel device-mapper-devel"
|
makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel device-mapper-devel"
|
||||||
|
@ -18,7 +18,6 @@ libparted_package() {
|
||||||
vmove "usr/lib/*.so.*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libparted-devel_package() {
|
libparted-devel_package() {
|
||||||
depends="libparted>=${version}_${revision}"
|
depends="libparted>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue