On Thu, Jul 2, 2015 at 6:05 PM, Yann Sagon <[email protected]> wrote:
> I have copied the Makefile in my work directory as Makefile.o and Makefile
> Modified the Makefile.
> Created the diff : diff -u Makefile.o Makefile >
> Gadget-2.0.7-makefile-hardcoding.patch
>
> Error message: "Can't determine patch level for patch"

You can specify the patch level with a tuple:
patches = [('Gadget-2.0.7-makefile-hardcoding.patch', 1)]
will give a you a patch level of 1. An alternative is to specify the
relative directory path where to apply the patch, for example
patches = [('Gadget-2.0.7-makefile-hardcoding.patch', '..')]

Ward

Reply via email to