Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: SirPeale on April 09, 2004, 08:55:02 pm

Title: Need to apply a patch, show me how!
Post by: SirPeale on April 09, 2004, 08:55:02 pm
I'm trying to apply this patch:

https://sourceforge.net/tracker/index.php?func=detail&aid=926817&group_id=27167&atid=389581

It's a simple enough file.  I'm attempting to patch it with this:

patch -p1 <cs.patch

Which, AFAIK, should work.  But it's not working.  Can anyone tell me what I should be using as a command?
Title: Re:Need to apply a patch, show me how!
Post by: SirPeale on April 09, 2004, 09:13:17 pm
Oh, here are the original and patch files.  Admin.pl is the original (renamed to Admin.txt) and cs.patch (renamed to cs.patch.txt)
Title: Re:Need to apply a patch, show me how!
Post by: SirPeale on April 09, 2004, 09:13:49 pm
And here
Title: Re:Need to apply a patch, show me how!
Post by: TheGatesofBill on April 10, 2004, 02:10:23 pm
There is a simple reason that patch won't apply, and that is because the changes have already made. I just went through the file and checked.
Title: Re:Need to apply a patch, show me how!
Post by: SirPeale on April 10, 2004, 04:46:17 pm
Ah, I thought so.  But not being up on these type of things I wasn't sure.

Thing is, what the patch is supposed to do, it doesn't do it.  

The shopping cart script I'm using, if you go to edit an item, no matter which item you choose to edit, it always selects the first item in the list.  This patch, AFAIK, is supposed to fix it.  But since it's already been applied...