Pages : 1
#1 Le 24/02/2014, à 11:13
- black_hole78
Patcher un fichier
Bonjour,
Je dois patcher à l'aide d'un fichier plusieurs fichiers. J'ai donc mon fichier .patch, et quand je tape la commande :
patch -p1 < uvcvideo_add_tis_cmos.patch
Il me demande la localisation du fichier:
can't find file to patch at input line 16
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From a16d2c044f5e8bf9fc16727d2c6a6055812b366c Mon Sep 17 00:00:00 2001
|From: Arne Caspari <arne@unicap-imaging.org>
|Date: Sat, 30 Jul 2011 13:29:11 +0200
|Subject: [PATCH 1/4] [media] uvcvideo: Detect The Imaging Source CCD cameras by vendor and product ID
|
|The Imaging Source CCD cameras use a vendor specific interface class
|even though they are actually UVC compliant.
|---
| drivers/media/video/uvc/uvc_driver.c | 8 ++++++++
| 1 files changed, 8 insertions(+), 0 deletions(-)
|
|diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c
|index d29f9c2..339ded4 100644
|--- a/drivers/media/video/uvc/uvc_driver.c
|+++ b/drivers/media/video/uvc/uvc_driver.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
J'ai pas l'habitude d'utiliser les fichiers de patch mais c'est normal qu'il y ait de a/ et b/ devant les chemins partielle vers les fichiers?
Faut-il que je les remplace par les chemins de mon pc?
Si quelqu'un pouvait me donner des conseils?
D'avance merci.
Hors ligne
Pages : 1