dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: RE: nextsong.patch

RE: nextsong.patch

From: Mark Bright <>
Date: Tue, 18 May 2004 18:50:56 +0100

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
>updated version

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?
Attempt 1
 patch -p0 < nextsong-2.patch
Result 1
 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.

Attemp 2
 patch -p1 < nextsong-2.patch
Result 2
 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:
 |Index: apps/wps-display.c
 |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:


Received on 2004-05-18

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy