65 Commits

Author SHA1 Message Date
rsadowski
a2e30ee0d3 Sndio poll fds fix from upstream
Use a local unique_ptr array instead of a struct member for the sndio
poll fds.

From Brad
2021-11-08 07:38:07 +00:00
rsadowski
a7f0376334 Fix for a bug in the sndio backend with the capture support
Diff from Brad, OK maintainer David Carlier
2021-10-16 07:59:12 +00:00
brynet
28a8fba46b Backport the following two commits from upstream, which fixes the sndio
backend changes that were introduced in the 1.21.1 update.

Simplify channel handling in the sndio backend
620836f173ae6fc4505d0634984e0f2c46166367

Use non-block mode for sndio capture
1fd4c865fc084f134363db5155361d5483679235

From Brad, tested by me

ok maintainer (David CARLIER)
2021-08-20 21:54:22 +00:00
brynet
cc75923b55 Improve comments on patch.
From brad (no code change)

-Bryan.
2021-07-31 00:27:59 +00:00
brynet
70ef95f7df The recent update to 1.21.1 broke sound output.
This was tracked down to two commits upstream which broke the sndio
backend due to >2 channel support being added.

Until this can be sorted out, this diff reverts two upstream commits:
  5cffe7e50a2885d9b392c15f2cd3941cac49692c
  b4a52321c4ad8e8bc0eb29d2cdae2c043fc405e1

From Brad, tested by me and kmos@

ok kmos@ sthen@
2021-07-30 12:47:53 +00:00
sthen
8200b4a7f5 update to openal-1.21.1, from Brad, ok maintainer 2021-07-25 17:33:48 +00:00
ajacoutot
76ca49c9c2 Update to openal-1.20.1.
from Brad
"looks good" to maintainer David Carlier
2020-06-09 13:22:42 +00:00
sthen
9fe1e38b23 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:43:27 +00:00
bcallah
ea7bf84de1 Update openal to 1.19.1 -- improved and upstreamed sndio support.
The result of work and comments from many, including ratchov@, sthen@,
Leonid Bobrov, David Carlier
ok jca@
2019-02-13 16:10:38 +00:00
ratchov
36f8f385b9 Add recording support to sndio backend. With help from Leonid Bobrov.
ok from David Carlier (maintainer), ok jca@
2018-08-09 20:50:47 +00:00
jca
6fe1321f41 Avoid a NULL pointer dereference due to missing sndio capture backend.
Backport a fix from upstream to avoid the crash.  The code has changed
since and all backends have been converted to the "new style" backend
API.  Fix tested by David Carlier (maintainer) and Thomas Frohwein.
2017-12-31 18:46:26 +00:00
sthen
21ae12d1c5 update to openal-1.17.2, from maintainer David Carlier (he has tested dep builds) 2017-11-15 13:02:42 +00:00
visa
25326d256a Remove BROKEN-mips64*. They seem to have been readded by mistake. 2017-08-18 12:47:58 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
espie
cc5bc426ed switch everything to new COMPILER idiom, even stuff that won't build with clang
yet, but at least that part is done.
2017-05-31 08:08:15 +00:00
zhuk
60d699d0d0 ... and bump for safety as well. 2017-05-28 12:13:22 +00:00
zhuk
3af0f998a8 Leaving clang and/or gcc4 in modules could have fun effects after
switching to WANT_CXX. Zap 'em and unbreak openal.

