Files
haikuports/net-libs/nettle/patches/nettle-3.3.patchset
fbrosson faf855e362 nettle: bump to 3.3, enable x86_gcc2, add tiny gcc2 patch.
* Unlike 3.2, which would not build on x86_gcc2 without a patch,
  3.3 builds fine without any patch. A tiny one is only required
  for "make check".
* Update (GNU) LICENSE: LGPL v2.1 -> GPL v2 + GPL v3 + LGPL v3.
* Switch SOURCE_URI to https.
* Add $secondaryArchSuffix to cmd:libtoolize in BUILD_PREREQUIRES.
* Drop PATCH(), previously used to skip -lm and add -lroot.
* Drop unneeded calls to libtoolize and autoconf.
* Add TEST() with "make check" (and an appropriate LIBRARY_PATH.)
  All tests are OK, except for the Camellia cipher on x86_gcc2.
2017-01-27 12:46:47 +00:00

29 lines
614 B
Plaintext

From ebb8c4bd54a701a4cd52afbe6e99d19a956e6d00 Mon Sep 17 00:00:00 2001
From: fbrosson <fbrosson@localhost>
Date: Sat, 1 Oct 2016 07:41:20 +0000
Subject: gcc2 patch for testsuite/memeql-test.c
diff --git a/testsuite/memeql-test.c b/testsuite/memeql-test.c
index 356671d..c2b999d 100644
--- a/testsuite/memeql-test.c
+++ b/testsuite/memeql-test.c
@@ -32,7 +32,7 @@ test_main(void)
struct knuth_lfib_ctx random_ctx;
knuth_lfib_init (&random_ctx, 11);
-
+ {
size_t size;
for (size = 0; size < 50; size++)
{
@@ -50,4 +50,5 @@ test_main(void)
b[i] = orig[i];
}
}
+ }
}
--
2.11.0