Skip to main content

Questions tagged [patch]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

I'm trying to apply the rt-patch to the standard kernel from kernel.org. So far I have tried 3.14 and 3.10 from here: https://www.kernel.org/pub/linux/kernel/projects/rt/ with the corresponding ...
BullBoyShoes's user avatar
0 votes
1 answer
134 views

I previously used Linux 3.0.35 to customize the OS for an IMX based board. I'm now planning to upgrade it to Linux 3.10.17. The customization was compiled into patches, (80+ patches!). My problem now ...
Naze Kimi's user avatar
  • 131
0 votes
1 answer
288 views

I want to apply an rt patch to the latest stable vanilla kernel, which is 3.17.4 currently. The latest rt-patch found are for 3.14.24. Does that mean I have to use the the 3.14.x family, and can not ...
Nicco's user avatar
  • 23
9 votes
1 answer
16k views

I was applying a patch with quilt in Debian packaging that an error occurred: Applying patch debian/patches/fixshare.patch patching file net/slirp.c Hunk #1 FAILED at 529. 1 out of 1 hunk FAILED -- ...
Fatemeh Abdollahei's user avatar
-1 votes
1 answer
211 views

We have over 10000 servers to patch for bash vulnerability (shellshock) bug. Now my question is what is the command to patch this bug ? And how we can check whether the patch has been installed and ...
Srv's user avatar
  • 13
1 vote
1 answer
429 views

I have a buildroot package that I need to build. When I issue the 'make' command, it runs until it errors out with "lutimes undeclared". After lengthy research, it appears that uClibc needs to be ...
3bdalla's user avatar
  • 441
41 votes
2 answers
65k views

I have a patch with absolute paths that I wish to use. i.e. the first few lines are as follows. --- /usr/share/apps/plasma/packages/org.kde.pager/contents/ui/main.qml 2014-10-10 18:47:23.000000000 +...
Sparhawk's user avatar
  • 20.6k
2 votes
3 answers
15k views

I am about to install a patch for wireless drivers named Compat Wireless in order to solve a problem with my WiFi channel (it locks on the not existing -1 channel) on my Ubuntu Linux v12.04 and Kali ...
Sopalajo de Arrierez's user avatar
1 vote
1 answer
130 views

I am currently installing ModSecurity on our development servers and the problem that I am running into with the latest version is that we are utilizing RHEL 4 on our servers. They have no intention ...
Christopher Stanley's user avatar
1 vote
2 answers
8k views

Let's say that I am using a program called "hello" which I have downloaded using the zypper. The question is how can I see if a specific .patch is included into this hello package? Basically, what I ...
drpaneas's user avatar
  • 2,450
45 votes
2 answers
81k views

I would like to create a patch from a specific gcc branch comparing it to the official releases; so when I unpack the tarball from the stable release, I can apply the patch and get the equivalent of ...
user2485710's user avatar
  • 1,653
1 vote
1 answer
3k views

The bash shell in my production box is vulnerable to 'bashbug' vulnerability. https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/ The ...
Zama Ques's user avatar
  • 3,406
0 votes
1 answer
542 views

I heard that bash-3.2-33.el5_10.4 is a CVE-7169 patch for CentOS 5. So I found an announcement from CentOS website below. http://lists.centos.org/pipermail/centos-announce/2014-September/020594.html ...
tiratano's user avatar
3 votes
2 answers
407 views

We are using linux3.12 and its led driver has a bug which got fixed in later version of Linux. We see that driver change in Linux 3.15 see Linux Cross Reference Now my question is how can I find a ...
ART's user avatar
  • 1,231
0 votes
1 answer
126 views

I'm trying to patch OpenBSD 5.5 with all of the 10 errata. The command I use to patch is: signify -Vep /etc/signify/openbsd-55-base.pub -x /path/to/patch/ \ -m - | (cd /usr/src && patch -p0) ...
user66229's user avatar
  • 1,133
0 votes
1 answer
2k views

So here's my question I recently downloaded the linux kernel patch 3.4.101 and i applied this patch directly to the base 3.4.0 with this command: $ cd /kernel source directory $ gzip -cd ../path to ...
slo-loris's user avatar
2 votes
1 answer
843 views

I got diff text from lkml how do I patch it into a kernel source? I am using debian
RN_'s user avatar
  • 143
2 votes
1 answer
4k views

On many Linux distributions, be it BackTrack, Kali, BackBox, Ubuntu, Mint, etc., whenever I use anything from the aircrack-ng suite my wireless card is shown as channel -1. This problem has been ...
Kale Muscarella's user avatar
1 vote
1 answer
664 views

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 ...
user505879's user avatar
22 votes
2 answers
6k views

For each Linux kernel version, there is a patch file available for download. For instance, linux-3.12.22 has a corresponding patch-3.12.22. What is the purpose of that patch? To always patch the ...
Eleno's user avatar
  • 1,859
3 votes
1 answer
143 views

Recently, to deal with newly revealed SSL bugs I upgraded my pure Debian distribution. OpenSSL reports a version number of 1.0.1e which is not the latest, however, I am told that it is ok, because the ...
Tyler Durden's user avatar
  • 6,263
2 votes
3 answers
14k views

I am trying to apply a patch that is provided by the seek-for-android project to code I downloaded from Cyanogenmod. The code compiled successfully with make, so I know all the files are there. I just ...
user3326293's user avatar
4 votes
2 answers
9k views

I am trying to patch a linux 3.13.7 source tree to 3.13.8 using the patch-3.13.8.xz file. Since the patch file is in xz format, I used the following command to apply it while in the source tree: unxz ...
Connor Blakey's user avatar
5 votes
1 answer
2k views

