File: HOWTO.PATCH

package info (click to toggle)
libbluray 1%3A0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,840 kB
  • sloc: java: 15,630; ansic: 13,319; sh: 11,096; makefile: 230; xml: 26
file content (20 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
=================================
HOW TO CREATE (AND APPLY) A PATCH
=================================

Creating a patch is easy!

1. Make sure you have two CLEAN copies of the directory that you want to patch, e.g. libbluray.orig/ and libbluray.new/

2. Make your changes in libbluray.new/ (make sure that you ONLY make changes that you want to be included in the patch)

3. Create the patch from the parent directory as follows:

	diff -rupN libbluray.orig/ libbluray.new/ > libbluray.patch

4. You now have a patch called 'libbluray.patch'.

5. To apply the patch, change to the clean source directory that you want to patch (e.g. libbluray.clean/), and run:

	patch -p1 < libbluray.patch