On 9/10/06, Jonas Karlsson <[EMAIL PROTECTED]> wrote:
> On Sun, 10 Sep 2006 20:40:40 +0200, Fábio Mierlo <[EMAIL PROTECTED]> wrote:
>
> > On 9/9/06, Jonas Karlsson <[EMAIL PROTECTED]> wrote:
> >> On Fri, 08 Sep 2006 02:38:51 +0200, Fábio Mierlo <[EMAIL PROTECTED]>
> >> wrote:
> >>
> >> > Hi,
> >> >
> >> > I'm trying to make a recipe for the Firebird database, it really
> >> sucks.
> >> >
> >> > There's 22K of patch until now, most of then is due hardcode "root"
> >> > strings.
> >>
> >> Can't you just do "find -type f | xargs -i sed -i s/root/0/ {}" in
> >> pre_patch()/pre_build()?
> >
> > No, it is a recipe for a database. Databases have trees and trees have
> > roots ;-)
> >
> hehe, could break stuff, huh? :)Yes, some variables had the name root, hehehe > > > It isn't too difficult, I just grep and replace chown and string "root" > > in most > > of cases. > > > Then can't you sed those most cases in pre_patch()/pre_build() and only > have a patch for the few(?) remaining cases? I think it's better no, there is some exceptions and a really like the way that patches work. Maybe I can put some comments of how to "sed" this source in the recipe and send the patches to the developers. > > -- > /Jonas > > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > _______________________________________________ > gobolinux-devel mailing list > [email protected] > http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel > _______________________________________________ gobolinux-devel mailing list [email protected] http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel
