summaryrefslogtreecommitdiff
path: root/repo/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch')
-rw-r--r--repo/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch b/repo/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch
new file mode 100644
index 0000000..5f2cb2d
--- /dev/null
+++ b/repo/gcc/0029-gcc-go-Don-t-include-sys-user.h.patch
@@ -0,0 +1,30 @@
+From 40322de36043aaa3cbb98d7f01037f53fc1b5a98 Mon Sep 17 00:00:00 2001
+From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
+Date: Sun, 30 Aug 2020 17:58:21 +0200
+Subject: [PATCH] gcc-go: Don't include sys/user.h
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Taken from Adélie Linux.
+---
+ libgo/sysinfo.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/libgo/sysinfo.c b/libgo/sysinfo.c
+index 0692fd41eb7..c8d987358d9 100644
+--- a/libgo/sysinfo.c
++++ b/libgo/sysinfo.c
+@@ -73,9 +73,6 @@
+ #include <sys/times.h>
+ #include <sys/wait.h>
+ #include <sys/un.h>
+-#if defined(HAVE_SYS_USER_H)
+-#include <sys/user.h>
+-#endif
+ #if defined(HAVE_SYS_UTSNAME_H)
+ #include <sys/utsname.h>
+ #endif
+--
+2.31.1
+