1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 50_disable_mlock_test.dpatch by Michael Bienia <geser@ubuntu.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Disable mlock() test since it fails with ulimit 0 (on Ubuntu buildds).
9
diff -urNad gnupg-1.4.9~/config.h.in gnupg-1.4.9/config.h.in
10
--- gnupg-1.4.9~/config.h.in 2008-03-26 18:33:29.000000000 +0100
11
+++ gnupg-1.4.9/config.h.in 2008-07-21 00:57:44.000000000 +0200
13
/* Define if `gethrtime(2)' does not work correctly i.e. issues a SIGILL. */
14
#undef HAVE_BROKEN_GETHRTIME
16
+/* Test doesn't work, since ulimit is sometimes 0... */
18
/* Defined if the mlock() call does not work */
19
#undef HAVE_BROKEN_MLOCK
22
/* Define to 1 if the compiler understands __builtin_expect. */
23
#undef HAVE_BUILTIN_EXPECT