~ubuntu-branches/ubuntu/jaunty/nspr/jaunty-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/include/md/_darwin.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack, Fabien Tassin, Alexander Sack
  • Date: 2009-01-11 13:50:07 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090111135007-butxlx6upwjcakod
Tags: 4.7.3-0ubuntu1
* New upstream version: 4.7.3 from NSPR_4_7_3_RTM tag

[ Fabien Tassin <fta@ubuntu.com> ]
* LP: #269188 - use /dev/urandom for better entropy on LTSP environments
* update diverged patches:
  - update debian/patches/30_pkgconfig.patch
  - update debian/patches/81_sonames.patch
  - update debian/patches/99_configure.patch

[ Alexander Sack <asac@ubuntu.com> ]
Drop debian soname patch for full upstream compatibility
* eliminate soname patch
  - delete debian/patches/81_sonames.patch
  - update debian/patches/series
* refresh configure patch to reflect dropped soname patch
  - update debian/patches/99_configure.patch
* install unversioned .so files
  - update debian/libnspr4-0d.install
* .so.0d links are not created without the soname patch. we create
  backlinks to the unversioned .so libs using debhelper; also we
  cannot dh_install the .0d versioned libs anymore and we drop
  them from .install accordingly
  - add debian/libnspr4-0d.links
  - update debian/libnspr4-0d.install
* implement link shuffeling transition (with abort cases) in
  maintainer scripts; affected libs: libnspr4.so libplc4.so libplds4.so
  - add debian/libnspr4-0d.postinst
  - add debian/libnspr4-0d.postrm
  - add debian/libnspr4-0d.preinst
  - add debian/libnspr4-0d.prerm
* drop soname version suffix from symbol files and reflect this fact by
  adjusting minimum version to this package version (4.7.3-0ubuntu1~)
  - update debian/libnspr4-0d.symbols
  - update debian/libnspr4-0d.symbols.amd64
  - update debian/libnspr4-0d.symbols.i386
  - update debian/libnspr4-0d.symbols.ia64
  - update debian/libnspr4-0d.symbols.lpia
  - update debian/libnspr4-0d.symbols.powerpc
* bump lower shlibs version constraint to 4.7.1+1.9-0ubuntu5~
  - update debian/rules
* rerun autoconf2.13 to apply dropped 81_sonames.patch to configure
  - update debian/patches/99_configure.patch
* explitly define libnspr4_0d_EXPORTED_LIBS and pass those manually
  to dpkg-gensymbols to workaround uncommon SONAME used by nspr libs
  - update debian/rules
* don't pretend to create shlibs-control file anymore; add binary
  lintian override for that
  - update debian/rules
* add #DEBHELPER# token to maintainer scripts
  - update debian/libnspr4-0d.postinst
  - update debian/libnspr4-0d.postrm
  - update debian/libnspr4-0d.preinst
  - update debian/libnspr4-0d.prerm

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
#define PR_AF_INET6 30  /* same as AF_INET6 */
46
46
 
47
 
#if defined(i386)
 
47
#if defined(__i386__) || defined(__x86_64__)
48
48
#undef IS_BIG_ENDIAN
49
49
#define  IS_LITTLE_ENDIAN 1
50
50
#else
52
52
#define  IS_BIG_ENDIAN 1
53
53
#endif
54
54
 
 
55
#ifdef __x86_64__
 
56
#define IS_64
 
57
#endif
 
58
 
55
59
#ifndef HAVE_LONG_LONG
56
60
#define HAVE_LONG_LONG
57
61
#endif
58
62
#undef  HAVE_ALIGNED_DOUBLES
59
63
#define HAVE_ALIGNED_LONGLONGS 1
60
64
 
 
65
#ifdef IS_64
 
66
 
 
67
#define PR_BYTES_PER_BYTE   1
 
68
#define PR_BYTES_PER_SHORT  2
 
69
#define PR_BYTES_PER_INT    4
 
70
#define PR_BYTES_PER_INT64  8
 
71
#define PR_BYTES_PER_LONG   8
 
72
#define PR_BYTES_PER_FLOAT  4
 
73
#define PR_BYTES_PER_DOUBLE 8
 
74
#define PR_BYTES_PER_WORD   8
 
75
#define PR_BYTES_PER_DWORD  8
 
76
 
 
77
#define PR_BITS_PER_BYTE    8
 
78
#define PR_BITS_PER_SHORT   16
 
79
#define PR_BITS_PER_INT     32
 
80
#define PR_BITS_PER_INT64   64
 
81
#define PR_BITS_PER_LONG    64
 
82
#define PR_BITS_PER_FLOAT   32
 
83
#define PR_BITS_PER_DOUBLE  64
 
84
#define PR_BITS_PER_WORD    64
 
85
#define PR_BITS_PER_DWORD   64
 
86
 
 
87
#define PR_BITS_PER_BYTE_LOG2   3
 
88
#define PR_BITS_PER_SHORT_LOG2  4
 
89
#define PR_BITS_PER_INT_LOG2    5
 
90
#define PR_BITS_PER_INT64_LOG2  6
 
91
#define PR_BITS_PER_LONG_LOG2   6
 
92
#define PR_BITS_PER_FLOAT_LOG2  5
 
93
#define PR_BITS_PER_DOUBLE_LOG2 6
 
94
#define PR_BITS_PER_WORD_LOG2   6
 
95
#define PR_BITS_PER_DWORD_LOG2  6
 
96
 
 
97
#define PR_ALIGN_OF_SHORT   2
 
98
#define PR_ALIGN_OF_INT     4
 
99
#define PR_ALIGN_OF_LONG    8
 
100
#define PR_ALIGN_OF_INT64   8
 
101
#define PR_ALIGN_OF_FLOAT   4
 
102
#define PR_ALIGN_OF_DOUBLE  8
 
103
#define PR_ALIGN_OF_POINTER 8
 
104
#define PR_ALIGN_OF_WORD    8
 
105
#define PR_ALIGN_OF_DWORD   8
 
106
 
 
107
#else /* IS_64 */
 
108
 
61
109
#define PR_BYTES_PER_BYTE   1
62
110
#define PR_BYTES_PER_SHORT  2
63
111
#define PR_BYTES_PER_INT    4
98
146
#define PR_ALIGN_OF_POINTER 4
99
147
#define PR_ALIGN_OF_WORD    4
100
148
 
 
149
#endif /* IS_64 */
 
150
 
101
151
#ifndef NO_NSPR_10_SUPPORT
102
152
 
103
153
#define BYTES_PER_BYTE          PR_BYTES_PER_BYTE