Bug#581071: [#581071] Patch offer

Regis Boudin regis at boudin.name
Mon Jun 6 22:30:02 UTC 2011


Hi,

As I've been doing some SIP stuff recently I needed to use sip-tester
wit the pcapplay feature, so had a look at the problem. In turns out
that the CFLAGS are overridden, which means -D__LINUX is not passed,
with all sorts of bad consequences, including this bug.

The attached patch renames the internal CFLAGS and CPPFLAGS to MYCFLAGS
and MYCXXFLAGS, and add CFLAGS and CXXFLAGS to the flags passed to the
compilers.

Please also note that, with this flag, -DHAVE_GSL is passed as well when
compiling, which means that only the part of enable_gsl.patch that
modify local.mk should be actually be useful.

HTH,

Regis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_flags_fix.patch
Type: text/x-patch
Size: 1382 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20110606/b6a2baa1/attachment.bin>


More information about the Pkg-voip-maintainers mailing list