Import mpd from oldpackages

This commit is contained in:
Ted Hess
2014-07-16 12:31:58 -04:00
parent b6b97be93f
commit b495ccc053
4 changed files with 271 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
--- a/configure
+++ b/configure
@@ -8803,6 +8803,7 @@ fi
# Check whether --with-faad was given.
if test "${with_faad+set}" = set; then :
withval=$with_faad;
+ faad_prefix=$with_faad;
else
faad_prefix=""
fi
--- a/src/input/file_input_plugin.c
+++ b/src/input/file_input_plugin.c
@@ -79,10 +79,6 @@ input_file_open(const char *filename, GE
return false;
}
-#ifdef POSIX_FADV_SEQUENTIAL
- posix_fadvise(fd, (off_t)0, st.st_size, POSIX_FADV_SEQUENTIAL);
-#endif
-
fis = g_new(struct file_input_stream, 1);
input_stream_init(&fis->base, &input_plugin_file, filename);