~alpine/aports

main/jfsutils: include sysmacros.h explicitly v1 PROPOSED

Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2908/mbox | git am -3
Learn more about email & git

[PATCH] main/jfsutils: include sysmacros.h explicitly Export this patch

alpine-mips-patches
---
 main/jfsutils/APKBUILD                 | 15 ++++++---------
 main/jfsutils/missing-sysmacrosh.patch | 11 +++++++++++
 2 files changed, 17 insertions(+), 9 deletions(-)
 create mode 100644 main/jfsutils/missing-sysmacrosh.patch

diff --git a/main/jfsutils/APKBUILD b/main/jfsutils/APKBUILD
index 5ab40b6cd0..0a7ec7d9ab 100644
--- a/main/jfsutils/APKBUILD
+++ b/main/jfsutils/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=jfsutils
 pkgver=1.1.15
-pkgrel=1
+pkgrel=2
 pkgdesc="JFS filesystem utilities"
 url="http://jfs.sourceforge.net"
 arch="all"
@@ -13,7 +13,9 @@ makedepends="e2fsprogs-dev" # 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"
+	missing-stdinth.patch
+	missing-sysmacrosh.patch
+	"
 
 _builddir="$srcdir"/$pkgname-$pkgver
 
@@ -43,12 +45,7 @@ package() {
 	make -j1 LDCONFIG=: DESTDIR="${pkgdir}" install || return 1
 }
 
-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"
+a8e2332f2dec37affa8404b31e7e68399d815d450422ad342243c51d117e4d7ef4aaa0e30d1389380a81ed076a7ef1e1d41fcf260fa05ce4d823aa779628982d  missing-stdinth.patch
+a81080314c9419e04cc3eb5eb508757ec145be435006566c3788a5bede6bac832ad349f08f446a219e06834e9f817da490a8bfa0450731dc7ede67691807e740  missing-sysmacrosh.patch"
diff --git a/main/jfsutils/missing-sysmacrosh.patch b/main/jfsutils/missing-sysmacrosh.patch
new file mode 100644
index 0000000000..ba7f620a9f
--- /dev/null
+++ b/main/jfsutils/missing-sysmacrosh.patch
@@ -0,0 +1,11 @@
+diff -urN a/libfs/devices.c b/libfs/devices.c
+--- a/libfs/devices.c	2009-03-23 15:37:05.000000000 +0000
+@@ -38,6 +38,7 @@
+ #endif
+ 
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #if defined(__DragonFly__)
-- 
2.22.0
View this thread in the archives