parted: portability patch from Alpine.
This commit is contained in:
parent
74bd3cfea0
commit
475b8110ad
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'
|
||||
pkgname=parted
|
||||
version=3.2
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel device-mapper-devel"
|
||||
@ -18,7 +18,6 @@ libparted_package() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
libparted-devel_package() {
|
||||
depends="libparted>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
Loading…
x
Reference in New Issue
Block a user