File: patch.howto

package info (click to toggle)
eggdrop 1.3.19-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,248 kB
  • ctags: 3,501
  • sloc: ansic: 38,705; tcl: 1,411; makefile: 524; sh: 487
file content (21 lines) | stat: -rwxr-xr-x 823 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
In order to apply the patch files found on this site you must have a
utility called patch, if you do not have it, then you can only manually
apply these patches, which I wouldn't recommend.

Here is the basic command, ungzip the patch file, and run the following
command from your eggdrop directory (not the src directory):

patch -p1 < file.patch

Once this is complete, execute the following command:

find . -name "*.rej" -print

If it returns a list with filenames that end in the rej extension then the
patch didn't apply properly, ensure that the patch is for the version
intended, ensure that you have the original source, and ensure that the
patch is not corrupted.

If it turns out that the patch was successful then be sure to recompile
by running make again. Remember to properly install the new
binary/modules.