better way to handle patches
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon May 15 18:38:51 UTC 2006
On Mon, May 15, 2006 at 02:48:19PM -0300, Caio Begotti wrote:
> Hi, I've adapted a patch from a friend that enables a full Brazilian
> Portuguese syntax in VoiceMail(), say function and app_sayunixtime.so in
> Asterisk. The problem is this patch applies only in Asterisk 1.2.6 .deb, not
> in trunk.
(that part is quite rewritten in trunk, isn't it?)
>
> I don't want to expend more time changing it to cleanly apply in the current
> pkgvoip SVN' set of patches but, it would be awesome to get included. Is
> there some magic way to handle this kind of situation? What I mean is that
> the patch is going to be applied after all others, but then the real code has
> been changed and the patch doesn't apply anymore.
>
> Well... again: is there some magic way to handle lots of patches that
> writes/changes the same original file? If so, please let me know how; I'd
> probably try it and after that I'd send the .dpatch to the list.
>
> The original patch from him:
> http://caio.ueberalles.net/asterisk/lang_br_v3_asterisk-1.2.7.1.patch
>
> My .dpatch file for asterisk-1.2.6:
> http://caio.ueberalles.net/asterisk/brazilian_syntax.dpatch
Is "br" the language name to use? It seems that "pt_br" is preffered.
You also seem to use "pt-de" in the patch to sayunixtime.c .
As this part is being rewritten, I'm not sure those patches would be
welcomed in the main asterisk Mantis. Anyway, unless they are to
conflict with other patches, and if they solve real-world problems, I'm
for them.
--
Tzafrir Cohen sip:tzafrir at local.xorcom.com
icq#16849755 iax:tzafrir at local.xorcom.com
+972-50-7952406
tzafrir.cohen at xorcom.com http://www.xorcom.com
More information about the Pkg-voip-maintainers
mailing list