Commit 02cd6314 authored by Mike Sullivan's avatar Mike Sullivan Committed by Natanael Copa

main/mt-st: add required sysmacros.h header

parent d24be01a
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=mt-st
pkgver=1.1
pkgrel=4
pkgrel=5
pkgdesc="Linux SCSI tape driver aware magnetic tape control"
url="http://www.ibiblio.org/pub/linux/system/backup/"
arch="all"
......@@ -11,6 +11,7 @@ makedepends='linux-headers'
install=
subpackages="$pkgname-doc"
source="http://www.ibiblio.org/pub/linux/system/backup/$pkgname-$pkgver.tar.gz
mt-st-include-sysmacros.patch
musl-path_max.patch"
_builddir="$srcdir"/$pkgname-$pkgver
......@@ -39,9 +40,6 @@ package() {
MANDIR=$pkgdir/usr/share/man install || return 1
}
md5sums="fdd5f5ec673c9f630a102ceff7612774 mt-st-1.1.tar.gz
06a7d26b71480105465c8b84303071fe musl-path_max.patch"
sha256sums="945cb4f3d9957dabe768f5941a9148b746396836c797b25f020c84319ba8170d mt-st-1.1.tar.gz
3ca59c3b94b0af048ad2811bf9f2f3b46542964e1952a118b7932bd850a5c86f musl-path_max.patch"
sha512sums="5fd11c430219c9c2d98f7567433a59c689e6f1bf9a2aaa13eb8df58569c1d70417965a4a62b5c9d0fc7e4e520ecb8d745911d18c3e2652c6aaedb94850743fdb mt-st-1.1.tar.gz
621711dc38436285f98f587a43393c505a101c1a99d3c2b652660cef98c6532813620d6f34fa7ca55fe2e13383e6b5c4930dad5996b4007262a6fdea449c18a7 mt-st-include-sysmacros.patch
207f355497930cb466f5e3ad9601098381da1555709f9dafdbc85efcd5ea9cb8299e22c54b34b12d8fb9880dec75c3f625b3065438f7284bbcdef21b4de82555 musl-path_max.patch"
--- a/mt.c
+++ b/mt.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <fcntl.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/utsname.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment