Manuel-K / devilutionX-QOL-patches

QOL improvements for devilutionX
25 stars 4 forks source link

Patching fails on "can't find file to patch" error on devilutionX 1.2.1 #14

Open miloslavnosek opened 3 years ago

miloslavnosek commented 3 years ago

Patches from master branch do not work with devilutionX 1.2.1.

Example:

patch -p1 < infernity_common_v02.patch
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Common helper function for Infernity patches.
|
|CalculateTextWidth() from Infernity by qndel, extracted by sergi4ua.
|
|diff --git a/Source/engine.cpp b/Source/engine.cpp
|index 93a7d7c6..a569b8a9 100644
|--- a/Source/engine.cpp
|+++ b/Source/engine.cpp
--------------------------

I'm on Linux and use Appimage version of devilutionX if that makes any difference.