From 0c43bcd8f1de654aa5824c952cd4e3429d0ee241 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Mon, 5 Aug 2019 01:19:15 +0000 Subject: system/jfsutils: Fix build for major/minor move Signed-off-by: Samuel Holland --- system/jfsutils/APKBUILD | 7 +++++-- system/jfsutils/sysmacros.patch | 10 ++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 system/jfsutils/sysmacros.patch (limited to 'system') diff --git a/system/jfsutils/APKBUILD b/system/jfsutils/APKBUILD index 55ff4139e..31cf3ee35 100644 --- a/system/jfsutils/APKBUILD +++ b/system/jfsutils/APKBUILD @@ -12,7 +12,9 @@ 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" + missing-stdinth.patch + sysmacros.patch + " build() { cd "$builddir" @@ -36,4 +38,5 @@ package() { sha512sums="fa8ba7f4997471da3e6ea7239564f3395046222cfbb2b10e37b24ad0bd107b7eadbb51ce328d89d193034360b4035ca5e0e5b0b416a74483d7a2c0a2b9c65858 jfsutils-1.1.15.tar.gz fb0d7348e2e13a6a9c3a987d161e0cf05363649515366ef49a45e3580b8f6135fce8465b99ff8a351231d970371c00bea6ceb9edb1d0f24da20d261b06ec85bd musl-fix-includes.patch -a8e2332f2dec37affa8404b31e7e68399d815d450422ad342243c51d117e4d7ef4aaa0e30d1389380a81ed076a7ef1e1d41fcf260fa05ce4d823aa779628982d missing-stdinth.patch" +a8e2332f2dec37affa8404b31e7e68399d815d450422ad342243c51d117e4d7ef4aaa0e30d1389380a81ed076a7ef1e1d41fcf260fa05ce4d823aa779628982d missing-stdinth.patch +9e5006bcee7595ee978bdd6791867a22de26b241dcd8d19b84a7694b3de11b20adcfd46d7999062663bdabf985abe3a53865089fdc219ecfe5476f2dcb93eaff sysmacros.patch" diff --git a/system/jfsutils/sysmacros.patch b/system/jfsutils/sysmacros.patch new file mode 100644 index 000000000..8c69d7bfa --- /dev/null +++ b/system/jfsutils/sysmacros.patch @@ -0,0 +1,10 @@ +--- jfsutils-1.1.15/libfs/devices.c ++++ jfsutils-1.1.15/libfs/devices.c +@@ -38,6 +38,7 @@ + #endif + + #include ++#include + #include + #include + #if defined(__DragonFly__) -- cgit v1.2.3-70-g09d2