Skip to content

Commit 706d608

Browse files
authored
rust-sdl2: Force unix line-endings for patches (#1080)
This fixes an issue where the *.patch files get windows line endings when checked out on windows, which breaks the bundled build when building from git directly.
1 parent 68ae17c commit 706d608

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.patch eol=lf

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ when upgrading from a version of rust-sdl2 to another.
55

66
* Add patch to fix metal detection (https://bugzilla.libsdl.org/show_bug.cgi?id=4988)
77
* Changed signature of TimerSubsystem::ticks to accept `&self`.
8+
[PR #1080](https://github.com/Rust-SDL2/rust-sdl2/pull/1080): Fix line endings of patches to lf so patching of sources works on Windows.
89

910
### v0.34.4
1011

0 commit comments

Comments
 (0)