Update to libsndfile-1.0.28
Lots of exported symbols removed because build now uses -fvisibility=hidden, one symbol added, no header changes. Disable the use of -Wvla for gcc archs. From Jan Stary (maintainer)
This commit is contained in:
parent
a9e53758e7
commit
08818c77e5
@ -1,12 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2016/11/07 21:52:53 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2018/04/23 08:48:54 jca Exp $
|
||||
|
||||
COMMENT= library to handle various audio file formats
|
||||
|
||||
DISTNAME= libsndfile-1.0.27
|
||||
DISTNAME= libsndfile-1.0.28
|
||||
CATEGORIES= audio
|
||||
HOMEPAGE= http://www.mega-nerd.com/libsndfile/
|
||||
MAINTAINER= Jan Stary <hans@stare.cz>
|
||||
SHARED_LIBS += sndfile 5.0 # .1.27
|
||||
SHARED_LIBS += sndfile 6.0 # .1.28
|
||||
|
||||
# LGPLv2.1
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -19,6 +19,8 @@ CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= --disable-alsa \
|
||||
--disable-octave \
|
||||
--disable-sqlite
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include"
|
||||
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/Cfg
|
||||
|
||||
LIB_DEPENDS= audio/flac \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libsndfile-1.0.27.tar.gz) = o5GVLyf0qSzrK0wGSTrBB4lu1sdr6aYTpHMfB20w+sA=
|
||||
SIZE (libsndfile-1.0.27.tar.gz) = 1192337
|
||||
SHA256 (libsndfile-1.0.28.tar.gz) = H/M5KfBC+jM67R6JI6pijD7p4euFUSaGxVCS0eWp36k=
|
||||
SIZE (libsndfile-1.0.28.tar.gz) = 1202833
|
||||
|
16
audio/libsndfile/patches/patch-configure
Normal file
16
audio/libsndfile/patches/patch-configure
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-configure,v 1.3 2018/04/23 08:48:54 jca Exp $
|
||||
|
||||
Some compilers don't have -Wvla
|
||||
|
||||
Index: configure
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -20828,7 +20828,7 @@ rm -f core conftest.err conftest.$ac_objext \
|
||||
common_flags="-Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wundef -Wuninitialized -Winit-self"
|
||||
|
||||
# -Winline -Wconversion "
|
||||
- CFLAGS="$CFLAGS $common_flags -Wbad-function-cast -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Waggregate-return -Wvla"
|
||||
+ CFLAGS="$CFLAGS $common_flags -Wbad-function-cast -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Waggregate-return"
|
||||
CXXFLAGS="$CXXFLAGS $common_flags -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-promo"
|
||||
|
||||
if test "x$enable_gcc_opt" = "xno" ; then
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.12 2015/12/10 10:00:30 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.13 2018/04/23 08:48:54 jca Exp $
|
||||
@bin bin/sndfile-cmp
|
||||
@bin bin/sndfile-concat
|
||||
@bin bin/sndfile-convert
|
||||
@ -31,7 +31,6 @@ share/doc/libsndfile/FAQ.html
|
||||
share/doc/libsndfile/api.html
|
||||
share/doc/libsndfile/bugs.html
|
||||
share/doc/libsndfile/command.html
|
||||
share/doc/libsndfile/dither.html
|
||||
share/doc/libsndfile/embedded_files.html
|
||||
share/doc/libsndfile/index.html
|
||||
share/doc/libsndfile/libsndfile.css
|
||||
|
Loading…
x
Reference in New Issue
Block a user