best way to add patch to x11/slim-1.3.1

Benjamin Lee ben at b1c1l1.com
Wed Nov 19 19:36:34 PST 2008


On 11/19/08 17:34, Fbsd1 wrote:
> Greg Larkin wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Fbsd1 wrote:
>>> On the developers website there is a patch i want to apply
>>>
>>> http://developer.berlios.de/patch/?func=detailpatch&patch_id=2283&group_id=2663
>>>
>>>
>>>
>>> [ Patch #2283 ] Add a variable to run shutdown commands without root
>>> pass.
>>>
>>> How can i get "make install" to apply this patch while compiling the
>>> port?
>>>
>>
>> Hi Fbsd1,
>>
>> Since you've already found a unified diff of the change that you want to
>> incorporate into the port, you can submit a PR (problem report) using
>> the form here: http://www.freebsd.org/send-pr.html.
>>
>> Just follow the instructions on that page, and your patch will be
>> submitted to the PR system.  The port maintainer reviews your PR, makes
>> the necessary change and possibly updates the port's revision number.
>> You then use portupgrade or some other means to install the new version
>> of the port with the incorporated patch.
>>
>> Hope that helps,
>> Greg
>> - --
>> Greg Larkin
>>
> 
> I submitted PR like you suggested, But i am in need of more immediate
> results. What changes to the port files do i need to make to get the
> port to complie in the patch file?

You should read the FreeBSD Porter's Handbook [1].  In particular,
you'll probably be interested in section 4.4, "Patching" [2].

[1]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html
[2]
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/slow-patch.html


-- 
Benjamin Lee
http://www.b1c1l1.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081120/783b30d7/signature-0001.pgp


More information about the freebsd-questions mailing list