Commit Graph

97 Commits

Author SHA1 Message Date
Chris Rees 13cb259a40 audio/oss: Fix build on head
Turns out there were even more issues than the timeout removal!

PR:		ports/243586
Submitted by:	Masachika ISHIZUKA
2020-01-25 16:07:28 +00:00
Chris Rees 8aadec26f6 audio/oss: Fix build on recent FreeBSD
Replace function calls to removed function timeout.

Reviewed by:	jhb
2020-01-17 18:52:42 +00:00
Chris Rees 904c31b864 audio/oss: timeout has been removed in favour of callback(9)
I am working on a fix.
2020-01-02 15:06:20 +00:00
Chris Rees 39a7764d84 audio/oss: Silence further compiler warning; perhaps this will help. 2019-12-24 13:36:50 +00:00
Chris Rees 576ba86edb Fix build on head- missing headers resulted in implicit incompatible
type conversions
2019-12-16 13:29:34 +00:00
Chris Rees 8cfd0e203c audio/oss: Improve handling when sound.ko is compiled into the kernel.
Now, soundon checks for its presence and fails with an appropriate error.

While here, add it to pkg-message.

I use this still as I have a Xonar D2X which FreeBSD's drivers don't support,
so I'll take maintainership.

PR:		ports/240200
2019-09-21 18:13:31 +00:00
Mathieu Arnold a6c40a689b Convert to UCL & cleanup pkg-message (categories a-c) 2019-08-13 16:00:39 +00:00
Jung-uk Kim df6ff45c39 Fix build on 11.2. 2019-03-13 00:13:58 +00:00
Jung-uk Kim 325e66059b - Update to 4.2-build2019.
- Fix build on current after r343485.
- Drop support for 8.x and earlier.

http://ossnext.trueinstruments.com/forum/viewtopic.php?f=19&t=5876
2019-03-12 22:27:36 +00:00
Fernando Apesteguía fba35c89f6 audio/oss: Fix breakage after r489819
The patch in r489819 broke the build in 11.

Address that and make sure this one builds in {11.2,12}{amd64,i386} and
13-CURRENT i386

PR:	234909
Reported by:	leres@
2019-01-12 23:04:06 +00:00
Fernando Apesteguía 8f151fd0c3 audio/oss: unbreak in FreeBSD > 12
Unbreak port in FreeBSD 12 and 13-CURRENT. Broken most likely due to r335879.

While here:

* Add missing LIB_DEPENDS and USES for ossxmix
* Reorder some variables

PR:     233018
Reported by:    sergey@akhmatov.ru
2019-01-09 18:20:49 +00:00
Ed Maste 080cea5cec audio/oss: set LLD_UNSAFE to link using ld.bfd
This port fails when attempting to link with lld as the system linker.
It passes -fPIC to the linker, which is actually a compiler flag.
ld.bfd accepts the flag but it results in a bogus DT_AUXILIARY entry
in the ouptut:

Dynamic section at offset 0x5000 contains 15 entries:
  Tag                Type                  Name/Value
 0x000000007ffffffd AUXILIARY            Auxiliary library: [PIC]

PR:		221807
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2018-03-27 21:42:08 +00:00
Jan Beich 4a4d3b592d audio/oss: update to 4.2.b2017 (maintenance release)
- Add a note about origin to avoid users from Linux blaming FreeBSD
  for 4Front's bugs and vice versa
- Disable SSE on amd64 to avoid kernel panic[1]

Changes:	http://opensound.com/forum/viewtopic.php?f=19&t=5841
PR:		212263
Submitted by:	Jakub Adler <jakubadler@gmail.com> [1]
MFH:		2017Q1
2017-03-25 03:29:09 +00:00
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00
Jan Beich 86a8cc4c56 audio/oss: convert to CONFIGURE_OUTSOURCE
PR:		208294
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D4157
2016-04-13 10:42:36 +00:00
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00
Dmitry Marakasov f67b5cd443 Don't create ${PREFIX}/lib/oss/logs - it currently doesn't get to
the package anyway, and doesn't seem to be needed - the only mention
of it in the source references sbin/soundon log, however on FreeBSD
sbin/soundon stores log in /var/log.
2015-09-22 19:23:18 +00:00
Jan Beich 9aa91a7ce5 audio/oss: update to 4.2.b2011
Changes:	http://opensound.com/forum/viewtopic.php?f=19&t=5791
Changes:	http://opensound.com/forum/viewtopic.php?f=19&t=5765
2015-05-07 10:04:15 +00:00
Tijl Coosemans 60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Mark Felder c3baf251db Correct "BSD" licenses in audio category 2014-12-04 23:19:12 +00:00
Baptiste Daroussin a6abc3b420 Cleanup plist 2014-10-20 06:35:58 +00:00
Baptiste Daroussin 45ef26f43d pkg(8) already create empty directories no need to recreate them 2014-09-02 22:35:05 +00:00
Olli Hauer 886a9071a1 - USE_(BZIP2|XZ) -> USES= tar:(bzip2|xz) 2014-06-01 13:03:14 +00:00
Jung-uk Kim b0ae28d732 Update to 4.2-build2009. 2014-03-08 00:09:15 +00:00
Baptiste Daroussin 4d353c82e2 Reduce over inclusion of bsd.port.mk 2014-01-15 22:38:21 +00:00
Baptiste Daroussin 5978476c35 In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in audio