I'm using Pertag patch As a Gentoo user I apply dwm patches using Portage. Basically there's a directory where user can put a patch for sourcecode and Portage will apply it during the compilation ...
dqq's user avatar
  • 53
3 votes
1 answer
2k views

My question is related to the patch introduced in this post How to tell Linux Kernel > 3.0 to completely ignore a failing disk? If the kernel is patched with this code what is the kernel parameter ...
user61520's user avatar
1 vote
0 answers
83 views

I'm trying to understand how the patching of the kernel source works. I found the patch that I would like to try an apply on the following page. I found no .patch files that I can use to apply the ...
TheMeaningfulEngineer's user avatar
0 votes
1 answer
409 views

From what I understand, I can easily upgrade my kernel by applying patches to it, opposed to recompiling the kernel every time. I'm trying to go from kernel 3.2.51 to 3.2.54 by applying all the ...
steve51516's user avatar
3 votes
1 answer
117 views

I have a Sun Ultra Enterprise 2 running Solaris 8 (Generic_108528-11). This hasn't had any patches applied for years. I just now got the configuration right for connecting to the internet through my ...
Tom's user avatar
  • 61
2 votes
2 answers
2k views

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 (patch)...
user avatar
0 votes
2 answers
209 views

Does anyone have any news about the -ck patches for Linux 3.13 kernel tree? I've checked here but there's nothing yet...
lviggiani's user avatar
  • 3,649
1 vote
1 answer
2k views

I am trying to do a mini code review for new source code that I have in a folder. The code is not in any kind of version control. Is it possible to create a patch file from this so I can post it for ...
Amir Afghani's user avatar
  • 7,373
8 votes
1 answer
8k views

Narrow-down of a patch problem I am trying to troubleshoot: Only two files, each with a size of 1 byte: file a (containing 'a') file b (containing 'b') and Goal is to make and then apply a patch that ...
Marcus Junius Brutus's user avatar
8 votes
2 answers
7k views

I'm trying to create patch a file using diff tool.But facing an issues.The way I am doing is below. I've created one Directory named a and put original file in to it. a/original_file.c Now I have ...
Ram's user avatar
  • 665
14 votes
1 answer
4k views

I have an application foobar for which someone has written a patch to add a feature I like. How can I use the patch?
goldilocks's user avatar
  • 90.1k
2 votes
1 answer
2k views

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: https://git.kernel.org/cgit/linux/kernel/...
nLinked's user avatar
  • 219
6 votes
1 answer
4k views

I'm looking for a signals logger for the Linux kernel, without patching of kernel. I found many articles with patching, but I am not interested in that. I'm running default Ubuntu 13.04. # uname -a ...
user avatar
29 votes
5 answers
25k views

I don't subscribe to the linux-kernel mailing list, but I want to get a set of patches that were posted a few weeks ago and apply them to my kernel for testing. I'm very familiar with patching, ...
MadScientist's user avatar
  • 3,228
4 votes
1 answer
737 views

Is there any way to get information about an available package update via zypper? I can get info about a patch with: zypper info -t patch pachNameHere and I can obtain the patch name via: zypper ...
Jorge V.'s user avatar
  • 429
8 votes
2 answers
228 views

I have submitted a patch to the linux kernel that has gotten several reviews and gone through a couple iterations on the mailing list. It has been ACKed and reviewed by two developers, but they say ...
drs's user avatar
  • 5,641
1 vote
1 answer
200 views

I'm trying to update a plugin for quodlibet. I fetched a .patch file from here. I navigate into the directory where the plugin is placed /usr/share/pyshared/quodlibet/plugins/events and copy in the ....
32bitfloat's user avatar
18 votes
2 answers
14k views

I have a very large patch file that I'm trying to apply to my code. The problem is, some of the changes in my patch already exist in the code. Is there a way to make patch gracefully ignore the ...
Shum's user avatar
  • 1,375
26 votes
8 answers
44k views

I have read about diff and patch but I can't figure out how to apply what I need. I guess its pretty simple, so to show my problem take these two files: a.xml <resources> <color name="...
Rafael T's user avatar
  • 875
3 votes
2 answers
9k views

I having some trouble adding .diff patch to a file. Patch file itself seems to be fine but it keeps giving error: root@pipiripi:/home/tomek/mad# patch mifare-mad.pl < pastie1.diff patching file ...
Chrzciciel's user avatar
4 votes
2 answers
557 views

Is there any standard option to create 'patch' P that works on file F in such way that it will keep working correctly when file F changes into F'. So I will either have some mechanism that will ...
majkinetor's user avatar
-1 votes
0 answers
42 views

Possible Duplicate: Implementing patch for changing a CPU frequency governor I am beginner in linux.I want implement a patch for change a arbitrary Governor in linux.not important what Governor be ...
linux's user avatar
  • 103
-3 votes
1 answer
422 views

I need 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?
linux's user avatar
  • 103
32 votes
5 answers
36k views

Is it possible to know if a file has been patched already, before apply the patch? I need to do this in a script, any thoughts?
daisy's user avatar
  • 55.9k
5 votes
0 answers
266 views

I'm trying to use xdelta3 to bring a remote block device into sync with a local one. I'm able to easily generate a xdelta3 patch file using the command: xdelta3 -e -B 33554432 -v -9 -I 0 -s /dev/...
David Pfeffer's user avatar
2 votes
1 answer
2k views

Possible Duplicate: Given a git patch id, how to find out which kernel release contains it? I encountered a bug in one of the newer kernel versions. There is no workaround; if I want to have sound ...
rumtscho's user avatar
  • 259
29 votes
8 answers
28k views

Is it possible to tell patch not to generate .orig and .rej files? I find it extremely annoying that patch creates these.
TheLegassis's user avatar