On Fri, Mar 11, 2011 at 12:51:26PM +0100, Ansgar Burchardt wrote:
> Source: supertuxkart
> Version: 0.7+dfsg1-1
> Severity: important
[snip]
> The attached patch allows to build supertuxkart with enet 1.3.1, but I did not
> do any further testing.

Wouldn't it be a slightly better idea (and maybe slightly more
acceptable upstream) to do this conditionally, e.g. with something like
the following (untested since right now I'm having some problems
building supertuxkart from source, some kind of complaints about a
missing src/enet/Makefile.in during the autoreconf run):

#if defined(ENET_VERSION_MINOR) && ENET_VERSION_MINOR >= 3
#define HAVE_ENET_1_3
#endif

...and then #ifdef the additional parameter to the functions?

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net r...@freebsd.org pe...@packetscale.com
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If you think this sentence is confusing, then change one pig.

Attachment: signature.asc
Description: Digital signature

Reply via email to