From d64cc807a01ce5d05a6565e95d29dfb0b0f852dd Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 7 Oct 2023 00:39:24 +0900 Subject: [PATCH] 1.20_windows/runtime/cgo, 1.21_windows/runtime/cgo: remove unnecessary changes Apparently issues with stdio was fixed in Go 1.20. See golang/go#51007 --- 1.20_windows/runtime/cgo/gcc_fatalf.c.patch | 3 --- 1.20_windows/runtime/cgo/gcc_libinit.c.patch | 3 --- 1.20_windows/runtime/cgo/gcc_libinit_windows.c.patch | 3 --- 1.20_windows/runtime/cgo/gcc_windows_amd64.c.patch | 3 --- 1.20_windows/runtime/cgo/libcgo.h.patch | 10 ---------- 1.21_windows/runtime/cgo/gcc_fatalf.c.patch | 3 --- 1.21_windows/runtime/cgo/gcc_libinit.c.patch | 3 --- 1.21_windows/runtime/cgo/gcc_libinit_windows.c.patch | 3 --- 1.21_windows/runtime/cgo/gcc_windows_amd64.c.patch | 3 --- 1.21_windows/runtime/cgo/libcgo.h.patch | 10 ---------- 10 files changed, 44 deletions(-) delete mode 100644 1.20_windows/runtime/cgo/gcc_fatalf.c.patch delete mode 100644 1.20_windows/runtime/cgo/gcc_libinit.c.patch delete mode 100644 1.20_windows/runtime/cgo/gcc_libinit_windows.c.patch delete mode 100644 1.20_windows/runtime/cgo/libcgo.h.patch delete mode 100644 1.21_windows/runtime/cgo/gcc_fatalf.c.patch delete mode 100644 1.21_windows/runtime/cgo/gcc_libinit.c.patch delete mode 100644 1.21_windows/runtime/cgo/gcc_libinit_windows.c.patch delete mode 100644 1.21_windows/runtime/cgo/libcgo.h.patch diff --git a/1.20_windows/runtime/cgo/gcc_fatalf.c.patch b/1.20_windows/runtime/cgo/gcc_fatalf.c.patch deleted file mode 100644 index bf1a521..0000000 --- a/1.20_windows/runtime/cgo/gcc_fatalf.c.patch +++ /dev/null @@ -1,3 +0,0 @@ -//--from -#include -//--to diff --git a/1.20_windows/runtime/cgo/gcc_libinit.c.patch b/1.20_windows/runtime/cgo/gcc_libinit.c.patch deleted file mode 100644 index bf1a521..0000000 --- a/1.20_windows/runtime/cgo/gcc_libinit.c.patch +++ /dev/null @@ -1,3 +0,0 @@ -//--from -#include -//--to diff --git a/1.20_windows/runtime/cgo/gcc_libinit_windows.c.patch b/1.20_windows/runtime/cgo/gcc_libinit_windows.c.patch deleted file mode 100644 index bf1a521..0000000 --- a/1.20_windows/runtime/cgo/gcc_libinit_windows.c.patch +++ /dev/null @@ -1,3 +0,0 @@ -//--from -#include -//--to diff --git a/1.20_windows/runtime/cgo/gcc_windows_amd64.c.patch b/1.20_windows/runtime/cgo/gcc_windows_amd64.c.patch index 036b2f3..a93766f 100644 --- a/1.20_windows/runtime/cgo/gcc_windows_amd64.c.patch +++ b/1.20_windows/runtime/cgo/gcc_windows_amd64.c.patch @@ -1,7 +1,4 @@ //--from -#include -//--to -//--from static void threadentry(void *v) { diff --git a/1.20_windows/runtime/cgo/libcgo.h.patch b/1.20_windows/runtime/cgo/libcgo.h.patch deleted file mode 100644 index 2db38ee..0000000 --- a/1.20_windows/runtime/cgo/libcgo.h.patch +++ /dev/null @@ -1,10 +0,0 @@ -//--from -#include -//--to -//--append -#define fprintf dummy_fprintf -#define stderr dummy_stderr - -// TODO: Use OutputDebugMessage. -#define dummy_fprintf(stream, format, ...) -#define dummy_stderr 2 diff --git a/1.21_windows/runtime/cgo/gcc_fatalf.c.patch b/1.21_windows/runtime/cgo/gcc_fatalf.c.patch deleted file mode 100644 index bf1a521..0000000 --- a/1.21_windows/runtime/cgo/gcc_fatalf.c.patch +++ /dev/null @@ -1,3 +0,0 @@ -//--from -#include -//--to diff --git a/1.21_windows/runtime/cgo/gcc_libinit.c.patch b/1.21_windows/runtime/cgo/gcc_libinit.c.patch deleted file mode 100644 index bf1a521..0000000 --- a/1.21_windows/runtime/cgo/gcc_libinit.c.patch +++ /dev/null @@ -1,3 +0,0 @@ -//--from -#include -//--to diff --git a/1.21_windows/runtime/cgo/gcc_libinit_windows.c.patch b/1.21_windows/runtime/cgo/gcc_libinit_windows.c.patch deleted file mode 100644 index bf1a521..0000000 --- a/1.21_windows/runtime/cgo/gcc_libinit_windows.c.patch +++ /dev/null @@ -1,3 +0,0 @@ -//--from -#include -//--to diff --git a/1.21_windows/runtime/cgo/gcc_windows_amd64.c.patch b/1.21_windows/runtime/cgo/gcc_windows_amd64.c.patch index 036b2f3..a93766f 100644 --- a/1.21_windows/runtime/cgo/gcc_windows_amd64.c.patch +++ b/1.21_windows/runtime/cgo/gcc_windows_amd64.c.patch @@ -1,7 +1,4 @@ //--from -#include -//--to -//--from static void threadentry(void *v) { diff --git a/1.21_windows/runtime/cgo/libcgo.h.patch b/1.21_windows/runtime/cgo/libcgo.h.patch deleted file mode 100644 index 2db38ee..0000000 --- a/1.21_windows/runtime/cgo/libcgo.h.patch +++ /dev/null @@ -1,10 +0,0 @@ -//--from -#include -//--to -//--append -#define fprintf dummy_fprintf -#define stderr dummy_stderr - -// TODO: Use OutputDebugMessage. -#define dummy_fprintf(stream, format, ...) -#define dummy_stderr 2