A patch is file used to alter a source code package, e.g. in order to correct a bug or add a feature.

learn more… | top users | synonyms

10
votes
1answer
261 views

How do I apply software patches?

I have an application foobar for which someone has written a patch to add a feature I like. How can I use the patch?
1
vote
0answers
53 views

How do I fix a patch [closed]

I am trying to fix a patch, and reviewed a couple of very interesting urls. One of which is this one: Handling Patch Rejects I like to make sure I am understanding the patch and the problem correctly. ...
-3
votes
1answer
208 views

Implementing patch for changing a CPU frequency governor [closed]

I am a beginner in Linux. I want implement patch for changing a CPU frequency governor.But I don't know what is patch and Governor in Linux and I don't know where I can start from? Please help me with ...
2
votes
2answers
2k views

When patching what's the difference between arguments -p0 and -p1?

What's the difference between patch -p0 and patch -p1? Is there any difference at all?
2
votes
2answers
141 views

What is the difference between a patch which reverts a commit and a “reversed patch”?

Before May 6th, 2013, the fs/eventpoll.c file in the Linux kernel had the following line #1605: if (!schedule_hrtimeout_range(to, slack, HRTIMER_MODE_ABS)) On May 6th, a commit changes this to ...
1
vote
1answer
30 views

How to modify huge patch file properly?

I have this patch. I want to disable patching of Makefile and drivers/video/logo/logo_linux. What is best way of doing this? Do I edit it, and delete that specific entries? If so, is there a tool ...
1
vote
1answer
241 views

How do I apply this revert commit patch from git?

I have found a patch applicable to my system to fix a problem but I have no idea how to get this patch and then apply it. Can anybody help me please? Patch: ...