CVS Applying patch

Problems building or running the engine, queries about how to use features etc.
xzoowy
Gnoblar
Posts: 12
Joined: Fri Jan 14, 2005 9:43 pm

CVS Applying patch

Post by xzoowy »

Hi, Ive installed Cygwin and done the following steps:

1) Placed the patch.txt file in my /ogrenew folder
2) Set my current directory in Cygwin to my /ogrenew folder
3) execute the command
patch -p0 < patch.txt

What im I doing wrong ?

When looking inside the patch.txt file the relative path of the Ogre install folder is /ogre and not /ogrenew :
RCS file: /cvsroot/ogre/ogreaddons/3dssceneexporter/DotSceneViewer/Application.cpp,
is that an issue ?
User avatar
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark

Re: CVS Applying patch

Post by DWORD »

xzoowy wrote:What im I doing wrong ?
Nothing, from what I can see. Are you getting any errors since you are asking?

Edit: Ahh... looks like you're trying to apply a patch to an ogreaddon. I think you need to change to your ogreaddons directory and apply the patch from there.
xzoowy
Gnoblar
Posts: 12
Joined: Fri Jan 14, 2005 9:43 pm

Post by xzoowy »

When I execute the command, (ive tried to apply the patch in the /ogreaddons folder also)
patch -p0 < patch.txt
it just makes a directory -p0 and puts a error log there with a time stamp and always the same error

AuPatch fetch (common:action) failed.
xzoowy
Gnoblar
Posts: 12
Joined: Fri Jan 14, 2005 9:43 pm

Post by xzoowy »

Problem solved.

By default Cygwin does a minimal installation, so you need to add yourself the neccessary packages.

The problem was that i forgot to install the package responsible for the patch program which is : patchutils

So for does that wish to use Cygwin dont forget these packages at installation.

1) cvs
2) cvsutils
3) patchutils