Debian Codegraph @

debian/patches/0001-hurd.patch

raw
1 From: Michael Fladischer <[email protected]>
2 Date: Thu, 8 Oct 2015 08:33:15 -0700
3 Subject: Add configuration for GNU/Hurd when building.
4
5 Last-Update: 2015-05-19
6 Forwarded: no
7
8 Patch-Name: hurd.patch
9 ---
10 setup.py | 7 +++++++
11 1 file changed, 7 insertions(+)
12
13 diff --git a/setup.py b/setup.py
14 index 937ed8b..8dede7e 100644
15 --- a/setup.py
16 +++ b/setup.py
17 @@ -123,6 +123,13 @@ elif sys.platform.startswith('openbsd'):
18 HAVE_FD_TRANSFER=1,
19 )
20 libraries = []
21 +elif sys.platform.startswith('gnu'):
22 + macros = dict( # GNU/Hurd
23 + HAVE_SEM_OPEN=0, # Not implemented
24 + HAVE_SEM_TIMEDWAIT=0,
25 + HAVE_FD_TRANSFER=1,
26 + )
27 + libraries = []
28 else: # Linux and other unices
29 macros = dict(
30 HAVE_SEM_OPEN=1,