With hat:	portmgr
2013-12-11 14:35:36 +00:00
Antoine Brodin cea1298216 Add an explicit dependency on pkgconf (needed to build ossxmix) 2013-09-29 08:35:33 +00:00
Baptiste Daroussin 183c2ed74f Add NO_STAGE all over the place in preparation for the staging support (cat: audio) 2013-09-20 14:36:35 +00:00
Bryan Drewery c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
Daniel Eischen 186a67572e Update to 4.2-build2008. The only dependent port, multimedia/qmmp, does not
have a LIB_DEPENDS, just a depends on an include file, so no PORTREVISION
bump is necessary for qmmp.

PR:		179956
Submitted by:	Waitman Gobble uzimac at da3m0n8t3r dot com
2013-07-13 17:45:18 +00:00
Stefan Walter ab6441e871 Respect additional environment variable ${SYSDIR}.
PR:		170405
Submitted by:	Jan Beich <jbeich@tormail.org>
2013-05-02 20:59:47 +00:00
Eitan Adler d1f32a3e5d Style: tab -> space.
Most contributors copy an existing port when writing their own so reduce the number of bad examples in the tree.
2013-03-28 16:28:59 +00:00
Jason E. Hale 344fd02e37 - Add fix to allow building with clang
- Trim Makefile header

PR:		ports/172609
Submitted by:	Jan Beich <jbeich@tormail.org>
Approved by:	makc, avilla (mentors, implicit)
Feature safe:	yes
2012-10-26 05:31:59 +00:00
Jung-uk Kim c9fc13e852 - Update to 4.2 build2007.
- Release maintainership to the ports pool.
2012-10-05 20:07:33 +00:00
Christian Weisgerber bcd6fbdee4 libogg.so.8: Bump PORTREVISION for ports that depend on libogg,
directly or indirectly (via libvorbis, libtheora).
2012-07-19 20:15:37 +00:00
Jung-uk Kim 48297dd179 Include bsd.port.pre.mk before SRC_BASE is referenced.
PR:	ports/169212
2012-06-25 20:51:35 +00:00
Jung-uk Kim dd39ca93f4 Use the new options framework. 2012-06-04 18:09:14 +00:00
Dirk Meyer 2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Jung-uk Kim c3830c644c Do not ignore hardwired device unit number.
Tested by:	rank1seeker at gmail dot com
2012-02-20 20:41:26 +00:00
Jung-uk Kim be3a92a6bc Fix build on 8.x.
PR:	ports/165193
2012-02-17 19:42:33 +00:00
Jung-uk Kim 09a5792f3e Update to 4.2 build 2006 and add two additional patches from OSS Mercurial:
http://opensound.hg.sourceforge.net/hgweb/opensound/opensound/rev/0500de7fee6f
http://opensound.hg.sourceforge.net/hgweb/opensound/opensound/rev/1a5c5373b72a
2012-02-17 19:02:52 +00:00
Jung-uk Kim c65143707c - Do not allow loading osscore when sound(4) is loaded. [1]
- Make portlint little happier.

PR:		ports/164567 [1]
Submitted by:	crees (initial version) [1]
2012-01-31 21:03:22 +00:00
Doug Barton 83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Jung-uk Kim 6773a691f5 Update to 4.2 build 2005. 2011-08-25 00:35:42 +00:00
Jung-uk Kim 36fb73325e Fix build with Clang. 2011-07-25 17:45:00 +00:00
Jung-uk Kim 71c44039f0 Honor environment variable CC and fix build without cc(1). 2011-06-21 23:15:35 +00:00
Jung-uk Kim 95e18421da Fix build with clang. 2011-06-21 22:17:50 +00:00
Jung-uk Kim bd5b437bfe Rename CONF_FILES to avoid conflict with an upcoming infrastructure change.
PR:		ports/157156
Submitted by:	Chris Rees (utisoft at gmail dot com)
Discussed with:	bapt
2011-05-19 19:08:54 +00:00
Jung-uk Kim dc482d7eed Add a missing change in the previous commit. 2011-01-06 19:52:07 +00:00
Jung-uk Kim 5625ff49e4 Update to 4.2 build 2004 and add LICENSE. 2011-01-06 19:33:30 +00:00