Jump to content
  • 0

Ask: Put a .patch on centOS 5.8


onizame

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   2
  • Joined:  07/05/12
  • Last Seen:  

hi Everyone.. im trying to patch this on CentOS 5.8 VPS.. and it fails.. using this command /oops

[onizame2823@localhost ~]$ patch -Np1 -d trunk/ < ExtendedVendingSystem_1.8.1.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: conf/battle/feature.conf
|===================================================================
|--- conf/battle/feature.conf   (revision 16070)
|+++ conf/battle/feature.conf   (working copy)
--------------------------
File to patch:

rAthena SVN 16462

hope some linux expert can help me.. bcuz this script so great /no1 and i want to use it on my server /pat

Edited by onizame
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   2
  • Joined:  07/05/12
  • Last Seen:  

try this:

$ touch trunk/conf/battle/feature.conf

And run the patch file again.

EDIT: What this does is simply creates a blank file with the path and name specified. It looks like for some reason the svn patch script is not able to create the file to patch it, because it doesn't exist.

Hi Jman ty for the reply.. it is not working :(

[himeka@spesialhosting-corp ~]$ touch trunk/conf/battle/feature.conf
[himeka@spesialhosting-corp ~]$ patch -Np0 -d trunk < alootid_array_v2.diff
(Stripping trailing CRs from patch.)
patching file src/map/atcommand.c
Hunk #1 FAILED at 6074.
1 out of 1 hunk FAILED -- saving rejects to file src/map/atcommand.c.rej
(Stripping trailing CRs from patch.)
patching file src/map/mob.c
Hunk #1 FAILED at 1719.
Hunk #2 FAILED at 1738.
2 out of 2 hunks FAILED -- saving rejects to file src/map/mob.c.rej
(Stripping trailing CRs from patch.)
patching file src/map/mob.h
Hunk #1 FAILED at 230.
1 out of 1 hunk FAILED -- saving rejects to file src/map/mob.h.rej
(Stripping trailing CRs from patch.)
patching file src/map/pc.h
Hunk #1 FAILED at 122.
1 out of 1 hunk FAILED -- saving rejects to file src/map/pc.h.rej
[himeka@spesialhosting-corp ~]$

use my other dumb server :) cause the top post is my main and dont want mess with it /abs

Edited by onizame
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   2
  • Joined:  07/05/12
  • Last Seen:  

woow.. yah the himeka one dont have root access and its 3CeaM 650.. :D the one with extended vending system lilith was got root.. but i dunno how to downgrade it D: bcuz its getting error when i put manually.. /abs

ty for reply sir Jman.. :D i'll find out how to downgrade /abs

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi onizame,

I believe you may use the following command to grab a certain revision if you're starting fresh.

svn co -r16070 https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   2
  • Joined:  07/05/12
  • Last Seen:  

oh tyvm sir asura :D i havent finish everything for my server.. i want to open it on perfect condition.. :P i dunno how long q.q wasting time renting VPS

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...