Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  error during patch
« previous next »
  • Print
Pages: [1]

Author Topic: error during patch  (Read 3772 times)

Offline harrythegreat

  • Member
  • *
  • Posts: 7
error during patch
« on: August 07, 2006, 02:44:30 AM »
$ patch --binary -p0 < margin.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:
--------------------------
|---- ./apps/gui/gwps.c.orig        2006-07-14 18 (blablabla)
|+++ ./apps/gui/gwps.c              (blablabla)
--------------------------
File to patch:


this is what i got after type it.
wat's wrong?
i thought there's a problem in the patch file itself
so i tried with other patches but they didn work too
if i skip the file above, other missing files come up again and again



somebody help me  :'(
Logged

Offline antitheist

  • Member
  • *
  • Posts: 3
Re: error during patch
« Reply #1 on: August 07, 2006, 04:09:42 AM »
try changing the  -p0 parameter to either -p1 or -p2
Logged
why dont presidents fight their wars?
why do they always send the poor?

Offline harrythegreat

  • Member
  • *
  • Posts: 7
Re: error during patch
« Reply #2 on: August 07, 2006, 06:46:04 PM »
still not working.. :'(
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: error during patch
« Reply #3 on: August 07, 2006, 06:52:48 PM »
You are running the patch command from the /rockbox/ or /rockbox-devel/ folder, right? Where your sources are?
Logged

Offline Jon_

  • Member
  • *
  • Posts: 220
Re: error during patch
« Reply #4 on: August 08, 2006, 11:00:59 AM »
do this make a folder called patches.. double click the patch file and find out that files are needed to be patched and drag those files in the patch folder then do this...

cd patches
patch < margin.patch

p.s this is how i usually do it there is a easier way though but i like this way.
Logged
Apple iPod Video 5.5th gen, 30gigs
9,400 Songs
19 Videos
637 Pictures  Apple iPod Touch 16GB 1,000 Songs 6 Videos 112 Pictures Jailbroken :D - Installed 103 Applications - Installed 13 Themes - 9 GB Free Space  Rockbox Member Since i don't know...

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: error during patch
« Reply #5 on: August 08, 2006, 01:18:18 PM »
Or, you could just put the patch in your cvs root directory and use correct path information.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline harrythegreat

  • Member
  • *
  • Posts: 7
Re: error during patch
« Reply #6 on: August 10, 2006, 04:31:41 PM »
thx Llorean  :)

i got it

i was using wrong folder

stupid -_- :(
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  error during patch
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.138 seconds with 21 queries.