Patch file for moduleΒΆ

Downloadable version of patch file

To include a patch file do something like the following:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
Always remember that a good patch file should have a comment inside about what the patch is for....just like this
--- hello.c	2014-10-07 18:17:49.000000000 +0530
+++ hello_new.c	2014-10-07 18:17:54.000000000 +0530
@@ -1,5 +1,6 @@
 #include <stdio.h>

-int main() {
+int main(int argc, char *argv[]) {
 	printf("Hello World\n");
+	return 0;
 }