diff options
Diffstat (limited to 'audio/xmms2/files/patch-src-plugins-file-wscript')
-rw-r--r-- | audio/xmms2/files/patch-src-plugins-file-wscript | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/xmms2/files/patch-src-plugins-file-wscript b/audio/xmms2/files/patch-src-plugins-file-wscript new file mode 100644 index 00000000000..b148d973ec0 --- /dev/null +++ b/audio/xmms2/files/patch-src-plugins-file-wscript @@ -0,0 +1,19 @@ +--- src/plugins/file/wscript.orig 2011-10-20 21:26:08.000000000 +0200 ++++ src/plugins/file/wscript 2012-05-04 23:01:58.940585349 +0200 +@@ -1,7 +1,7 @@ + from waftools.plugin import plugin + + def plugin_build(bld, obj): +- if bld.env.HAVE_FSTATAT and bld.env.HAVE_DIRFD: ++ if bld.env.HAVE_FSTATAT: + obj.source.append('browse/fstatat.c') + else: + obj.source.append('browse/gdir.c') +@@ -9,7 +9,6 @@ + def plugin_configure(conf): + conf.check_cc(function_name='fstatat', header_name=['fcntl.h','sys/stat.h'], + defines=['_ATFILE_SOURCE=1']) +- conf.check_cc(function_name='dirfd', header_name=['dirent.h','sys/types.h']) + + configure, build = plugin("file", + configure=plugin_configure, build=plugin_build, |