summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-05-14 12:03:42 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-14 12:03:42 +0200
commit013b0c0ae1596a428482f13533a0ce502af4d51d (patch)
tree6b31f67433ebba26eedc70c6d6bfbece0d981c0a /sys-apps/sg3_utils/files
parentnet-misc/kea: Remove old 1.8.1-r1 (diff)
downloadgentoo-013b0c0ae1596a428482f13533a0ce502af4d51d.tar.gz
gentoo-013b0c0ae1596a428482f13533a0ce502af4d51d.tar.bz2
gentoo-013b0c0ae1596a428482f13533a0ce502af4d51d.zip
sys-apps/sg3_utils: Remove old 1.42, 1.45-r2
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/sg3_utils/files')
-rw-r--r--sys-apps/sg3_utils/files/sg3_utils-1.42-sysmacros.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/sys-apps/sg3_utils/files/sg3_utils-1.42-sysmacros.patch b/sys-apps/sg3_utils/files/sg3_utils-1.42-sysmacros.patch
deleted file mode 100644
index e8440fb8c322..000000000000
--- a/sys-apps/sg3_utils/files/sg3_utils-1.42-sysmacros.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 13ff34d408cf69339ce1f28756f5c7b5ad5f528b Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Mon, 18 Apr 2016 18:36:09 -0400
-Subject: [PATCH] include sys/sysmacros.h for major/minor funcs
-
-These functions are not part of any official spec, and glibc has always
-kept them in sys/sysmacros.h. As glibc moves to conform to POSIX, and
-more alternative C libraries come up, we need to include this header
-explicitly to get the prototypes. Otherwise we fail to build like:
-
-sg_map26.o: In function 'nd_match_scandir_select':
-sg_map26.c:(.text+0x37b): undefined reference to 'major'
----
- include/sg_lib.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/include/sg_lib.h b/include/sg_lib.h
-index b3e741b..a0e483c 100644
---- a/include/sg_lib.h
-+++ b/include/sg_lib.h
-@@ -32,6 +32,7 @@
-
- #include <stdio.h>
- #include <stdint.h>
-+#include <sys/sysmacros.h>
-
- #ifdef __cplusplus
- extern "C" {
---
-2.7.4
-