Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2018 12:45:07 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r458929 - in head/audio/sndio: . files
Message-ID:  <201801131245.w0DCj7DD037210@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Jan 13 12:45:07 2018
New Revision: 458929
URL: https://svnweb.freebsd.org/changeset/ports/458929

Log:
  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.

Added:
  head/audio/sndio/files/patch-configure   (contents, props changed)
Modified:
  head/audio/sndio/Makefile
  head/audio/sndio/distinfo
  head/audio/sndio/files/patch-libsndio_Makefile.in

Modified: head/audio/sndio/Makefile
==============================================================================
--- head/audio/sndio/Makefile	Sat Jan 13 12:27:45 2018	(r458928)
+++ head/audio/sndio/Makefile	Sat Jan 13 12:45:07 2018	(r458929)
@@ -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 OpenB
 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

Modified: head/audio/sndio/distinfo
==============================================================================
--- head/audio/sndio/distinfo	Sat Jan 13 12:27:45 2018	(r458928)
+++ head/audio/sndio/distinfo	Sat Jan 13 12:45:07 2018	(r458929)
@@ -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

Added: head/audio/sndio/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/sndio/files/patch-configure	Sat Jan 13 12:45:07 2018	(r458929)
@@ -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 \\\

Modified: head/audio/sndio/files/patch-libsndio_Makefile.in
==============================================================================
--- head/audio/sndio/files/patch-libsndio_Makefile.in	Sat Jan 13 12:27:45 2018	(r458928)
+++ head/audio/sndio/files/patch-libsndio_Makefile.in	Sat Jan 13 12:45:07 2018	(r458929)
@@ -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@



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801131245.w0DCj7DD037210>