Skip to content

Commit

Permalink
rust-sdl2: Force unix line-endings for patches (#1080)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
waych authored Apr 2, 2021
1 parent 68ae17c commit 706d608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.patch eol=lf
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ when upgrading from a version of rust-sdl2 to another.

* Add patch to fix metal detection (https://bugzilla.libsdl.org/show_bug.cgi?id=4988)
* Changed signature of TimerSubsystem::ticks to accept `&self`.
[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.

### v0.34.4

Expand Down

0 comments on commit 706d608

Please sign in to comment.