audio/sndio: Update to 1.4.0

There are no code changes in libsndio, but the major/minor of libsndio
was bumped to 7.0 in this release to match libsndio on OpenBSD
regardless.  On OpenBSD some private symbols were hidden via a version
script.  This is not yet part of the portable release.  Avoid causing
unnecessary churn and keep using 6.1 for the time being.
This commit is contained in:
Tobias Kortkamp 2018-01-13 12:45:07 +00:00
parent 24115ed0da
commit 4b01ae4d02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458929
4 changed files with 29 additions and 14 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= sndio
PORTVERSION= 1.3.0
PORTVERSION= 1.4.0
CATEGORIES= audio
MASTER_SITES= http://www.sndio.org/
@ -12,7 +12,7 @@ COMMENT= Small audio and MIDI framework from the OpenBSD project
LICENSE= ISCL
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --enable-oss
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man
USE_LDCONFIG= yes
USE_RC_SUBR= sndiod

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1510685728
SHA256 (sndio-1.3.0.tar.gz) = bcc33213f02adc71bd0c3543f3b243847e7d27c5243b0b558182bc1b3056e4b1
SIZE (sndio-1.3.0.tar.gz) = 125955
TIMESTAMP = 1515842737
SHA256 (sndio-1.4.0.tar.gz) = 68713db624797dbff69c0f4ce1b24054fb0803da340508edbc5e08d6778f9781
SIZE (sndio-1.4.0.tar.gz) = 126007

View file

@ -0,0 +1,13 @@
--- configure.orig 2018-01-11 20:57:37 UTC
+++ configure
@@ -80,8 +80,10 @@ case `uname` in
-DHAVE_SOCK_CLOEXEC -DHAVE_CLOCK_GETTIME'
;;
DragonFly|FreeBSD)
+ oss=yes
umidi=yes
user=_sndio
+ so_ldflags="-Wl,-soname=libsndio.so.\${MAJ}.\${MIN}"
so_link="libsndio.so"
defs='-DHAVE_ARC4RANDOM -DHAVE_ISSETUGID \\\
-DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRTONUM \\\

View file

@ -1,11 +1,13 @@
--- libsndio/Makefile.in.orig 2017-11-14 19:00:10 UTC
--- libsndio/Makefile.in.orig 2018-01-13 12:32:33 UTC
+++ libsndio/Makefile.in
@@ -14,7 +14,7 @@ LDADD = @ldadd@
SO_CFLAGS = -fPIC
@@ -42,8 +42,8 @@ MAN7 = sndio.7
#
# libraries to build and install
#
-MAJ = 7
-MIN = 0
+MAJ = 6
+MIN = 1
SO = @so@
SO_LINK = @so_link@
# extra compiler flags to produce a shared library with the given name
-SO_LDFLAGS = -shared #-Wl,-soname=libsndio.so.${MAJ}.${MIN}
+SO_LDFLAGS = -shared -Wl,-soname=libsndio.so.${MAJ}.${MIN}
# variables defined on configure script command line (if any)
@vars@