From f1af93971b7490792d8541bc790e0d8c6d787059 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2019 10:28:05 +0100 Subject: gentoo resync : 06.08.2019 --- .../numactl/files/numactl-2.0.11-sysmacros.patch | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 sys-process/numactl/files/numactl-2.0.11-sysmacros.patch (limited to 'sys-process/numactl/files/numactl-2.0.11-sysmacros.patch') diff --git a/sys-process/numactl/files/numactl-2.0.11-sysmacros.patch b/sys-process/numactl/files/numactl-2.0.11-sysmacros.patch deleted file mode 100644 index 3f9536757391..000000000000 --- a/sys-process/numactl/files/numactl-2.0.11-sysmacros.patch +++ /dev/null @@ -1,41 +0,0 @@ -https://bugs.gentoo.org/580098 - -From c1644f92e340d797e490c41a9ef9961125d202b9 Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Mon, 18 Apr 2016 18:49:51 -0400 -Subject: [PATCH] include sys/sysmacros.h for major/minor - -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: - -affinity.c: In function 'affinity_file': -affinity.c:177:7: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration] - if (major(d) != maj || minor(d) != min) - ^ -affinity.c:177:26: warning: implicit declaration of function 'minor' [-Wimplicit-function-declaration] - if (major(d) != maj || minor(d) != min) - ^ -./.libs/libnuma.so: undefined reference to 'minor' -./.libs/libnuma.so: undefined reference to 'major' -collect2: error: ld returned 1 exit status ---- - affinity.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/affinity.c b/affinity.c -index 9fbd6af..984291c 100644 ---- a/affinity.c -+++ b/affinity.c -@@ -40,6 +40,7 @@ - #include - #include - #include -+#include - #include - #include - #include --- -2.7.4 - -- cgit v1.2.3