reported by naddy@, okay espie@
2017-05-28 12:12:39 +00:00
espie
7f3650af58 use WANT_CXX, these build trivially 2017-05-27 04:41:43 +00:00
landry
6cd3a66e73 Use gcc4 MODULE instead of clang on sparc64 & powerpc
clang fails to build those with 'could not read symbols: Bad value' (cf
http://build-failures.rhaalovely.net/sparc64/2017-03-20/multimedia/gstreamer1/core.log
& ttp://build-failures.rhaalovely.net/sparc64/2017-03-20/audio/openal.log)

Fix only those as they take out a large part of the portstree for 6.1
package builds, but reasonably MODCLANG_ARCHS=* shouldnt be used unless
the compiler has been *really* tested on every platform - or clang
should be marked *BROKEN* on sparc64 & macppc, or those platforms should
be taken out of LLVM_ARCHS.

audio/mpd, textproc/link-grammar, devel/keystone and devel/cbmc are in
the same boat and fail the same.

The problem is probably fixable directly in clang for sparc64, and on
powerpc clang doesnt package anyway for 'relocation truncated to fit:
R_PPC_PLTREL24' errors:
http://build-failures.rhaalovely.net/powerpc/2017-02-16/devel/llvm.log
2017-04-08 18:21:07 +00:00
jca
de35d67299 Don't build the Qt-based config editor.
Spotted by naddy@, initial diff from David Carlier (maintainer)
2017-01-05 23:04:24 +00:00
ajacoutot
6fe9c00def Drop bogus patch to unbreak.
spotted by nigel@
2016-11-04 08:40:47 +00:00
jasper
e751df80ac add missing patch 2016-11-03 10:27:38 +00:00
jasper
3334b8cfa1 - update to openal-1.16.0
- remove BROKEN-arm marker

from David Carlier (MAINTAINER)
tested in a bulk and ok aja@
2016-11-03 10:27:15 +00:00
jasper
003e889c0a retire sparc 2016-09-01 10:53:26 +00:00
dcoppa
8260411546 Avoid an underflow in the SSE mixers if BufferSize is less than 4
(upstream git commit 564a1822595e287cf808ea63a03d96719e3cc7b4)

Fix a crash with games/ioquake3.
Reported and fix tested by Ryan Freeman.
2016-05-24 08:07:58 +00:00
sthen
e8ed7ebd18 David Carlier takes maintainer of openal 2016-04-09 21:11:56 +00:00
sthen
26a3f4e28f drop Antti Harri as maintainer, as per his request. 2016-04-09 14:50:59 +00:00
jsg
578ae7c7ca Don't attempt to build on arm. sync atomic builtins required. 2016-02-21 16:17:25 +00:00
tobiasu
ec1b03dbe2 mark broken on sparc, missing sync builtins 2016-02-15 12:00:29 +00:00
ajacoutot
f816458f34 Remove more BROKEN markers for ports requiring built-in atomic ops.
from Brad, OK jasper@
2015-12-26 09:45:51 +00:00
ajacoutot
a183b75553 "/usr/local/lib/pkgconfig/" is part of mtree(8).
Packages should not own this dir to prevent its deletion or a warning that it
cannot be removed because it's not empty at pkg_delete(1) time.
2015-05-22 11:31:10 +00:00
sthen
b753bbad14 srand_deterministic 2014-12-09 20:45:59 +00:00
bcallah
5056ee09a1 Update audio/openal to 1.15.1
ok brad@ jasper@
2013-03-11 15:26:14 +00:00
espie
2d98db1697 PERMIT/REGRESS->TEST sweep 2013-03-10 22:55:01 +00:00
jasper
df3534b811 mark this broken on mips64 too 2012-11-29 16:36:56 +00:00
landry
d589429af2 Mark as BROKEN-hppa, undefined references to :
__sync_bool_compare_and_swap_4
__sync_add_and_fetch_4
__sync_sub_and_fetch_4
__sync_lock_test_and_set_4
2012-09-29 06:49:03 +00:00
sthen
37bb2d3b74 update to OpenAL 1.14, from Antti Harri with tweak from Brad 2012-04-06 13:48:18 +00:00
jasper
e34592c101 - update to 20110627
- remove portaudio support, only use sndio
- Alc/portaudio.c is now in upstream, remove
- part of Alc/sndio.c is not needed anymore, remove
- Some CFLAGS cleanup

from antti harri (MAINTAINER) and brad

ok sthen@
2011-07-02 07:34:31 +00:00
sthen
c12b40632d unbreak build, from robert@ 2011-06-28 11:39:31 +00:00
sthen
fc4525096d - fix my broken revert of patch-openal_pc_in, sorry
- Antti Harri takes maintainer
(no bump as previous didn't build)
2011-06-26 20:05:26 +00:00
sthen
aac7c2bf73 revert library changes from previous commit pending further discussion. 2011-06-26 10:36:16 +00:00
sthen
7a1fb3abee various fixes to the openal port from Brad;
- Use CMake options via CONFIGURE_ARGS to disable unnecessary backends
  and unwanted features which also means being able to remove some
  patching of CMakeLists.
- Fix hardcoded path in the OpenAL code.
- Fix the pkg-config file to properly list the library dependencies.
2011-06-26 09:58:08 +00:00
jasper
9f3b82fa20 - update to a more recent version
Some games might require reseting configurations if sounds are not playing after the update.

from Antti Harri
ok ratchov@
2011-06-25 18:42:02 +00:00
espie
2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00
steven
08cec9fd54 this builds fine with openbsd libtool so set USE_LIBTOOL=yes
however auto* needs libtoolize or some other libtool macros, therefore add
a build dependency on gnu libtool
2010-10-28 10:02:04 +00:00
landry
b22bd9befa Auto* uses libtool m4 macros, set USE_LIBTOOL=gnu 2010-10-24 07:53:23 +00:00
jakemsr
02a38b8b19 * avoid using a negative array index (fixes crash in supertuxkart)
* block size vs buffer size correction in sndio backend
* disable audio(4) backend
2010-10-07 04:34:59 +00:00
sthen
b18b7a4a66 new-style REVISIONS/LIB_DEPENDS 2010-09-06 00:04:28 +00:00
sthen
a941ac7fd4 sync WANTLIB (mostly libffi) and bump PKGNAMEs 2010-04-02 16:02:27 +00:00