POV-Ray : Newsgroups : povray.programming : The right way to patch POV-Ray? : Re: The right way to patch POV-Ray? Server Time
8 Jul 2024 19:18:14 EDT (-0400)
  Re: The right way to patch POV-Ray?  
From: George Pantazopoulos
Date: 24 Dec 2002 11:53:28
Message: <3e089108$1@news.povray.org>
Hey Christopher,
    Thanks for your help :) Youre right, I think I could get by without
diff, but it seems like a more professional thing to do. Maybe I should
still learn it for my own education even though I don't use it for POV-Ray?
My main machine is a Windows 2000 box, but I also recently built a Linux
box, which I'm really loving. My patch would need to work on both Linux and
Windows. Are the linux sources very different than the Windows ones?

Regards,
George Pantazopoulos


>
> >     What are the guidelines for patching POV-Ray in the cleanest
possible
> > way? I would like my patch to cause as few conflicts as possible with
other
> > patches that exist or may be released,
>
> Usually, people put something like "#define MyPatch" in frame.h, and
> enclose patch-specific code in #ifdef blocks, so removing that define
> makes POV compile without your patch, and the modifications you make are
> clearly visible.
>
>
> > Also, I need to learn how to use diff to be able to release my patch.
>
> No you don't. Just listing the changes is enough, if you are clear about
> where they go.
>
>
> > Can anyone point me to a tutorial?
>
> "man diff"?
> What system are you developing on? It looks like you are posting on a
> Windows machine...
>
> --
> Christopher James Huff <cja### [at] earthlinknet>
> http://home.earthlink.net/~cjameshuff/
> POV-Ray TAG: chr### [at] tagpovrayorg
> http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.