~ubuntu-branches/ubuntu/vivid/gnupg/vivid

« back to all changes in this revision

Viewing changes to debian/patches/disable_mlock_test.patch

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-12-04 22:26:16 UTC
  • mfrom: (1.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20121204222616-cr0fow26geq90l3y
Tags: 1.4.12-6ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Disable mlock() test since it fails with ulimit 0 (on buildds).
  - Set gpg (or gpg2) and gpgsm to use a passphrase agent by default.
  - Only suggest gnupg-curl and libldap; recommendations are pulled into
    minimal, and we don't need the keyserver utilities in a minimal Ubuntu
    system.
  - Remove the Win32 build.
  - Update config.guess/config.sub for aarch64.
* Dropped patches:
  - Fix udeb build failure on powerpc, building with -O2 instead of -Os.
    (No longer seems to be necessary.)
* Simplify removal of Win32 build, to make this easier to merge in future.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Disable mlock() test since it fails with ulimit 0
 
2
 This happens on Ubuntu buildds.
 
3
Author: Michael Bienia <geser@ubuntu.com>
 
4
Forwarded: no
 
5
Last-Update: 2012-12-04
 
6
 
 
7
Index: b/config.h.in
 
8
===================================================================
 
9
--- a/config.h.in
 
10
+++ b/config.h.in
 
11
@@ -82,8 +82,11 @@
 
12
 /* Define if `gethrtime(2)' does not work correctly i.e. issues a SIGILL. */
 
13
 #undef HAVE_BROKEN_GETHRTIME
 
14
 
 
15
+/* Test doesn't work, since ulimit is sometimes 0... */
 
16
+#if 0
 
17
 /* Defined if the mlock() call does not work */
 
18
 #undef HAVE_BROKEN_MLOCK
 
19
+#endif
 
20
 
 
21
 /* Define to 1 if the compiler understands __builtin_expect. */
 
22
 #undef HAVE_BUILTIN_EXPECT