egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Patching eggdrop

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Mogour
Voice


Joined: 10 Feb 2008
Posts: 17

PostPosted: Tue Apr 22, 2008 10:04 am    Post subject: Patching eggdrop Reply with quote

I tried to patch the eggdrop to the new version (from 1.6.18. to 1.6.19)

I downloaded the patch and made:

Quote:


patch -p1 < ../path.to.the/patch


But if I do this:

Quote:
Once this is complete, execute the following command:

find . -name "*.rej" -print


I just get:

Quote:
find: ./.maildir/.Junk: Permission denied


Any ideas?
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Tue Apr 22, 2008 12:10 pm    Post subject: Re: Patching eggdrop Reply with quote

Mogour wrote:
I tried to patch the eggdrop to the new version (from 1.6.18. to 1.6.19)

I downloaded the patch and made:

Quote:


patch -p1 < ../path.to.the/patch


But if I do this:

Quote:
Once this is complete, execute the following command:

find . -name "*.rej" -print


I just get:

Quote:
find: ./.maildir/.Junk: Permission denied


Any ideas?

Quote:
Once this is complete, execute the following command:

find . -name "*.rej" -print

If it returns a list with filenames ending with .rej extension, then the patch didn't apply properly. Ensure that the patch is intended for your version and that you have the original source. You should also try to re-download the patch to ensure that the patch is not corrupted.

Fairly easy to figure out, since you didn't get any .rej files the patch worked.
Back to top
View user's profile Send private message
ztian299
Halfop


Joined: 19 Apr 2008
Posts: 59
Location: *.no

PostPosted: Tue Apr 22, 2008 12:15 pm    Post subject: Reply with quote

You could try use
Code:

patch -p0 < ../path.to.the/patch
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Wed Apr 23, 2008 12:24 am    Post subject: Reply with quote

You also have to recompile after patching.......
Back to top
View user's profile Send private message
Mogour
Voice


Joined: 10 Feb 2008
Posts: 17

PostPosted: Wed Apr 23, 2008 8:41 am    Post subject: Re: Patching eggdrop Reply with quote

Hmm oki, it worked now.

One last question:

Can I rename the folder eggdrop1.6.18 to eggdrop1.6.19 or will this cause any problems?
Back to top
View user's profile Send private message
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Wed Apr 23, 2008 10:12 am    Post subject: Re: Patching eggdrop Reply with quote

Mogour wrote:

Can I rename the folder eggdrop1.6.18 to eggdrop1.6.19 or will this cause any problems?

mv eggdrop1.6.18 eggdrop1.6.19
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Apr 23, 2008 2:31 pm    Post subject: Reply with quote

It should cause any problems, however it might cause some problems if you have scripts in which you have the directory set as a path (for example: set pathtofile "~/eggdrop1.6.18/path"). In case you have, you must update the paths.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber