[Pkg-erlang-devel] Bug#770892: erlang: Hardcodes numeric values of constants from wx 2.8

Olly Betts olly at survex.com
Mon Nov 24 23:17:28 UTC 2014


Package: erlang-dev
Version: 1:17.3-dfsg-2
Control: tags -1 + patch
Severity: important

Dear maintainer,

The erlang source package contains hardcoded numeric values of constants
from wxwidgets 2.8, but the values of a number of these have changed in
wxwidgets 3.0.

The file in question is lib/wx/include/wx.hrl and has a comment at the
top that it is generated, but this doesn't happen during the debian
package build, and it gets installed as-is into the erlang-dev package
with path: /usr/lib/erlang/lib/wx-1.3.1/include/wx.hrl

It seems likely to me that this is going to cause hard to debug
misbehaviour of erlang apps using wx, but I'm not familiar with erlang
so haven't attempted to verify this.

I noticed this problem while working on #766790, but the problem in
erlang is more widespread that just the fallout from the wxLANGUAGE_*
constants which changed between wx 3.0.0 and 3.0.1:

https://bugs.debian.org/766790

Attached is a patch to update all the out of date constant values.

Cheers,
    Olly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erlang-17.3-dfsg-2.1-nmu.diff
Type: text/x-diff
Size: 21295 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-erlang-devel/attachments/20141125/558668a1/attachment.diff>


More information about the Pkg-erlang-devel mailing list