Bug#544384: xrdp: Xrdp stops with bus-error on ARM (easy fix inside)

2009-09-25 Thread Vincent Bernat
OoO  En ce doux  début de  matinée du  lundi 31  août 2009,  vers 08:11,
Sven-Ola Tuecke sven-...@gmx.de disait :

 Does not run on my Android-based Samsung Galaxy
 (ARMel-LE) because the underlying protocol has
 non-aligned shorts (RDP is windows...) and the
 #ifdef __arm__ is missing in common/arch.h.

Hi!

I will  package 0.4.1  shortly. I  think that your  patch will  still be
necessary and therefore, I will apply it.
-- 
panic (Splunge!);
2.2.16 /usr/src/linux/drivers/scsi/psi240i.c


pgpEfM9WziufT.pgp
Description: PGP signature


Bug#544384: xrdp: Xrdp stops with bus-error on ARM (easy fix inside)

2009-08-31 Thread Sven-Ola Tuecke
Package: xrdp
Version: 0.4.0~dfsg-9
Severity: important
Tags: patch

Does not run on my Android-based Samsung Galaxy
(ARMel-LE) because the underlying protocol has
non-aligned shorts (RDP is windows...) and the
#ifdef __arm__ is missing in common/arch.h.

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv6l)

Kernel: Linux 2.6.27 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /data/local/mnt/bin/bash

Versions of packages xrdp depends on:
ii  adduser 3.110add and remove users and groups
ii  libc6   2.7-18   GNU C Library: Shared libraries
ii  libpam0g1.0.1-5+lenny1   Pluggable Authentication Modules l
ii  libssl0.9.8 0.9.8g-15+lenny1 SSL shared libraries

Versions of packages xrdp recommends:
ii  tightvncserver [vnc-server]   1.3.9-4virtual network computing server s

xrdp suggests no packages.

-- no debconf information
--- xrdp-0.4.0~dfsg/common/arch.h.orig	2009-08-31 07:56:08.0 +0200
+++ xrdp-0.4.0~dfsg/common/arch.h	2009-08-31 07:57:05.0 +0200
@@ -35,7 +35,7 @@
 /* check if we need to align data */
 #if defined(__sparc__) || defined(__alpha__) || defined(__hppa__) || \
 defined(__AIX__) || defined(__PPC__) || defined(__mips__) || \
-defined(__ia64__) || defined(__ppc__)
+defined(__ia64__) || defined(__ppc__) || defined(__arm__)
 #define NEED_ALIGN
 #endif