FreeBSD Bugzilla – Attachment 174530 Details for
Bug 212028
www/firefox: Add SNDIO option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gecko.diff
gecko.diff (text/plain), 2.56 KB, created by
Tobias Kortkamp
on 2016-09-08 13:57:13 UTC
(
hide
)
Description:
gecko.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2016-09-08 13:57:13 UTC
Size:
2.56 KB
patch
obsolete
>Index: www/firefox/Makefile.options >=================================================================== >--- www/firefox/Makefile.options (revision 421539) >+++ www/firefox/Makefile.options (working copy) >@@ -5,11 +5,11 @@ > OPTIMIZED_CFLAGS PGO PROFILE TEST > > OPTIONS_DEFAULT+= DBUS DTRACE FFMPEG GSTREAMER LOGGING OPTIMIZED_CFLAGS \ >- ${OPTIONS_MULTI_AUDIO} \ >+ ALSA PULSEAUDIO \ > ${MACHINE_CPU:tu:MSOFTFP:S/SOFTFP/INTEGER_SAMPLES/} > > OPTIONS_MULTI+= AUDIO >-OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO >+OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO SNDIO > > # dragonfly, sparc64, riscv > .if !exists(/usr/sbin/dtrace) >Index: www/seamonkey/Makefile >=================================================================== >--- www/seamonkey/Makefile (revision 421549) >+++ www/seamonkey/Makefile (working copy) >@@ -47,6 +47,7 @@ > > USE_MOZILLA= -opus > MOZ_PKGCONFIG_FILES= >+MOZ_SRC= ${WRKSRC}/mozilla > > NOT_FOR_ARCHS= ia64 > >@@ -59,6 +60,8 @@ > LDAP_DESC?= LDAP support for Mailnews > MAILNEWS_DESC?= Mail and News modules > >+SNDIO_BROKEN= missing sndio support >+ > .include "${.CURDIR}/../../www/firefox/Makefile.options" > .include <bsd.port.options.mk> > >Index: mail/thunderbird/Makefile >=================================================================== >--- mail/thunderbird/Makefile (revision 421549) >+++ mail/thunderbird/Makefile (working copy) >@@ -47,6 +47,7 @@ > MOZ_MK_OPTIONS= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 > MOZ_EXPORT= MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1 > MOZ_PKGCONFIG_FILES= >+MOZ_SRC= ${WRKSRC}/mozilla > > PORTNAME_ICON= ${MOZILLA}.png > PORTNAME_ICON_SRC= ${PREFIX}/lib/${MOZILLA}/chrome/icons/default/default48.png >Index: Mk/bsd.gecko.mk >=================================================================== >--- Mk/bsd.gecko.mk (revision 421539) >+++ Mk/bsd.gecko.mk (working copy) >@@ -383,6 +383,23 @@ > MOZ_OPTIONS+= --disable-pulseaudio > .endif > >+.if ${PORT_OPTIONS:MSNDIO} >+LIB_DEPENDS+= libsndio.so:audio/sndio >+# In mail/thunderbird and www/seamonky media/libcubeb is in >+# ${WRKSRC}/mozilla instead of ${WRKSRC}. All other gecko-based ports >+# have it in ${WRKSRC}. >+MOZ_SRC?= ${WRKSRC} >+post-patch-SNDIO-on: >+ @${REINPLACE_CMD} -e 's|OpenBSD|${OPSYS}|g' \ >+ ${MOZ_SRC}/media/libcubeb/src/moz.build \ >+ ${MOZ_SRC}/media/libcubeb/tests/moz.build \ >+ ${MOZ_SRC}/toolkit/library/moz.build >+ @${REINPLACE_CMD} -e 's|OS==\"openbsd\"|OS==\"${OPSYS:tl}\"|g' \ >+ ${MOZ_SRC}/media/webrtc/trunk/webrtc/build/common.gypi >+ @${ECHO} "OS_LIBS += ['sndio']" >> \ >+ ${MOZ_SRC}/media/webrtc/signaling/test/common.build >+.endif >+ > .if ${MOZILLA_VER:R:R} >= 40 > .if ${PORT_OPTIONS:MRUST} > BUILD_DEPENDS+= rustc:${RUST_PORT}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212028
:
173909
|
174530
|
176619
|
178426