~ubuntu-branches/debian/jessie/ldb/jessie

« back to all changes in this revision

Viewing changes to debian/patches/02_hurd

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2014-07-05 23:32:23 UTC
  • mfrom: (1.3.16)
  • Revision ID: package-import@ubuntu.com-20140705233223-dss2i2wmfksxbivh
Tags: 1:1.1.18-1
* New upstream release.
 + Depend on tdb >= 1.3.2.
 + Fixes __attribute__((visibility)) check to not use nested functions.
   Closes: #749987
* Use canonical URL in Vcs-Git field.
* Specify branch in Vcs-Git field.
* Add 02_hurd: link against pthread on the Hurd, to fix ldb module
  loading. Closes: #749095

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Link against pthread on the Hurd, to work around bug #578432
 
2
Author: Gabriele Giacone <1o5g4r8o@gmail.com>
 
3
Bug-Debian: http://bugs.debian.org/749095
 
4
 
 
5
--- ldb-1.1.16.orig/wscript
 
6
+++ ldb-1.1.16/wscript
 
7
@@ -67,6 +67,10 @@ def configure(conf):
 
8
         if not sys.platform.startswith("openbsd"):
 
9
             conf.ADD_LDFLAGS('-Wl,-no-undefined', testflags=True)
 
10
 
 
11
+        # Work around pthread bug on the hurd (#578432)
 
12
+        if sys.platform.startswith("gnu"):
 
13
+            conf.ADD_LDFLAGS('-pthread', testflags=True)
 
14
+
 
15
     conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True)
 
16
 
 
17
     conf.SAMBA_CONFIG_H()