Rockbox mail archive
Subject: RE: nextsong.patch
From: Mark Bright (mark_at_redbreva.co.uk)
I am really struggling to get to grips with patches, I keep
reading the docs and keep failing to get it to work...
Can someone tell me in step by step terms how to apply using
this particular patch as an example ...
>I shook the dust off my nextsong patch and put up a slightly
I have downloaded and installed the GNUPatch utility for Windows,
I have my Rockbox source in D:\RockBox-DevKit\home\rockbox\20040518
I have the nextsong-2.patch file (with just LF)
I have a command prompt D:\RockBox-DevKit\home\rockbox\20040518 >
Q1) Where in the directory structure do I place nextsong-2.patch?
(I currently have it in D:\RockBox-DevKit\home\rockbox\20040518)
Q2) What am I doing wrong with my command line call?
patch -p0 < nextsong-2.patch
patching file apps/wps-display.c
Assertion failed: hunk, file patch.c, line 343
This application has requested the Runtime to terminate it in
an unusual way. Please contact the application's support team
for more information.
patch -p1 < nextsong-2.patch
can't find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|RCS file: /cvsroot/rockbox/apps/wps-display.c,v
|retrieving revision 1.87
|diff -u -u -b -r1.87 wps-display.c
|--- apps/wps-display.c 13 May 2004 06:41:04 -0000 1.87
|+++ apps/wps-display.c 18 May 2004 12:36:26 -0000
File to patch:
Page was last modified "Jan 10 2012" The Rockbox Crew