summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-08-05 01:19:15 +0000
committerSamuel Holland <samuel@sholland.org>2019-08-05 01:19:15 +0000
commit0c43bcd8f1de654aa5824c952cd4e3429d0ee241 (patch)
tree5fe1553bbb90b3451d7e1c71a49507845c804129 /system
parent484f778d507f36038efd370f4c4832900dc7faa8 (diff)
downloadpackages-0c43bcd8f1de654aa5824c952cd4e3429d0ee241.tar.gz
packages-0c43bcd8f1de654aa5824c952cd4e3429d0ee241.tar.bz2
packages-0c43bcd8f1de654aa5824c952cd4e3429d0ee241.tar.xz
packages-0c43bcd8f1de654aa5824c952cd4e3429d0ee241.zip
system/jfsutils: Fix build for major/minor move
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'system')
-rw-r--r--system/jfsutils/APKBUILD7
-rw-r--r--system/jfsutils/sysmacros.patch10
2 files changed, 15 insertions, 2 deletions
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 <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #if defined(__DragonFly__)