From 0b65e7a43e8a5bf6fd78e5c8574336b56f5ccba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 30 Mar 2023 13:48:02 +0100 Subject: [PATCH] git: prevent CRLF line ending conversion for patches on Windows Otherwise the patch file might get line endings converted on git checkout on Windows if the git option core.autocrlf=true is set, and then the patches won't apply later when Meson tries to apply them to the downloaded source code from tarball. This could cause the pango patches not applying to the pango subproject on Windows in some settings, and then the subproject setup would fail and the pango plugin would not be built. Part-of: --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..e5c3266d52 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +subprojects/packagefiles/*/*.patch text eol=lf