Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/lsscsi/, sys-fs/lsscsi/files/
Date: Wed, 17 Oct 2018 09:59:04
Message-Id: 1539770323.98b6ee85174ccef76d14a22ad4e5255e738b1fdf.zlogene@gentoo
1 commit: 98b6ee85174ccef76d14a22ad4e5255e738b1fdf
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 17 09:58:43 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 17 09:58:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98b6ee85
7
8 sys-fs/lsscsi: Drop old
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 sys-fs/lsscsi/Manifest | 1 -
14 sys-fs/lsscsi/files/lsscsi-0.28-sysmacros.patch | 37 -------------------------
15 sys-fs/lsscsi/lsscsi-0.28.ebuild | 18 ------------
16 3 files changed, 56 deletions(-)
17
18 diff --git a/sys-fs/lsscsi/Manifest b/sys-fs/lsscsi/Manifest
19 index 0ef3cef843c..c680a6a3fde 100644
20 --- a/sys-fs/lsscsi/Manifest
21 +++ b/sys-fs/lsscsi/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST lsscsi-0.28.tgz 150259 BLAKE2B e8376f306c61ebcbef055ba603bf42ece4dab13bd7755a1a90df64d9d70997943e73388c5a56b182d2fa3aed7aad8afeeab9ff89dd1ae9d0178f740de701503d SHA512 6d5cf8ebc42af0d8dbe8f2a1e90f4c429d058f184027318686fd22bc117e66c0b1847e4c97964d3d0e1b7bf4a5f1e296e1e3575ed2f5ff999eef70bdfb9ea4d4
24 DIST lsscsi-0.29.tgz 353116 BLAKE2B 6374410cadf7fb091f6dcc99bf9435b0af56bc603bbecdeadb76407efc5b2f6106a0fc65f9705d6dfe4cdbbd66494b8a966caffb08bb350d2e6128ee881546d9 SHA512 2c595cfc738815c9231ac078e47215ac46c1283bc8ad784a898eaef6d64f41311a9a08c96ea0dc9379bd79fe6c6ff4d2af176cea5aecaca74a0fa255746d84ad
25 DIST lsscsi-0.30.tgz 190598 BLAKE2B e22000c4c03fe31f40e6e95dbb6875fdf9266cb103108dc93748d2b245f2dc7edd93da7d3bf3b176187a2d8cace78ce1f7ce8f42da1454c05d8fd308e02db3b3 SHA512 ea1ba2bd2892b7e7feff0bf08ea09ffcdc38d21e4dba2cdce598d8ffde926a5908f2d02116d692bf4747b76c76c1c35974569583cb2da75eb49553959368dc76
26
27 diff --git a/sys-fs/lsscsi/files/lsscsi-0.28-sysmacros.patch b/sys-fs/lsscsi/files/lsscsi-0.28-sysmacros.patch
28 deleted file mode 100644
29 index 099256fdcdc..00000000000
30 --- a/sys-fs/lsscsi/files/lsscsi-0.28-sysmacros.patch
31 +++ /dev/null
32 @@ -1,37 +0,0 @@
33 -https://bugs.gentoo.org/580494
34 -
35 -From 5f1d6f46c8c1ac134841cfcce22dc7639598e032 Mon Sep 17 00:00:00 2001
36 -From: Mike Frysinger <vapier@g.o>
37 -Date: Tue, 19 Apr 2016 03:07:23 -0400
38 -Subject: [PATCH] include sys/sysmacros.h for major/minor
39 -
40 -These funcs are defined in sys/sysmacros.h, so include it to avoid:
41 -lsscsi.c: In function 'collect_dev_nodes':
42 -lsscsi.c:961:32: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration]
43 - cur_ent->maj = major(stats.st_rdev);
44 - ^
45 -lsscsi.c:962:32: warning: implicit declaration of function 'minor' [-Wimplicit-function-declaration]
46 - cur_ent->min = minor(stats.st_rdev);
47 - ^
48 -lsscsi.o: In function 'get_dev_node':
49 -lsscsi.c:(.text+0x10f0): undefined reference to 'major'
50 -lsscsi.c:(.text+0x1117): undefined reference to 'minor'
51 ----
52 - src/lsscsi.c | 1 +
53 - 1 file changed, 1 insertion(+)
54 -
55 -diff --git a/src/lsscsi.c b/src/lsscsi.c
56 -index e494169..61cfebd 100644
57 ---- a/src/lsscsi.c
58 -+++ b/src/lsscsi.c
59 -@@ -23,6 +23,7 @@
60 - #include <unistd.h>
61 - #include <getopt.h>
62 - #include <fcntl.h>
63 -+#include <sys/sysmacros.h>
64 - #include <sys/types.h>
65 - #include <sys/stat.h>
66 - #include <dirent.h>
67 ---
68 -2.7.4
69 -
70
71 diff --git a/sys-fs/lsscsi/lsscsi-0.28.ebuild b/sys-fs/lsscsi/lsscsi-0.28.ebuild
72 deleted file mode 100644
73 index e45263a560f..00000000000
74 --- a/sys-fs/lsscsi/lsscsi-0.28.ebuild
75 +++ /dev/null
76 @@ -1,18 +0,0 @@
77 -# Copyright 1999-2017 Gentoo Foundation
78 -# Distributed under the terms of the GNU General Public License v2
79 -
80 -EAPI=5
81 -
82 -inherit eutils
83 -
84 -DESCRIPTION="SCSI sysfs query tool"
85 -HOMEPAGE="http://sg.danny.cz/scsi/lsscsi.html"
86 -SRC_URI="http://sg.danny.cz/scsi/${P}.tgz"
87 -
88 -LICENSE="GPL-2"
89 -SLOT="0"
90 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
91 -
92 -src_prepare() {
93 - epatch "${FILESDIR}"/${P}-sysmacros.patch #580494
94 -}