Bug#743622: libnspr4-dev: support for ppc64el

Erwan Prioul erwan at linux.vnet.ibm.com
Fri Apr 4 10:20:58 UTC 2014


Package: libnspr4-dev
Version: 2:4.10.4-1
Severity: normal
Tags: patch

Dear Maintainer,

I've noticed some defines aren't well set for powerpc64le (aka ppc64el) 
in linux config file (include/md/_linux.cfg).
There is an assumption that powerpc64 is big endian, so defines are set 
in this way (for example IS_BIG_ENDIAN is defined). This assumption 
could lead to compiling error on ppc64el arch which is powperpc64 and 
little endian.
To prevent errors, I've added a test to check for powerpc64 to verify 
the endianness (little or big).

Hope it helps.

-- System Information:
Debian Release: jessie/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libnspr4-dev depends on:
ii  libnspr4  2:4.10.4-1

libnspr4-dev recommends no packages.

libnspr4-dev suggests no packages.

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: _linux.cfg.patch
Type: text/x-diff
Size: 1669 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20140404/d4c7855d/attachment.patch>


More information about the pkg-mozilla-maintainers mailing list