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 General
| |-+  Rockbox General Discussion
| | |-+  A Weird Problem With Patches
« previous next »
  • Print
Pages: [1]

Author Topic: A Weird Problem With Patches  (Read 1688 times)

Offline GuitarRocker2562

  • Member
  • *
  • Posts: 57
A Weird Problem With Patches
« on: July 12, 2007, 10:13:15 PM »
I am learning how to add patches to the source and compile. I put the patch in my rockbox-latest folder and (I am using an example) type "patch < powermgmt.c.patch" this is what I am supposed to do, right? If I enter that and the .patch file empties no new files are made, and the command never finishes (I have to do ctrl-c to type another command). The patch is not applied, what's wrong?
« Last Edit: July 12, 2007, 10:37:34 PM by GuitarRocker2562 »
Logged

Offline stuffedspacedog

  • Member
  • *
  • Posts: 73
    • At Sea Music
Re: A Weird Problem With Patches
« Reply #1 on: July 12, 2007, 11:33:35 PM »
patch  --binary -p0 < powermgmt.patch

(if patch is called powermgmt.patch)

check the twiki for more details:

http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling#Patching
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: A Weird Problem With Patches
« Reply #2 on: July 13, 2007, 12:40:03 AM »
Quote from: stuffedspacedog on July 12, 2007, 11:33:35 PM
patch  --binary -p0 < powermgmt.patch

You might also need to adjust the patch level (the -p option) depending on where the patch is created. Please read the manpage to patch by using the command:

Code: [Select]
man patch

Charles
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  A Weird Problem With Patches
 

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

Page created in 0.072 seconds with 15 queries.