summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-cflags.patch
blob: 0cf9e518a45b6bf32c34d889ec3e477b4ff7d9b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: samba/buildtools/wafsamba/wscript
===================================================================
--- samba.orig/buildtools/wafsamba/wscript
+++ samba/buildtools/wafsamba/wscript
@@ -357,7 +357,7 @@ def configure(conf):
     conf.check_cfg(atleast_pkgconfig_version='0.0.0')
 
     conf.DEFINE('_GNU_SOURCE', 1, add_to_cflags=True)
-    conf.DEFINE('_XOPEN_SOURCE_EXTENDED', 1, add_to_cflags=True)
+    conf.DEFINE('__EXTENSIONS__', 1, add_to_cflags=True)
 
     # get the base headers we'll use for the rest of the tests
     conf.CHECK_HEADERS('stdio.h sys/types.h sys/stat.h stdlib.h stddef.h memory.h string.h',