mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-15 20:03:57 +02:00
mt-st: Add missing header
New version of musl no longer includes this header internally. Removed several unnecessary variables in Makefile. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
15884f28a1
commit
4cda68c72b
|
@ -9,14 +9,13 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=mt-st
|
PKG_NAME:=mt-st
|
||||||
PKG_VERSION:=1.1
|
PKG_VERSION:=1.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
|
|
||||||
PKG_SOURCE_URL:=ftp://ftp.ibiblio.org/pub/Linux/system/backup/
|
PKG_SOURCE_URL:=ftp://ftp.ibiblio.org/pub/Linux/system/backup/
|
||||||
PKG_HASH:=945cb4f3d9957dabe768f5941a9148b746396836c797b25f020c84319ba8170d
|
PKG_HASH:=945cb4f3d9957dabe768f5941a9148b746396836c797b25f020c84319ba8170d
|
||||||
|
|
||||||
|
PKG_MAINTAINER:=Giuseppe Magnotta <giuseppe.magnotta@gmail.com>
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
@ -26,7 +25,6 @@ define Package/mt-st
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
TITLE:=Magnetic tape control tools for Linux SCSI tapes
|
TITLE:=Magnetic tape control tools for Linux SCSI tapes
|
||||||
URL:=http://ftp.ibiblio.org/pub/Linux/system/backup/
|
URL:=http://ftp.ibiblio.org/pub/Linux/system/backup/
|
||||||
MAINTAINER:=Giuseppe Magnotta <giuseppe.magnotta@gmail.com>
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/mt-st/description
|
define Package/mt-st/description
|
||||||
|
|
10
utils/mt-st/patches/010-sysmacros.patch
Normal file
10
utils/mt-st/patches/010-sysmacros.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- a/mt.c
|
||||||
|
+++ b/mt.c
|
||||||
|
@@ -21,6 +21,7 @@
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
+#include <sys/sysmacros.h>
|
||||||
|
#include <sys/utsname.h>
|
||||||
|
|
||||||
|
#include "mtio.h"
|
Loading…
Reference in New Issue
Block a user