Skip to content

Commit cc2949d

Browse files
authored
Merge pull request #205 from git-for-windows/msys2-runtime-ff2b7c9087029c32fbf1c088ffd7c11f9529103a
msys2-runtime: update to ff2b7c9087029c32fbf1c088ffd7c11f9529103a
2 parents c2ab801 + d8be6e9 commit cc2949d

File tree

61 files changed

+468
-649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+468
-649
lines changed

msys2-runtime/0001-Add-MSYS2-triplet.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 51380ec75b3f11228cb680f3a4d71fc1957e5aec Mon Sep 17 00:00:00 2001
1+
From bdad035f0baf6fa584ca10913e9948c0aba2970e Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B8=CC=86=20=D0=9F?=
33
=?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= <[email protected]>
44
Date: Sun, 14 Apr 2019 20:40:45 +0300

msys2-runtime/0002-Fix-msys-library-name-in-import-libraries.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From a116f418453dc6b272c3b58fcb1498790efccd6f Mon Sep 17 00:00:00 2001
1+
From 900232bfff4076c483307b4af8f2bbf9b50a600f Mon Sep 17 00:00:00 2001
22
From: Kaleb Barrett <[email protected]>
33
Date: Sun, 14 Mar 2021 18:58:55 -0500
44
Subject: [PATCH 02/N] Fix msys library name in import libraries

msys2-runtime/0003-Rename-dll-from-cygwin-to-msys.patch

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From f858c02bdb8d3444691dd99165718a1dd67ea753 Mon Sep 17 00:00:00 2001
1+
From 585fadf7eab7cc83f6445adcd30b5c2b2e9357f8 Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B8=CC=86=20=D0=9F?=
33
=?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= <[email protected]>
44
Date: Sun, 14 Apr 2019 21:09:17 +0300
@@ -277,7 +277,7 @@ index 9508f3e..3c40e0f 100644
277277
w32len = cygheap->installation_key.Length / sizeof (WCHAR);
278278
if (w32len
279279
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
280-
index 3195d57..18271f5 100644
280+
index a560a3f..8590929 100644
281281
--- a/winsup/cygwin/exceptions.cc
282282
+++ b/winsup/cygwin/exceptions.cc
283283
@@ -526,14 +526,14 @@ int exec_prepared_command (PWCHAR command)
@@ -298,10 +298,10 @@ index 3195d57..18271f5 100644
298298
break;
299299
}
300300
diff --git a/winsup/cygwin/fhandler/pipe.cc b/winsup/cygwin/fhandler/pipe.cc
301-
index 6658a23..5d2fe12 100644
301+
index 6a1ef03..7244fa4 100644
302302
--- a/winsup/cygwin/fhandler/pipe.cc
303303
+++ b/winsup/cygwin/fhandler/pipe.cc
304-
@@ -727,7 +727,11 @@ fhandler_pipe::close ()
304+
@@ -751,7 +751,11 @@ fhandler_pipe::close ()
305305
return ret;
306306
}
307307

