svn commit: r399201 - in head/audio/alsa-lib: . files
Jan Beich
jbeich at FreeBSD.org
Tue Oct 13 18:01:59 UTC 2015
Author: jbeich
Date: Tue Oct 13 18:01:57 2015
New Revision: 399201
URL: https://svnweb.freebsd.org/changeset/ports/399201
Log:
audio/alsa-lib: hook lsb tests
Added:
head/audio/alsa-lib/files/patch-test_midifile.c (contents, props changed)
Modified:
head/audio/alsa-lib/Makefile (contents, props changed)
Modified: head/audio/alsa-lib/Makefile
==============================================================================
--- head/audio/alsa-lib/Makefile Tue Oct 13 16:12:17 2015 (r399200)
+++ head/audio/alsa-lib/Makefile Tue Oct 13 18:01:57 2015 (r399201)
@@ -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
Added: head/audio/alsa-lib/files/patch-test_midifile.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/alsa-lib/files/patch-test_midifile.c Tue Oct 13 18:01:57 2015 (r399201)
@@ -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
+ {
More information about the svn-ports-head
mailing list