Skip to content
Snippets Groups Projects
Verified Commit 26e78d27 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

system/jfsutils: pull in for JFS support

parent 27de4b3b
No related branches found
No related tags found
No related merge requests found
# Contributor: Teran McKinney <sega01@go-beyond.org>
# Maintainer:
pkgname=jfsutils
pkgver=1.1.15
pkgrel=2
pkgdesc="JFS filesystem utilities"
url="http://jfs.sourceforge.net"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="util-linux-dev" # libuuid is needed
subpackages="$pkgname-doc"
source="http://jfs.sourceforge.net/project/pub/jfsutils-$pkgver.tar.gz
musl-fix-includes.patch
missing-stdinth.patch"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--mandir=/usr/share/man
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make -j1 LDCONFIG=: DESTDIR="${pkgdir}" install
}
sha512sums="fa8ba7f4997471da3e6ea7239564f3395046222cfbb2b10e37b24ad0bd107b7eadbb51ce328d89d193034360b4035ca5e0e5b0b416a74483d7a2c0a2b9c65858 jfsutils-1.1.15.tar.gz
fb0d7348e2e13a6a9c3a987d161e0cf05363649515366ef49a45e3580b8f6135fce8465b99ff8a351231d970371c00bea6ceb9edb1d0f24da20d261b06ec85bd musl-fix-includes.patch
a8e2332f2dec37affa8404b31e7e68399d815d450422ad342243c51d117e4d7ef4aaa0e30d1389380a81ed076a7ef1e1d41fcf260fa05ce4d823aa779628982d missing-stdinth.patch"
--- jfsutils-1.1.15/fscklog/extract.c.orig
+++ jfsutils-1.1.15/fscklog/extract.c
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include "devices.h"
#include "diskmap.h"
--- 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment