summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsbd <sbd>2013-03-25 02:55:59 +0000
committersbd <sbd>2013-03-25 02:55:59 +0000
commit8d95bf328bc882a7ed7d708c56d40a174ba93e4d (patch)
tree63239102aa0d11b6747d43f85ad21029783afdec /devel
parent2d134c53b267d01ce364bb1018aafb500999d255 (diff)
downloadpkgsrc-8d95bf328bc882a7ed7d708c56d40a174ba93e4d.tar.gz
Set MOZ_ALSA=1 if alsa is to be used.
Diffstat (limited to 'devel')
-rw-r--r--devel/xulrunner/distinfo4
-rw-r--r--devel/xulrunner/patches/patch-aa25
2 files changed, 19 insertions, 10 deletions
diff --git a/devel/xulrunner/distinfo b/devel/xulrunner/distinfo
index cd0879a2ac5..ba1915a75bf 100644
--- a/devel/xulrunner/distinfo
+++ b/devel/xulrunner/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.97 2013/03/24 09:00:03 sbd Exp $
+$NetBSD: distinfo,v 1.98 2013/03/25 02:55:59 sbd Exp $
SHA1 (firefox-19.0.2.source.tar.bz2) = d108d356225379a86d69a4906c706289135f6342
RMD160 (firefox-19.0.2.source.tar.bz2) = 37518c9d64f4b441d9601debd0aa440b5af66d20
Size (firefox-19.0.2.source.tar.bz2) = 99155868 bytes
-SHA1 (patch-aa) = 115ed7c263cbf213d608761ae1f5b14a3b10df90
+SHA1 (patch-aa) = 0adf274292e4e05f97f89fedca223b29f54909aa
SHA1 (patch-ab) = b60129618bb0945b65636f99980bdc026ec16fd9
SHA1 (patch-ac) = 609a094d01878da0bdfb008a0cb30b96bdb4c6ce
SHA1 (patch-ae) = adbf406cf3158ff2ecb847673d9d91edb200f034
diff --git a/devel/xulrunner/patches/patch-aa b/devel/xulrunner/patches/patch-aa
index c6e4a4c206b..13ca3770595 100644
--- a/devel/xulrunner/patches/patch-aa
+++ b/devel/xulrunner/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.16 2013/01/10 15:01:30 ryoon Exp $
+$NetBSD: patch-aa,v 1.17 2013/03/25 02:55:59 sbd Exp $
---- configure.in.orig 2013-01-04 23:44:28.000000000 +0000
+--- configure.in.orig 2013-03-07 10:48:37.000000000 +0000
+++ configure.in
-@@ -2137,6 +2137,9 @@ ia64*-hpux*)
+@@ -2097,6 +2097,9 @@ ia64*-hpux*)
if test -z "$MC"; then
MC=mc.exe
fi
@@ -12,7 +12,7 @@ $NetBSD: patch-aa,v 1.16 2013/01/10 15:01:30 ryoon Exp $
;;
*-mingw*)
DSO_CFLAGS=
-@@ -3075,6 +3078,9 @@ dnl ====================================
+@@ -3035,6 +3038,9 @@ dnl ====================================
case $target in
*-hpux11.*)
;;
@@ -22,7 +22,7 @@ $NetBSD: patch-aa,v 1.16 2013/01/10 15:01:30 ryoon Exp $
*)
AC_CHECK_LIB(c_r, gethostbyname_r)
;;
-@@ -3376,6 +3382,9 @@ AC_CACHE_CHECK(
+@@ -3336,6 +3342,9 @@ AC_CACHE_CHECK(
#ifdef linux
#define _BSD_SOURCE 1
#endif
@@ -32,7 +32,7 @@ $NetBSD: patch-aa,v 1.16 2013/01/10 15:01:30 ryoon Exp $
#include <resolv.h>
],
[int foo = res_ninit(&_res);],
-@@ -4042,6 +4051,14 @@ if test -n "$YASM"; then
+@@ -4006,6 +4015,14 @@ if test -n "$YASM"; then
_YASM_BUILD=` echo ${YASM_VERSION} | $AWK -F\. '{ print $4 }'`
fi
@@ -47,7 +47,7 @@ $NetBSD: patch-aa,v 1.16 2013/01/10 15:01:30 ryoon Exp $
if test -z "$SKIP_LIBRARY_CHECKS"; then
dnl system JPEG support
dnl ========================================================
-@@ -5283,8 +5300,8 @@ AC_SUBST(MOZ_WEBRTC_IN_LIBXUL)
+@@ -5260,8 +5277,8 @@ AC_SUBST(MOZ_WEBRTC_IN_LIBXUL)
AC_SUBST(MOZ_SCTP)
AC_SUBST(MOZ_SRTP)
@@ -58,7 +58,16 @@ $NetBSD: patch-aa,v 1.16 2013/01/10 15:01:30 ryoon Exp $
MOZ_SAMPLE_TYPE_S16=1
AC_DEFINE(MOZ_SAMPLE_TYPE_S16)
AC_SUBST(MOZ_SAMPLE_TYPE_S16)
-@@ -8690,6 +8707,7 @@ AC_SUBST(MOZ_VP8_ERROR_CONCEALMENT)
+@@ -5628,7 +5645,7 @@ dnl ====================================
+
+ dnl If using sydneyaudio with Linux, ensure that the alsa library is available
+ if test -n "$MOZ_SYDNEYAUDIO" -a "$OS_TARGET" = "Linux"; then
+- PKG_CHECK_MODULES(MOZ_ALSA, alsa, ,
++ PKG_CHECK_MODULES(MOZ_ALSA, alsa, MOZ_ALSA=1,
+ [echo "$MOZ_ALSA_PKG_ERRORS"
+ AC_MSG_ERROR([Need alsa for Ogg, Wave or WebM decoding on Linux. Disable with --disable-ogg --disable-wave --disable-webm. (On Ubuntu, you might try installing the package libasound2-dev.)])])
+ fi
+@@ -8750,6 +8767,7 @@ AC_SUBST(MOZ_VP8_ERROR_CONCEALMENT)
AC_SUBST(MOZ_VP8_ENCODER)
AC_SUBST(MOZ_VP8)
AC_SUBST(MOZ_OGG)