From c4b6621bcceaadcabd1dd0374e6ca57a64febf82 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sep 18 2018 13:57:55 +0000 Subject: Add patch to work-around faulty test on arm --- diff --git a/gnulib.spec b/gnulib.spec index d998d28..c6ca5de 100644 --- a/gnulib.spec +++ b/gnulib.spec @@ -56,6 +56,8 @@ Source0: https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=snapshot;h=%{githe Source1: http://erislabs.net/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f=debian/manpages/check-module.1 Source2: http://erislabs.net/gitweb/?p=gnulib.git;a=blob_plain;hb=HEAD;f=debian/manpages/gnulib-tool.1 +Patch0: test-u8-strstr-alarm.diff + BuildRequires: perl-generators BuildRequires: texinfo BuildRequires: java-devel diff --git a/test-u8-strstr-alarm.diff b/test-u8-strstr-alarm.diff new file mode 100644 index 0000000..18e581d --- /dev/null +++ b/test-u8-strstr-alarm.diff @@ -0,0 +1,13 @@ +diff --git gnulib-68df637/tests/unistr/test-u8-strstr.c~ gnulib-68df637/tests/unistr/test-u8-strstr.c +index 9fbf28e6e5..2e90d32a50 100644 +--- gnulib-68df637/tests/unistr/test-u8-strstr.c ++++ gnulib-68df637/tests/unistr/test-u8-strstr.c +@@ -41,7 +41,7 @@ main (void) + same system that we did the check to ensure it has linear + performance characteristics. */ + signal (SIGALRM, SIG_DFL); +- alarm (5); ++ alarm (25); + #endif + + test_u_strstr ();