[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to cope with patches sanely

martin f krafft <madduck@madduck.net> writes:

> also sprach Pierre Habouzit <madcoder@debian.org> [2008.01.27.0323 +1100]:
>>   For example when you need different series of patches per
>> architecture (the libc e.g. has specific hurd patches).
> Wouldn't this be handled better with preprocessor #ifdefs? I'd say
> it would make the code clearer and more maintainable. But then
> again, I have none (read: zero) experience with this sort of
> challenge.

If the arch-specific patches don't have #ifdefs, it also hinders
pushing the patch upstream, so I think if the patches can't be applied
for every build there's a problem with them right there.


  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: pgpmLt7S8OU12.pgp
Description: PGP signature

Reply to: