Subversion Repositories nettle

Compare Revisions

Ignore whitespace Rev 162 → Rev 163

/trunk/debian/changelog
1,3 → 1,12
nettle (3.3-2) unstable; urgency=low
 
* multiarch_dev.patch: Replace definition of GMP_NUMB_BITS calculated by
configure with the same calculation to be done at compile time (only
used if this package would be rebuilt with --enable-mini-gmp). Thus
declare nettle-dev Multi-Arch: same (Closes: #856160).
 
-- Magnus Holmgren <holmgren@debian.org> Sun, 10 Sep 2017 20:22:52 +0200
 
nettle (3.3-1) unstable; urgency=low
 
* New upstream release.
/trunk/debian/control
56,6 → 56,7
Package: nettle-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libnettle6 (= ${binary:Version}), libhogweed4 (= ${binary:Version}),
libgmp10-dev, dpkg (>= 1.15.4) | install-info, ${misc:Depends}
Replaces: libnettle-dev
/trunk/debian/patches/multiarch_dev.patch
26,3 → 26,15
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
$as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
--- a/version.h.in
+++ b/version.h.in
@@ -48,7 +48,8 @@ extern "C" {
/* We need a preprocessor constant for GMP_NUMB_BITS, simply using
sizeof(mp_limb_t) * CHAR_BIT is not good enough. */
#if NETTLE_USE_MINI_GMP
-# define GMP_NUMB_BITS @GMP_NUMB_BITS@
+# include <limits.h>
+# define GMP_NUMB_BITS (__SIZEOF_LONG__ * CHAR_BIT)
#endif
int