Package: pose
Severity: grave
Tags: patch
Justification: renders package unusable


Pose 3.5-7+test1 builds and runs. Physical buttons respond to mouse
clicks. Pen events do not work.

This bug has already been identified. It's a mistake in the GCC 3.3
compiler. There are two workarounds.

1) Enable -fno-strict-aliasing when compiling EmPoint.cpp.

2) Apply this patch written by John Marshall, available on sourceforge,
patch 1197981. Changes this line in EmPoint.cpp from...

        #define FOR_POINT(cls, size, x, y)              \
                EmPoint::operator cls() const           \
                { size pt[2]; pt[x] = fX; pt[y] = fY; return *(cls*) pt; }

To...

        #define FOR_POINT(cls, size, x, y)              \
                EmPoint::operator cls() const           \
                        { union {size pt[2]; cls c;} u; \
                          u.pt[x] = fX; u.pt[y] = fY; return u.c; }

Either solution works. Second one is preferable.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to