[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fink-devel
Subject:    Re: [Fink-devel] %p in patch file?
From:       Daniel Johnson <daniel () daniel-johnson ! org>
Date:       2007-09-20 12:52:05
Message-ID: 0F5091DB-7D06-4196-B820-AC5E3746D908 () daniel-johnson ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Sep 20, 2007, at 7:54 AM, Koen van der Drift wrote:

>
>> I see it :-)
>>
>> []
>>> Patch: %n.patch
>> []
>>
>
> D'oh!  thanks,
>
> - Koen.

You should also use the newer PatchFile field instead of just Patch.  
You then have to use a PatchFile-MD5 field which allows Fink to  
ensure that the correct patch is being used. That'll catch mistakes  
like forgetting to commit an updated patch file, which I've done  
before. :) You can then also use %{PatchFile} instead of %a/% 
{ni}.patch in the PatchScript. See http://www.finkproject.org/doc/ 
packaging/reference.php?phpLang=en#fields under "PatchFile" for details.

Daniel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: http://homepage.mac.com/danielj7/publickey.txt

iD8DBQFG8mz24sDFGYouOqARAllrAJ9w7tyuOhyLR19NgmByz4vXs8qqpQCfVBeF
Aj6ESZ5+GgJFM4pQ2RD0NkI=
=IhwF
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic