diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-08-26 06:38:32 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-08-26 06:38:32 +0000 |
commit | fd9ddf4a36fd0ab126d6c6d0948b99d335e84a31 (patch) | |
tree | 2326c0dcbe308c1ec8225b5c5da94be764aa4e34 /www/libxul | |
parent | e38f12c62c8796270f62a2482c9480f8bc657e2a (diff) | |
download | ports-fd9ddf4a36fd0ab126d6c6d0948b99d335e84a31.tar.gz ports-fd9ddf4a36fd0ab126d6c6d0948b99d335e84a31.zip |
Notes
Diffstat (limited to 'www/libxul')
-rw-r--r-- | www/libxul/files/patch-sample-type | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/libxul/files/patch-sample-type b/www/libxul/files/patch-sample-type new file mode 100644 index 000000000000..980bde629d2a --- /dev/null +++ b/www/libxul/files/patch-sample-type @@ -0,0 +1,13 @@ +# Let ports handle default sample type + +--- configure.in~ ++++ configure.in +@@ -5144,7 +5144,7 @@ dnl Use integers over floats for audio o + dnl (regarless of the CPU architecture, because audio + dnl backends for those platforms don't support floats. We also + dnl use integers on ARM with other OS, because it's more efficient. +-if test "$OS_TARGET" = "Android" -o "$CPU_ARCH" = "arm"; then ++if test -n "$MOZ_INTEGER_SAMPLES"; then + MOZ_SAMPLE_TYPE_S16=1 + AC_DEFINE(MOZ_SAMPLE_TYPE_S16) + AC_SUBST(MOZ_SAMPLE_TYPE_S16) |