freebsd-ports/audio/xmms2/files/patch-src-plugins-file-wscript
Guido Falsi 2542e7f308 - Update xmms2 to 0.8 [1]
- Add SNDFILE option [1]
- Don't install test and debugging components by default [2]
- Fix slave ports
- Take maintainership

PR:		ports/163056
Submitted by:	Jan Beich <jbeich@tormail.net> [1] and [2] partly
Approved by:    crees (mentor)
2012-05-08 18:47:50 +00:00

19 lines
749 B
Text

--- 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,