Fix jpegio ARM64 patch for CRLF line endings
- Convert CRLF to LF before patching (jpegio uses Windows line endings) - Update patch context to match current jpegio setup.py 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,12 @@ cd "$JPEGIO_DIR"
|
||||
|
||||
echo "Applying ARM64 patch to jpegio..."
|
||||
|
||||
# Fix CRLF line endings (jpegio uses Windows line endings)
|
||||
if file setup.py | grep -q CRLF; then
|
||||
echo " Converting CRLF to LF..."
|
||||
sed -i 's/\r$//' setup.py
|
||||
fi
|
||||
|
||||
# Strategy 1: Try the standard patch file
|
||||
if [ -f "$PATCH_FILE" ]; then
|
||||
echo " Trying patch file..."
|
||||
|
||||
Reference in New Issue
Block a user