@@ -314,10 +314,10 @@ index 6658a23..5d2fe12 100644
314314
/* Create a pipe, and return handles to the read and write ends,
315315
just like CreatePipe, but ensure that the write end permits
316316
diff --git a/winsup/cygwin/fhandler/pty.cc b/winsup/cygwin/fhandler/pty.cc
317-
index fa6bf10..12a0ab3 100644
317+
index 4f0f718..eb51c6d 100644
318318
--- a/winsup/cygwin/fhandler/pty.cc
319319
+++ b/winsup/cygwin/fhandler/pty.cc
320-
@@ -927,7 +927,11 @@ fhandler_pty_slave::open (int flags, mode_t)
320+
@@ -875,7 +875,11 @@ fhandler_pty_slave::open (int flags, mode_t)
321321
pipe_reply repl;
322322
DWORD len;
323323

@@ -329,7 +329,7 @@ index fa6bf10..12a0ab3 100644
329329
&cygheap->installation_key, get_minor ());
330330
termios_printf ("dup handles via master control pipe %s", buf);
331331
if (!CallNamedPipe (buf, &req, sizeof req, &repl, sizeof repl,
332-
@@ -1206,7 +1210,11 @@ fhandler_pty_slave::reset_switch_to_nat_pipe (void)
332+
@@ -1137,7 +1141,11 @@ fhandler_pty_slave::reset_switch_to_nat_pipe (void)
333333
{
334334
char pipe[MAX_PATH];
335335
__small_sprintf (pipe,
@@ -341,7 +341,7 @@ index fa6bf10..12a0ab3 100644
341341
&cygheap->installation_key, get_minor ());
342342
pipe_request req = { GetCurrentProcessId () };
343343
pipe_reply repl;
344-
@@ -2090,7 +2098,11 @@ fhandler_pty_master::close ()
344+
@@ -2021,7 +2029,11 @@ fhandler_pty_master::close ()
345345
pipe_reply repl;
346346
DWORD len;
347347

@@ -353,7 +353,7 @@ index fa6bf10..12a0ab3 100644
353353
&cygheap->installation_key, get_minor ());
354354
acquire_output_mutex (mutex_timeout);
355355
if (master_ctl)
356-
@@ -2996,7 +3008,11 @@ fhandler_pty_master::setup ()
356+
@@ -2927,7 +2939,11 @@ fhandler_pty_master::setup ()
357357

358358
/* Create master control pipe which allows the master to duplicate
359359
the pty pipe handles to processes which deserve it. */
@@ -365,7 +365,7 @@ index fa6bf10..12a0ab3 100644
365365
&cygheap->installation_key, unit);
366366
master_ctl = CreateNamedPipe (buf, PIPE_ACCESS_DUPLEX
367367
| FILE_FLAG_FIRST_PIPE_INSTANCE,
368-
@@ -3880,7 +3896,11 @@ fhandler_pty_slave::transfer_input (tty::xfer_dir dir, HANDLE from, tty *ttyp,
368+
@@ -3816,7 +3832,11 @@ fhandler_pty_slave::transfer_input (tty::xfer_dir dir, HANDLE from, tty *ttyp,
369369
{
370370
char pipe[MAX_PATH];
371371
__small_sprintf (pipe,
@@ -436,7 +436,7 @@ index 1e4cf98..b77598b 100644
436436
} \
437437
} \
438438
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
439-
index 0f87fbc..2e624a9 100644
439+
index fb821a6..1c68287 100644
440440
--- a/winsup/cygwin/include/cygwin/version.h
441441
+++ b/winsup/cygwin/include/cygwin/version.h
442442
@@ -502,7 +502,11 @@ details. */
@@ -617,7 +617,7 @@ index 43b5803..db1d5c8 100644
617617
ts.SourceIdentifier.LowPart = kerberos_auth ? 0x0105 : 0x0106;
618618

619619
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
620-
index 9d88b60..ed564c8 100644
620+
index 11033bc..2d7071b 100644
621621
--- a/winsup/cygwin/syscalls.cc
622622
+++ b/winsup/cygwin/syscalls.cc
623623
@@ -339,7 +339,7 @@ try_to_bin (path_conv &pc, HANDLE &fh, ACCESS_MASK access, ULONG flags)
@@ -626,15 +626,15 @@ index 9d88b60..ed564c8 100644
626626
{
627627
- /* Create unique filename. Start with a dot, followed by "cyg"
628628
+ /* Create unique filename. Start with a dot, followed by "msys"
629-
transposed into the Unicode low surrogate area (U+dc00) on file
630-
systems supporting Unicode (except Samba), followed by the inode
631-
number in hex, followed by a path hash in hex. The combination
629+
transposed to the Unicode private use area in the U+f700 area
630+
on file systems supporting Unicode (except Samba), followed by
631+
the inode number in hex, followed by a path hash in hex. The
632632
@@ -347,7 +347,7 @@ try_to_bin (path_conv &pc, HANDLE &fh, ACCESS_MASK access, ULONG flags)
633633
RtlAppendUnicodeToString (&recycler,
634634
(pc.fs_flags () & FILE_UNICODE_ON_DISK
635635
&& !pc.fs_is_samba ())
636-
- ? L".\xdc63\xdc79\xdc67" : L".cyg");
637-
+ ? L".\xdc6d\xdc73\xdc79\xdc73" : L".msys");
636+
- ? L".\xf763\xf779\xf767" : L".cyg");
637+
+ ? L".\xf76d\xf773\xf779\xf773" : L".msys");
638638
pfii = (PFILE_INTERNAL_INFORMATION) infobuf;
639639
status = NtQueryInformationFile (fh, &io, pfii, sizeof *pfii,
640640
FileInternalInformation);

msys2-runtime/0004-Add-functionality-for-converting-UNIX-paths-in-argum.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From b084abe0ec93354984d37d0ec09fab39984d1e90 Mon Sep 17 00:00:00 2001
1+
From d076660c2d88cc79897b73b53134b040d623c547 Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B8=CC=86=20=D0=9F?=
33
=?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= <[email protected]>
44
Date: Sun, 14 Apr 2019 21:17:46 +0300
@@ -1086,7 +1086,7 @@ index 1802e76..84851a1 100644
10861086

10871087
/* Cover functions to the path conversion routines.
10881088
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
1089-
index d01f678..845121f 100644
1089+
index f5a4b91..902cef8 100644
10901090
--- a/winsup/cygwin/spawn.cc
10911091
+++ b/winsup/cygwin/spawn.cc
10921092
@@ -292,6 +292,27 @@ child_info_spawn::worker (const char *prog_arg, const char *const *argv,

msys2-runtime/0005-Add-functionality-for-changing-OS-name-via-MSYSTEM-e.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From f16038529ae929ad0371de5b7a8ba651b1888e29 Mon Sep 17 00:00:00 2001
1+
From 35a477b5cd63373397b0dc713de7b95d610ad300 Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B8=CC=86=20=D0=9F?=
33
=?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= <[email protected]>
44
Date: Sun, 14 Apr 2019 21:29:01 +0300

msys2-runtime/0006-Move-root-to-usr.-Change-sorting-mount-points.-By-de.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 6393488c9d7048ba7081374b806397c74ee2def6 Mon Sep 17 00:00:00 2001
1+
From 41ed62e6f51e80b764de465ab9f9045552107813 Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B8=CC=86=20=D0=9F?=
33
=?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= <[email protected]>
44
Date: Sun, 14 Apr 2019 21:45:06 +0300

msys2-runtime/0007-Instead-of-creating-Cygwin-symlinks-use-deep-copy-by.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 06ea20e4eceef17d67a404d670b439e87f282450 Mon Sep 17 00:00:00 2001
1+
From 8096583fac66461dbe1414f210d998a3087c1ecc Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B8=CC=86=20=D0=9F?=
33
=?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= <[email protected]>
44
Date: Sun, 14 Apr 2019 21:47:21 +0300

msys2-runtime/0008-Automatically-rewrite-TERM-msys-to-TERM-cygwin.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 222fd37c0b4f4502a0dd67ab3369fb630ded3420 Mon Sep 17 00:00:00 2001
1+
From 0ba54e8cc1940f94e9cde6b6c74cb6a8fb240d56 Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B8=CC=86=20=D0=9F?=
33
=?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= <[email protected]>
44
Date: Sun, 14 Apr 2019 21:48:54 +0300

msys2-runtime/0009-Do-not-convert-environment-for-strace.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 41e8ada0d105959dfd3a1665875a09b64ceb06a3 Mon Sep 17 00:00:00 2001
1+
From e28b7422e206f39202a9f1f840a84cd7a59287c2 Mon Sep 17 00:00:00 2001
22
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B8=CC=86=20=D0=9F?=
33
=?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=BE=D0=B2?= <[email protected]>
44
Date: Sun, 14 Apr 2019 21:50:55 +0300
@@ -10,7 +10,7 @@ Strace is a Windows program so MSYS2 will convert all arguments and environment
1010
1 file changed, 3 insertions(+), 1 deletion(-)
1111

1212
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
13-
index 845121f..ace43db 100644
13+
index 902cef8..d7affaa 100644
1414
--- a/winsup/cygwin/spawn.cc
1515
+++ b/winsup/cygwin/spawn.cc
1616
@@ -545,11 +545,13 @@ child_info_spawn::worker (const char *prog_arg, const char *const *argv,

msys2-runtime/0010-strace.cc-Don-t-set-MSYS-noglob.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 766e55c1bea155c16b8fe28506b86f661c292dc6 Mon Sep 17 00:00:00 2001
1+
From 4a24304b8b1463097d2532f327eb9e44f272a303 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <[email protected]>
33
Date: Sun, 23 Aug 2015 20:47:30 +0100
44
Subject: [PATCH 10/N] strace.cc: Don't set MSYS=noglob

0 commit comments

Comments
 (0)