mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
main/jfsutils: fix musl build
This commit is contained in:
parent
a88e28c7c3
commit
d9768c312d
@ -2,7 +2,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=jfsutils
|
||||
pkgver=1.1.15
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="JFS filesystem utilities"
|
||||
url="http://jfs.sourceforge.net"
|
||||
arch="all"
|
||||
@ -12,6 +12,7 @@ install=
|
||||
makedepends="e2fsprogs-dev" # pkgconfig is pulled in externally.
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz
|
||||
musl-fix-includes.patch
|
||||
missing-stdinth.patch"
|
||||
|
||||
_builddir="$srcdir"/$pkgname-$pkgver
|
||||
@ -43,4 +44,11 @@ package() {
|
||||
}
|
||||
|
||||
md5sums="8809465cd48a202895bc2a12e1923b5d jfsutils-1.1.15.tar.gz
|
||||
cd086dc5682094b81c25fa64ed820aca musl-fix-includes.patch
|
||||
da6e6be4d89d5652d9c1e99424634e42 missing-stdinth.patch"
|
||||
sha256sums="244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d jfsutils-1.1.15.tar.gz
|
||||
163754388fb2f8c7525b14d1f9cb07e35b91d0ff8f5964df20c3f042305f42d4 musl-fix-includes.patch
|
||||
cabb017038bccfcec5ff55b820105b1fefe679c122a03f2d186f5be8e33ca4d7 missing-stdinth.patch"
|
||||
sha512sums="fa8ba7f4997471da3e6ea7239564f3395046222cfbb2b10e37b24ad0bd107b7eadbb51ce328d89d193034360b4035ca5e0e5b0b416a74483d7a2c0a2b9c65858 jfsutils-1.1.15.tar.gz
|
||||
fb0d7348e2e13a6a9c3a987d161e0cf05363649515366ef49a45e3580b8f6135fce8465b99ff8a351231d970371c00bea6ceb9edb1d0f24da20d261b06ec85bd musl-fix-includes.patch
|
||||
a8e2332f2dec37affa8404b31e7e68399d815d450422ad342243c51d117e4d7ef4aaa0e30d1389380a81ed076a7ef1e1d41fcf260fa05ce4d823aa779628982d missing-stdinth.patch"
|
||||
|
||||
18
main/jfsutils/musl-fix-includes.patch
Normal file
18
main/jfsutils/musl-fix-includes.patch
Normal file
@ -0,0 +1,18 @@
|
||||
--- jfsutils-1.1.15.orig/libfs/fssubs.c
|
||||
+++ jfsutils-1.1.15/libfs/fssubs.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
+#include <paths.h>
|
||||
|
||||
#if HAVE_MNTENT_H
|
||||
#include <mntent.h>
|
||||
@@ -31,7 +32,6 @@
|
||||
#endif
|
||||
|
||||
#if HAVE_GETMNTINFO
|
||||
-#include <paths.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/mount.h>
|
||||
#endif
|
||||
Loading…
x
Reference in New Issue
Block a user