- update libsndfile to 1.0.19
* includes a SECURITY FIX for CVE-2009-0186 - specify license version - bump major ok naddy@ (MAINTAINER)
This commit is contained in:
parent
42cca9bbf0
commit
de46124b17
@ -1,15 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2008/03/25 21:24:24 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2009/04/26 17:18:42 jasper Exp $
|
||||
|
||||
COMMENT= library to handle various audio file formats
|
||||
|
||||
DISTNAME= libsndfile-1.0.17
|
||||
DISTNAME= libsndfile-1.0.19
|
||||
CATEGORIES= audio
|
||||
HOMEPAGE= http://www.mega-nerd.com/libsndfile/
|
||||
SHARED_LIBS += sndfile 2.0 # .1.17
|
||||
SHARED_LIBS += sndfile 3.0 # .1.19
|
||||
|
||||
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
||||
|
||||
# LGPL
|
||||
# LGPLv2.1 or v3.
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
@ -23,7 +23,7 @@ USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--disable-alsa \
|
||||
--disable-flac \
|
||||
--disable-external-libs \
|
||||
--disable-sqlite
|
||||
|
||||
FAKE_FLAGS= htmldocdir=${PREFIX}/share/doc/libsndfile
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (libsndfile-1.0.17.tar.gz) = LRJsNUSFA/bb4zk02Vgfaw==
|
||||
RMD160 (libsndfile-1.0.17.tar.gz) = rpOCKkxYfc3Xxw0EPSo47S/joYg=
|
||||
SHA1 (libsndfile-1.0.17.tar.gz) = L2Z5jVlqFUkfvRGR3tgSXtce9BE=
|
||||
SHA256 (libsndfile-1.0.17.tar.gz) = F5Lk5gOGtFDvjsB8dW6PPs/pbr2n0LCRSNpfQ20GXvI=
|
||||
SIZE (libsndfile-1.0.17.tar.gz) = 819456
|
||||
MD5 (libsndfile-1.0.19.tar.gz) = j6JLDAqHWFQ0J8l0HqBpJA==
|
||||
RMD160 (libsndfile-1.0.19.tar.gz) = An1T5VttAceKujHtI5/S8NL3UrU=
|
||||
SHA1 (libsndfile-1.0.19.tar.gz) = fPjT8DJQFkLjb+zYyJmwnT98mGw=
|
||||
SHA256 (libsndfile-1.0.19.tar.gz) = S1Z6AuFbyuJfoa6zNhtOLLiyzgjptT+qgfd6NPsrVBk=
|
||||
SIZE (libsndfile-1.0.19.tar.gz) = 924368
|
||||
|
17
audio/libsndfile/patches/patch-examples_sndfile-play_c → audio/libsndfile/patches/patch-programs_sndfile-play_c
Normal file → Executable file
17
audio/libsndfile/patches/patch-examples_sndfile-play_c → audio/libsndfile/patches/patch-programs_sndfile-play_c
Normal file → Executable file
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-examples_sndfile-play_c,v 1.3 2008/03/25 21:24:24 naddy Exp $
|
||||
--- examples/sndfile-play.c.orig Thu Aug 31 05:22:07 2006
|
||||
+++ examples/sndfile-play.c Sat Jun 9 11:59:02 2007
|
||||
@@ -43,7 +43,7 @@
|
||||
$OpenBSD: patch-programs_sndfile-play_c,v 1.1 2009/04/26 17:18:42 jasper Exp $
|
||||
--- programs/sndfile-play.c.orig Wed Apr 22 13:56:05 2009
|
||||
+++ programs/sndfile-play.c Wed Apr 22 14:00:49 2009
|
||||
@@ -57,7 +57,7 @@
|
||||
#include <Carbon.h>
|
||||
#include <CoreAudio/AudioHardware.h>
|
||||
|
||||
@ -10,7 +10,7 @@ $OpenBSD: patch-examples_sndfile-play_c,v 1.3 2008/03/25 21:24:24 naddy Exp $
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/audioio.h>
|
||||
@@ -819,7 +819,7 @@ win32_play (int argc, char *argv [])
|
||||
@@ -823,7 +823,7 @@ win32_play (int argc, char *argv [])
|
||||
** Solaris.
|
||||
*/
|
||||
|
||||
@ -19,18 +19,19 @@ $OpenBSD: patch-examples_sndfile-play_c,v 1.3 2008/03/25 21:24:24 naddy Exp $
|
||||
|
||||
static void
|
||||
solaris_play (int argc, char *argv [])
|
||||
@@ -856,8 +856,10 @@ solaris_play (int argc, char *argv [])
|
||||
@@ -860,9 +860,10 @@ solaris_play (int argc, char *argv [])
|
||||
audio_info.play.channels = sfinfo.channels ;
|
||||
audio_info.play.precision = 16 ;
|
||||
audio_info.play.encoding = AUDIO_ENCODING_LINEAR ;
|
||||
+#if !defined(__OpenBSD__)
|
||||
audio_info.play.gain = AUDIO_MAX_GAIN ;
|
||||
audio_info.play.balance = AUDIO_MID_BALANCE ;
|
||||
-
|
||||
+#endif
|
||||
|
||||
if ((error = ioctl (audio_fd, AUDIO_SETINFO, &audio_info)))
|
||||
{ perror ("ioctl (AUDIO_SETINFO) failed") ;
|
||||
@@ -935,7 +937,7 @@ main (int argc, char *argv [])
|
||||
return ;
|
||||
@@ -939,7 +940,7 @@ main (int argc, char *argv [])
|
||||
linux_play (argc, argv) ;
|
||||
#elif (defined (__MACH__) && defined (__APPLE__))
|
||||
macosx_play (argc, argv) ;
|
@ -1,7 +1,12 @@
|
||||
@comment $OpenBSD: PLIST,v 1.7 2008/03/25 21:24:24 naddy Exp $
|
||||
bin/sndfile-convert
|
||||
bin/sndfile-info
|
||||
bin/sndfile-play
|
||||
@comment $OpenBSD: PLIST,v 1.8 2009/04/26 17:18:42 jasper Exp $
|
||||
%%SHARED%%
|
||||
@bin bin/sndfile-cmp
|
||||
@bin bin/sndfile-convert
|
||||
@bin bin/sndfile-info
|
||||
@bin bin/sndfile-jackplay
|
||||
@bin bin/sndfile-metadata-get
|
||||
@bin bin/sndfile-metadata-set
|
||||
@bin bin/sndfile-play
|
||||
@comment bin/sndfile-regtest
|
||||
include/sndfile.h
|
||||
include/sndfile.hh
|
||||
@ -27,11 +32,5 @@ share/doc/libsndfile/new_file_type.HOWTO
|
||||
share/doc/libsndfile/octave.html
|
||||
share/doc/libsndfile/pkgconfig.html
|
||||
share/doc/libsndfile/sndfile_info.html
|
||||
share/doc/libsndfile/tutorial.html
|
||||
share/doc/libsndfile/win32.html
|
||||
share/octave/
|
||||
share/octave/site/
|
||||
share/octave/site/m/
|
||||
share/octave/site/m/sndfile_load.m
|
||||
share/octave/site/m/sndfile_play.m
|
||||
share/octave/site/m/sndfile_save.m
|
||||
%%SHARED%%
|
||||
|
Loading…
Reference in New Issue
Block a user