Difference between revisions of "Talk:Patching"

From NetHackWiki
Jump to navigation Jump to search
(Error messages)
Line 7: Line 7:
 
in the command line, which seems to work ok for me, but I'm on linux... Haven't tried compiling nethack with that patch either. --[[User:Paxed|Paxed]] 14:59, 19 July 2007 (UTC)
 
in the command line, which seems to work ok for me, but I'm on linux... Haven't tried compiling nethack with that patch either. --[[User:Paxed|Paxed]] 14:59, 19 July 2007 (UTC)
 
:Using cygwin helps. I tried using a windows binary of patch, but that didn't work too well. I eventually installed cygwin and used that to apply a patch (menucolors) and it worked.[[User:Addps4cat|Addps4cat]] 13:31, 7 September 2007 (UTC)
 
:Using cygwin helps. I tried using a windows binary of patch, but that didn't work too well. I eventually installed cygwin and used that to apply a patch (menucolors) and it worked.[[User:Addps4cat|Addps4cat]] 13:31, 7 September 2007 (UTC)
 +
 +
==Now what?==
 +
 +
Well everything went all right, except that none of the patches still took any effect. I concluded that they'd have no way of knowing where my SLASH'EM is, so I copy-pasted all them files to the source directory. Still no effect.
 +
 +
What did I do wrong?

Revision as of 20:26, 27 November 2007

Can someone please expand on this? As a windoze programmer I have never used patch and am trying to apply the vs2005 patch and it keeps failing and I do not understand why...

missing header for context diff at line 13 of patch

I assume you're speaking of this patch. I unpacked nethack's sources, and downloaded the vc2005-file in the source root directory, and typed
patch -p0 < vc2005

in the command line, which seems to work ok for me, but I'm on linux... Haven't tried compiling nethack with that patch either. --Paxed 14:59, 19 July 2007 (UTC)

Using cygwin helps. I tried using a windows binary of patch, but that didn't work too well. I eventually installed cygwin and used that to apply a patch (menucolors) and it worked.Addps4cat 13:31, 7 September 2007 (UTC)

Now what?

Well everything went all right, except that none of the patches still took any effect. I concluded that they'd have no way of knowing where my SLASH'EM is, so I copy-pasted all them files to the source directory. Still no effect.

What did I do wrong?