cd frameworks/base patch -p1 < <where you patch is> On Tue, 2009-04-21 at 10:07 -0700, Gani Bhagavathula wrote: > Hi all: > > I have seen some patches at the site > http://code.google.com/p/patch-hosting-for-android-x86-support/updates/list > - How do I apply those patches? > > I have tried patch -p0 < cursor.patch for example, and get the > following query > > can't find file to patch at input line 6 > Perhaps you should have used the -p or --strip option? > The text leading up to this was: > -------------------------- > |project frameworks/base/ > |diff --git a/core/java/android/view/RawInputEvent.java b/core/java/ > android/view/RawInputEvent.java > |index 30da83e..4d9a11a 100644 > |--- a/core/java/android/view/RawInputEvent.java > |+++ b/core/java/android/view/RawInputEvent.java > -------------------------- > > am I supposed to change the lines in the patch file (replace a/ with > my actual path?) > > Regards, > Gani > >
--~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
