maximkulkin / esp32-homekit-camera

Firmware for esp32-camera module to act as Apple Homekit IP camera
MIT License
394 stars 78 forks source link

How to apply patch #52

Closed okanduzyel closed 4 years ago

okanduzyel commented 4 years ago

Hi,

When I try to apply your patch file, I have got that output.

okanduzyel@MacBook-Pro esp32-homekit-camera % patch < esp32-camera.patch 
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/driver/xclk.c b/driver/xclk.c
|index 89ced66..21db2fc 100755
|--- a/driver/xclk.c
|+++ b/driver/xclk.c
--------------------------
File to patch: 

Could you show me How I can apply that patch?

maximkulkin commented 4 years ago

patch -p 1 < esp32-camera.patch

MnemonicFish commented 1 year ago

patch -p 1 < esp32-camera.patch

---------------- does not work

c:\Users\Amein\esp\esp32-homekit-camera>patch -p 1 < esp32-camera.patch 'patch' is not recognized as an internal or external command, operable program or batch file.