1
0
Fork 0

Fix winrt patch not applying due to line endings.

main
Icedream 2025-04-27 14:13:39 +02:00
parent 940fb0f6db
commit ccf126fdfc
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
2 changed files with 11 additions and 10 deletions

2
icedreammusic/.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# do not fix line endings on patch file as it will not apply correctly
winrt.*.patch text eol=crlf

View File

@ -1,12 +1,11 @@
diff -p1 -U1 -r a/roapi.h b/roapi.h --- a/roapi.h 2025-04-27 14:08:27.170499015 +0200
--- a/roapi.h 2024-01-22 02:10:15.948390337 +0100 +++ b/roapi.h 2025-04-27 14:09:28.870444546 +0200
+++ b/roapi.h 2024-01-22 02:10:39.815131639 +0100
@@ -32,2 +32,4 @@ extern "C" { @@ -32,2 +32,4 @@ extern "C" {
+#pragma region Desktop Family +#pragma region Desktop Family
+ +
// Ro initialization flags; passed to Windows::Runtime::Initialize // Ro initialization flags; passed to Windows::Runtime::Initialize
@@ -35,3 +37,2 @@ typedef enum RO_INIT_TYPE @@ -35,3 +37,2 @@ typedef enum RO_INIT_TYPE
{ {
-#pragma region Desktop Family -#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)