diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-10-13 18:01:57 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-10-13 18:01:57 +0000 |
commit | dbd1be6896047a7683975c830ed4f7904e5e083a (patch) | |
tree | eb6a5daa4e91d2990e053154b2987f9200a2040e /audio/alsa-lib | |
parent | 62d55e01656d2efb6274c02a2aa83f1a6b9f429a (diff) | |
download | ports-dbd1be6896047a7683975c830ed4f7904e5e083a.tar.gz ports-dbd1be6896047a7683975c830ed4f7904e5e083a.zip |
audio/alsa-lib: hook lsb tests
Notes
Notes:
svn path=/head/; revision=399201
Diffstat (limited to 'audio/alsa-lib')
-rw-r--r-- | audio/alsa-lib/Makefile | 2 | ||||
-rw-r--r-- | audio/alsa-lib/files/patch-test_midifile.c | 20 |
2 files changed, 22 insertions, 0 deletions
diff --git a/audio/alsa-lib/Makefile b/audio/alsa-lib/Makefile index df97ad9e32b2..8d09e4cf299b 100644 --- a/audio/alsa-lib/Makefile +++ b/audio/alsa-lib/Makefile @@ -17,6 +17,8 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pkgconfdir="\$${prefix}/libdata/pkgconfig" INSTALL_TARGET= install-strip +TEST_ENV= ${MAKE_ENV} ALSA_CONFIG_PATH="${FILESDIR}/asound.conf.sample" +TEST_TARGET= check CPPFLAGS+= -I${FILESDIR} OPTIONS_DEFINE= PYTHON diff --git a/audio/alsa-lib/files/patch-test_midifile.c b/audio/alsa-lib/files/patch-test_midifile.c new file mode 100644 index 000000000000..7a176a056abd --- /dev/null +++ b/audio/alsa-lib/files/patch-test_midifile.c @@ -0,0 +1,20 @@ +--- test/midifile.c.orig 2015-02-26 12:34:52 UTC ++++ test/midifile.c +@@ -71,7 +71,7 @@ + #endif + + #include <stdio.h> +-#include <values.h> ++#include <limits.h> + + #include <string.h> + /*void exit(), free();*/ +@@ -328,7 +328,7 @@ readtrack () /* read a track chunk */ + + if (Mf_interactive) + { +- Mf_toberead = MAXINT; ++ Mf_toberead = INT_MAX; + } + else + { |