Date: Tue, 13 Oct 2015 18:01:57 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399201 - in head/audio/alsa-lib: . files Message-ID: <201510131801.t9DI1vnX011817@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510131801.t9DI1vnX011817>