Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] BR: patching  diff f7abec2d1d1e5... direct
@ 2011-03-18 11:04 Nataraj S Narayan
  2011-03-19  7:24 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Nataraj S Narayan @ 2011-03-18 11:04 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] BR: patching  diff f7abec2d1d1e5... direct
  2011-03-18 11:04 [Buildroot] BR: patching diff f7abec2d1d1e5... direct Nataraj S Narayan
@ 2011-03-19  7:24 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2011-03-19  7:24 UTC (permalink / raw)
  To: buildroot

On Fri, 18 Mar 2011 11:04:59 +0000
Nataraj S Narayan <nataraj@vaaraahi.com> wrote:

> 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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-19  7:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 11:04 [Buildroot] BR: patching diff f7abec2d1d1e5... direct Nataraj S Narayan
2011-03-19  7:24 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox