Skip to contentSkip to conversation

BR: patching diff f7abec2d1d1e5... direct

Buildroot Nataraj S Narayan 2 participants 2 messages Mar 18, 2011 – Mar 19, 2011

lore
Share & tools
lore
#0 lore raw

Hi

I was trying to patch the diff of commit
f7abec2d1d1e52f49f7d95c48165cde8cf41edb6 (patch) by Jean-Christophe
PLAGNIOL-VILLARD, in the 'package' dir of buildroot.

I believe I am making some mistake here.

# patch -p1< Makefile.package.in.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/package/Makefile.package.in
|+++ b/package/Makefile.package.in
--------------------------
File to patch:
Skip this patch? [y] n
File to patch: Makefile.package.in
patching file Makefile.package.in
patch: **** malformed patch@line 4: define DOWNLOAD_GIT

Plz help me to do this right.

regards

Nataraj

#1 lore raw
Quoted 3 lines · On Fri, 18 Mar 2011 11:04:59 +0000 Nataraj S Narayan <[email protected]>…

I was trying to patch the diff of commit f7abec2d1d1e52f49f7d95c48165cde8cf41edb6 (patch) by Jean-Christophe PLAGNIOL-VILLARD, in the 'package' dir of buildroot.

All patches must be applied from the top directory of the source tree, i.e not inside the package dir of Buildroot. This is nothing specific to Buildroot: it works like this for all open-source projects.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com