1 |
commit: c8a40145ca455cf22abd392f20793a75368fdd80 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Apr 11 09:53:56 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 11 20:26:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8a40145 |
7 |
|
8 |
sys-block/tgt: remove unused patch |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
sys-block/tgt/files/tgt-1.0.69-sysmacros.patch | 38 -------------------------- |
14 |
1 file changed, 38 deletions(-) |
15 |
|
16 |
diff --git a/sys-block/tgt/files/tgt-1.0.69-sysmacros.patch b/sys-block/tgt/files/tgt-1.0.69-sysmacros.patch |
17 |
deleted file mode 100644 |
18 |
index 0b28f02e282..00000000000 |
19 |
--- a/sys-block/tgt/files/tgt-1.0.69-sysmacros.patch |
20 |
+++ /dev/null |
21 |
@@ -1,38 +0,0 @@ |
22 |
-https://bugs.gentoo.org/580594 |
23 |
-https://github.com/fujita/tgt/pull/25 |
24 |
- |
25 |
-From b092c6fe330a2eacf4b1d4eb093fad8e2fbcaed9 Mon Sep 17 00:00:00 2001 |
26 |
-From: Mike Frysinger <vapier@g.o> |
27 |
-Date: Sun, 27 Nov 2016 18:47:24 -0500 |
28 |
-Subject: [PATCH] fix build w/newer glibc |
29 |
-MIME-Version: 1.0 |
30 |
-Content-Type: text/plain; charset=UTF-8 |
31 |
-Content-Transfer-Encoding: 8bit |
32 |
- |
33 |
-Building with newer glibc versions fails like so: |
34 |
-bs_sg.c: In function ‘chk_sg_device’: |
35 |
-bs_sg.c:354:6: error: implicit declaration of function ‘major’ [-Werror=implicit-function-declaration] |
36 |
- if (major(st.st_rdev) == SCSI_GENERIC_MAJOR) |
37 |
- |
38 |
-This is because glibc is dropping the implicit sys/sysmacros.h include |
39 |
-from sys/types.h and making the few projects that need it include it |
40 |
-explicitly. |
41 |
---- |
42 |
- usr/bs_sg.c | 1 + |
43 |
- 1 file changed, 1 insertion(+) |
44 |
- |
45 |
-diff --git a/usr/bs_sg.c b/usr/bs_sg.c |
46 |
-index 66f4a3b22a18..fb544056f258 100644 |
47 |
---- a/usr/bs_sg.c |
48 |
-+++ b/usr/bs_sg.c |
49 |
-@@ -32,6 +32,7 @@ |
50 |
- #include <linux/fs.h> |
51 |
- #include <linux/major.h> |
52 |
- #include <sys/ioctl.h> |
53 |
-+#include <sys/sysmacros.h> |
54 |
- #include <sys/types.h> |
55 |
- #include <sys/stat.h> |
56 |
- #include <sys/epoll.h> |
57 |
--- |
58 |
-2.11.0.rc2 |
59 |
- |