sys-fs/lsscsi: Drop old

Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
This commit is contained in:
Mikle Kolyada
2018-10-17 12:58:43 +03:00
parent 3dee05ff37
commit 98b6ee8517
3 changed files with 0 additions and 56 deletions

View File

@@ -1,3 +1,2 @@
DIST lsscsi-0.28.tgz 150259 BLAKE2B e8376f306c61ebcbef055ba603bf42ece4dab13bd7755a1a90df64d9d70997943e73388c5a56b182d2fa3aed7aad8afeeab9ff89dd1ae9d0178f740de701503d SHA512 6d5cf8ebc42af0d8dbe8f2a1e90f4c429d058f184027318686fd22bc117e66c0b1847e4c97964d3d0e1b7bf4a5f1e296e1e3575ed2f5ff999eef70bdfb9ea4d4
DIST lsscsi-0.29.tgz 353116 BLAKE2B 6374410cadf7fb091f6dcc99bf9435b0af56bc603bbecdeadb76407efc5b2f6106a0fc65f9705d6dfe4cdbbd66494b8a966caffb08bb350d2e6128ee881546d9 SHA512 2c595cfc738815c9231ac078e47215ac46c1283bc8ad784a898eaef6d64f41311a9a08c96ea0dc9379bd79fe6c6ff4d2af176cea5aecaca74a0fa255746d84ad
DIST lsscsi-0.30.tgz 190598 BLAKE2B e22000c4c03fe31f40e6e95dbb6875fdf9266cb103108dc93748d2b245f2dc7edd93da7d3bf3b176187a2d8cace78ce1f7ce8f42da1454c05d8fd308e02db3b3 SHA512 ea1ba2bd2892b7e7feff0bf08ea09ffcdc38d21e4dba2cdce598d8ffde926a5908f2d02116d692bf4747b76c76c1c35974569583cb2da75eb49553959368dc76

View File

@@ -1,37 +0,0 @@
https://bugs.gentoo.org/580494
From 5f1d6f46c8c1ac134841cfcce22dc7639598e032 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 19 Apr 2016 03:07:23 -0400
Subject: [PATCH] include sys/sysmacros.h for major/minor
These funcs are defined in sys/sysmacros.h, so include it to avoid:
lsscsi.c: In function 'collect_dev_nodes':
lsscsi.c:961:32: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration]
cur_ent->maj = major(stats.st_rdev);
^
lsscsi.c:962:32: warning: implicit declaration of function 'minor' [-Wimplicit-function-declaration]
cur_ent->min = minor(stats.st_rdev);
^
lsscsi.o: In function 'get_dev_node':
lsscsi.c:(.text+0x10f0): undefined reference to 'major'
lsscsi.c:(.text+0x1117): undefined reference to 'minor'
---
src/lsscsi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lsscsi.c b/src/lsscsi.c
index e494169..61cfebd 100644
--- a/src/lsscsi.c
+++ b/src/lsscsi.c
@@ -23,6 +23,7 @@
#include <unistd.h>
#include <getopt.h>
#include <fcntl.h>
+#include <sys/sysmacros.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
--
2.7.4

View File

@@ -1,18 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils
DESCRIPTION="SCSI sysfs query tool"
HOMEPAGE="http://sg.danny.cz/scsi/lsscsi.html"
SRC_URI="http://sg.danny.cz/scsi/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
src_prepare() {
epatch "${FILESDIR}"/${P}-sysmacros.patch #580494
}