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

0
votes
0answers
13 views

on SLES how to find descriptive information for a patch

I have an SLES 11 SP3 system and I want to get knowledgebase information on recommended patches. When I check for new patches, I get output: # zypper list-patches Repository | Name ...
-1
votes
1answer
43 views

how to patch bash vulnerability (shellshock) bug on RHEL? [duplicate]

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 ...
1
vote
1answer
19 views

Applying patch to the uClibc

I have a buildroot package that I need to build, when command 'make' is executed, it goes fine until a step where it says "lutimes undeclared". After a long research it appears that uClibc needs to be ...
1
vote
1answer
17 views

How can I apply a -p0 patch from any working directory?

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 ...
-1
votes
0answers
22 views

How can I review the patches for a package? [duplicate]

I need to verify that some certain patches (changes in the source code) have been applied on a specific package. Which is the best practice to do that? Normally, I need the source RPM. Then, extract ...
0
votes
1answer
40 views

How can I check if a certain patch is already installed in my system?

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 ...
1
vote
1answer
38 views

Latest libxml2 port to RHEL4

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 ...
0
votes
1answer
27 views

How can I list the patches of an installed package in SUSE?

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 ...
0
votes
1answer
52 views

Is this a good way to create a patch?

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 ...
0
votes
1answer
81 views

Applying patch for bash failing

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 ...
0
votes
0answers
42 views

patch bash at sunos5.7

Refer:shellshock solution for nexenta/solaris post for shellshock solution may I confirm the command is method1: /usr/local/bin/curl \ https://ftp.gnu.org/pub/gnu/bash/bash-3.2-patchs/bash32-001 ...
-1
votes
1answer
350 views

CentOS, Can I install 5.10 rpm into 5.8?

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 ...
3
votes
2answers
43 views

Linux kernel patch and development source tree

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 ...
0
votes
0answers
22 views

Patching and Compiling my Kernel

So I have an issue with my USB 2.0 ports and I believe I have found a solution for it, which is in the below link. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1210858/comments/32 I have ...
0
votes
1answer
51 views

Unable to patch 2 errata on OpenBSD 5.5

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) ...
0
votes
1answer
38 views

How to take the log of the patches we applied?

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 ...
2
votes
1answer
36 views

How do you patch a kernel? [duplicate]

I got diff text from lkml how do I patch it into a kernel source? I am very new to compiling kernels, and I couldn't find decent sources online I am using debian if it is relevant
1
vote
1answer
576 views

aircrack-ng shows negative channel

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 ...
1
vote
1answer
39 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 ...
19
votes
2answers
955 views

What is the purpose of patches of the linux kernel?

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 ...
3
votes
1answer
87 views

Explanation of version build time as opposed to version number, eg OpenSSL 1.0.1e versus h [duplicate]

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 ...
1
vote
0answers
64 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. ...
1
vote
2answers
782 views

How can I know if patch command is working?

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 ...
0
votes
1answer
57 views

centos patch heartbleed bug [duplicate]

How to do this? There are six packages listed for my 32bit system here Not sure how to go about patching... Ok I have not done yum clean all and yum update "openssl*" but am stuck on following ...
0
votes
0answers
510 views

How to apply a patch correctly?

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 ...
4
votes
1answer
98 views

Dwm - pertag patch - save state between restarts

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 ...
3
votes
1answer
367 views

libata patch to allow disable sata port

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 ...
1
vote
0answers
35 views

Patching the kernel source through git

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 ...
0
votes
1answer
64 views

Patching linux kernel fails?

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 ...
3
votes
1answer
49 views

How difficult will it be to determine, get and apply latest patches to Solaris 8

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 ...
2
votes
2answers
183 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 ...
0
votes
2answers
129 views

ck patch for Linux 3.13 [closed]

Does anyone have any news about the -ck patches for Linux 3.13 kernel tree? I've checked here but there's nothing yet...
0
votes
1answer
56 views

How to create a patch file for new source code [closed]

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 ...
0
votes
1answer
127 views

Patching Process in AIX

I am new to the world of AIX and I am pretty unsure on how the patching process goes about. I just joined a new company and they are using AIX as their preferred OS (actually due to having all IBM ...
4
votes
1answer
312 views

Why does diff fail when invoked from a Makefile?

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 ...
3
votes
1answer
86 views

How to create a patch ignoring indentation differences in the code?

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 ...
10
votes
1answer
281 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
1answer
326 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: ...
3
votes
1answer
153 views

Linux signals logger

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 ...
7
votes
2answers
2k views

How do I get a linux kernel patch set from the mailing list?

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, ...
3
votes
1answer
69 views

get info about package update in openSuSE

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 ...
8
votes
2answers
128 views

How should I solicit feedback from a tree maintainer for patches sent to the lkml?

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 ...
1
vote
0answers
581 views

Font rendering - Infinality patches on Ubuntu

There is a Ubuntu PPA https://launchpad.net/~no1wantdthisname/+archive/ppa?field.series_filter= with patches for Infinality оn Freetype and Cairo for 11.04 11.10 12.04 12.10 13.04 But the updates ...
0
votes
1answer
93 views

Installing a plugin for quodlibet as a patch

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 ...
6
votes
2answers
2k views

How to make patch ignore already applied hunks

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 ...
4
votes
6answers
3k views

how to use patch and diff to merge two files

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 ...
2
votes
2answers
3k views

Error “malformed patch at line” when patching file with .diff

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 ...
2
votes
2answers
69 views

Keep patch in sync with changing source

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 ...
-1
votes
0answers
30 views

how implement patch for change a arbitrary Governor in linux [duplicate]

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 ...
-3
votes
1answer
232 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 ...