[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to apply a patch
From: |
Tony Theodore |
Subject: |
Re: How to apply a patch |
Date: |
Thu, 15 Oct 2020 21:43:54 +1100 |
> On 15 Oct 2020, at 20:02, Theuns Heydenrych <theunsheydenrych@gmail.com>
> wrote:
>
> HI
> I am trying to apply a patch to a package but does not look like is it
> applied.
> Attached is my package files with the patch.
> The patch file was generated with the following command.
> diff -u msg.cpp msg.cpp.edit > libzmq-malt-1-fixes.patch
> Where am I going wrong?
There are a few options:
- name the patch "libzmq-1-malt-fixes.patch" or anything that matches
pkg-[0-9]*.patch
- name the package "libzmq-malt"
- set $(PKG)_PATCHES e.g. make libzmq libzmq_PATCHES="/path/to/patch1
/path/to/patch2"
Note patches are applied with '-p1' so you'll have to generate the diff above
the top level directory.
Cheers,
Tony
- How to apply a patch, Theuns Heydenrych, 2020/10/15
- Re: How to apply a patch,
Tony Theodore <=
- Message not available