Guest User

Untitled

a guest
May 2nd, 2026
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.30 KB | None | 0 0
  1. bash MINGW64 /c/src
  2. $ cd /c/src/mgs2
  3.  
  4. bash MINGW64 /c/src/mgs2
  5. $ find . -type f -print0 | xargs -0 -n 50 -P "$(nproc)" sh -c '
  6. for f do
  7. case "$(file -b --mime-type "$f")" in
  8. text/*) sed -i "s/\r//g" "$f" ;;
  9. esac
  10. done
  11. ' sh
  12.  
  13. (5 minutes later)
  14.  
  15. bash MINGW64 /c/src/mgs2
  16. $ git init
  17. Initialized empty Git repository in C:/src/Xmgs2/.git/
  18.  
  19. bash MINGW64 /c/src/mgs2 (master)
  20. $ git apply --ignore-whitespace 1-vs2026-initial.patch
  21. 1-vs2026-initial.patch:17412: trailing whitespace.
  22.  
  23. 1-vs2026-initial.patch:17413: trailing whitespace.
  24.  
  25. 1-vs2026-initial.patch:17417: trailing whitespace.
  26.  
  27. 1-vs2026-initial.patch:17419: trailing whitespace.
  28.  
  29. 1-vs2026-initial.patch:17425: trailing whitespace.
  30.  
  31. warning: squelched 99 whitespace errors
  32. warning: 104 lines add whitespace errors.
  33.  
  34. bash MINGW64 /c/src/mgs2 (master)
  35. $ echo copied in boost shit
  36. copied in boost shit
  37.  
  38. bash MINGW64 /c/src/mgs2 (master)
  39. $ git apply --reject --ignore-whitespace 2-vs2026-build-fixups.patch
  40. Checking patch .gitignore...
  41. Checking patch bp/Source/Engine/Basics/BPEAssert.h...
  42. Checking patch bp/Source/Engine/Engine.vcxproj...
  43. Checking patch bp/Source/Engine/Engine.vcxproj.filters...
  44. Checking patch bp/Source/Engine/Graphics/CColorf.cpp...
  45. Checking patch bp/Source/Engine/Network/mySocket.cpp...
  46. Checking patch bp/Source/Engine/StlExtras/case_insensitive_char_traits.h...
  47. Checking patch bp/Source/Engine/StlExtras/reserved_vector.h...
  48. Checking patch bp/Source/Engine/Streams/CLinearCopyStream.h...
  49. Checking patch bp/Source/Engine/System/CThread.h...
  50. Checking patch bp/Source/ExtLibraries/DXSDK/Include/rpcsal.h...
  51. Checking patch bp/Source/Renderer/Base/Frontend/CRenderer.h...
  52. Checking patch mgs2x/source/include/mgs_type.h...
  53. Checking patch mgs2x/source/main/main.vcxproj...
  54. Checking patch mgs2x/source/main/main.vcxproj.user...
  55. Checking patch mgs2x/source/system/libdg/libdg.vcxproj...
  56. Checking patch mgs2x/source/system/libgv/Debug/cache.sbr...
  57. error: cannot apply binary patch to 'mgs2x/source/system/libgv/Debug/cache.sbr' without full index line
  58. error: mgs2x/source/system/libgv/Debug/cache.sbr: patch does not apply
  59. Checking patch mgs2x/source/system/libgv/Debug/debug.sbr...
  60. error: cannot apply binary patch to 'mgs2x/source/system/libgv/Debug/debug.sbr' without full index line
  61. error: mgs2x/source/system/libgv/Debug/debug.sbr: patch does not apply
  62. Checking patch mgs2x/source/system/libgv/Debug/inline.sbr...
  63. error: cannot apply binary patch to 'mgs2x/source/system/libgv/Debug/inline.sbr' without full index line
  64. error: mgs2x/source/system/libgv/Debug/inline.sbr: patch does not apply
  65. Checking patch mgs2x/source/system/libgv/Debug/memlist.sbr...
  66. error: cannot apply binary patch to 'mgs2x/source/system/libgv/Debug/memlist.sbr' without full index line
  67. error: mgs2x/source/system/libgv/Debug/memlist.sbr: patch does not apply
  68. Checking patch mgs2x/source/system/libgv/Debug/message.sbr...
  69. error: cannot apply binary patch to 'mgs2x/source/system/libgv/Debug/message.sbr' without full index line
  70. error: mgs2x/source/system/libgv/Debug/message.sbr: patch does not apply
  71. Checking patch mgs2x/source/system/libgv/Debug/pad.sbr...
  72. error: cannot apply binary patch to 'mgs2x/source/system/libgv/Debug/pad.sbr' without full index line
  73. error: mgs2x/source/system/libgv/Debug/pad.sbr: patch does not apply
  74. Checking patch mgs2x/source/system/libgv/Debug/resident.sbr...
  75. error: cannot apply binary patch to 'mgs2x/source/system/libgv/Debug/resident.sbr' without full index line
  76. error: mgs2x/source/system/libgv/Debug/resident.sbr: patch does not apply
  77. Checking patch mgs2x/source/system/libgv/Debug/strcode.sbr...
  78. error: cannot apply binary patch to 'mgs2x/source/system/libgv/Debug/strcode.sbr' without full index line
  79. error: mgs2x/source/system/libgv/Debug/strcode.sbr: patch does not apply
  80. Checking patch mgs2x/source/user/korekado/conv/sling.c...
  81. Checking patch mgs2x/source/user/okuta/effect/waterdust.c...
  82. Checking patch mgs2x/source/user/shibata/util/ts_util.c...
  83. Checking patch mgs2x/source/user/takabe/takabe.vcxproj...
  84. Applied patch .gitignore cleanly.
  85. Applied patch bp/Source/Engine/Basics/BPEAssert.h cleanly.
  86. Applied patch bp/Source/Engine/Engine.vcxproj cleanly.
  87. Applied patch bp/Source/Engine/Engine.vcxproj.filters cleanly.
  88. Applied patch bp/Source/Engine/Graphics/CColorf.cpp cleanly.
  89. Applied patch bp/Source/Engine/Network/mySocket.cpp cleanly.
  90. Applied patch bp/Source/Engine/StlExtras/case_insensitive_char_traits.h cleanly.
  91. Applied patch bp/Source/Engine/StlExtras/reserved_vector.h cleanly.
  92. Applied patch bp/Source/Engine/Streams/CLinearCopyStream.h cleanly.
  93. Applied patch bp/Source/Engine/System/CThread.h cleanly.
  94. Applied patch bp/Source/ExtLibraries/DXSDK/Include/rpcsal.h cleanly.
  95. Applied patch bp/Source/Renderer/Base/Frontend/CRenderer.h cleanly.
  96. Applied patch mgs2x/source/include/mgs_type.h cleanly.
  97. Applied patch mgs2x/source/main/main.vcxproj cleanly.
  98. Applied patch mgs2x/source/main/main.vcxproj.user cleanly.
  99. Applied patch mgs2x/source/system/libdg/libdg.vcxproj cleanly.
  100. Applied patch mgs2x/source/user/korekado/conv/sling.c cleanly.
  101. Applied patch mgs2x/source/user/okuta/effect/waterdust.c cleanly.
  102. Applied patch mgs2x/source/user/shibata/util/ts_util.c cleanly.
  103. Applied patch mgs2x/source/user/takabe/takabe.vcxproj cleanly.
  104.  
  105. bash MINGW64 /c/src/mgs2 (master)
  106. $ echo ran cp4_devenv and built
  107. ran cp4_devenv and built, no errors
  108.  
Advertisement
Add Comment
Please, Sign In to add comment