comms/spandsp: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2021-11-10 13:36:29 +01:00
parent a8c75c3f8a
commit 5431f81420
5 changed files with 36 additions and 50 deletions

View File

@ -1,20 +1,28 @@
# Created by: wlloyd@slap.net
PORTNAME= spandsp
PORTVERSION= 0.0.6
DISTVERSION= ${SPANDSP_VERSION}.g20211014
CATEGORIES= comms
MASTER_SITES= http://www.soft-switch.org/downloads/spandsp/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= jailbird@fdf.net
COMMENT= DSP library and software FAX machine
LICENSE= LGPL21
LIB_DEPENDS= libtiff.so:graphics/tiff
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= autoreconf gmake libtool localbase
USES= autoreconf gmake jpeg libtool localbase
USE_GITHUB= yes
GH_ACCOUNT= freeswitch
GH_TAGNAME= ${GITHUB_COMMIT}
GITHUB_COMMIT= 284fe91
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
SPANDSP_VERSION= 3.0.0
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (spandsp-0.0.6.tar.gz) = cc053ac67e8ac4bb992f258fd94f275a7872df959f6a87763965feabfdcc9465
SIZE (spandsp-0.0.6.tar.gz) = 3309837
TIMESTAMP = 1634216290
SHA256 (freeswitch-spandsp-3.0.0.g20211014-284fe91_GH0.tar.gz) = 288b12eb058d615c526e85fe0fe339293e5713b3513e7918043e93e52e4efd49
SIZE (freeswitch-spandsp-3.0.0.g20211014-284fe91_GH0.tar.gz) = 3584374

View File

@ -1,6 +1,6 @@
--- Makefile.am.orig 2014-09-03 14:15:04.000000000 +0300
+++ Makefile.am 2014-09-03 14:15:16.000000000 +0300
@@ -61,7 +61,7 @@ SUBDIRS = src $(MAYBE_DOC) $(MAYBE_TESTD
--- Makefile.am.orig 2021-08-14 20:26:24 UTC
+++ Makefile.am
@@ -60,7 +60,7 @@ SUBDIRS = src $(MAYBE_DOC) $(MAYBE_TESTS)
DIST_SUBDIRS = src doc test-data spandsp-sim tests

View File

@ -1,37 +0,0 @@
--- configure.ac.orig 2014-11-11 15:56:10.000000000 +0100
+++ configure.ac 2014-11-11 15:58:13.000000000 +0100
@@ -198,7 +198,6 @@ AC_CHECK_HEADERS([stdlib.h])
AC_CHECK_HEADERS([string.h])
AC_CHECK_HEADERS([strings.h])
AC_CHECK_HEADERS([malloc.h])
-AC_CHECK_HEADERS([tgmath.h], [INSERT_TGMATH_HEADER="#include <tgmath.h>"])
AC_CHECK_HEADERS([math.h], [INSERT_MATH_HEADER="#include <math.h>"])
AC_CHECK_HEADERS([float.h])
AC_CHECK_HEADERS([fcntl.h])
@@ -331,7 +330,7 @@ AX_CHECK_EXPORT_CAPABILITY([$host],
case "${ax_cv_c_compiler_vendor}" in
gnu)
- COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
+ COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
if test "$enable_avx" = "yes" ; then
COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
fi
@@ -392,7 +391,7 @@ sun)
REMOVE_FROM_VAR(CFLAGS, -Xc)
;;
intel)
- COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
+ COMP_VENDOR_CFLAGS="-std=c99 -D_POSIX_C_SOURCE=2 -D_GNU_SOURCE=1 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
if test "$enable_avx" = "yes" ; then
COMP_VENDOR_CFLAGS="-mavx $COMP_VENDOR_CFLAGS"
fi
@@ -426,7 +425,7 @@ intel)
COMP_VENDOR_LDFLAGS=
;;
*)
- COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wunused-but-set-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
+ COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes $COMP_VENDOR_CFLAGS"
COMP_VENDOR_LDFLAGS=
;;
esac

View File

@ -1,5 +1,6 @@
include/spandsp.h
include/spandsp/adsi.h
include/spandsp/alloc.h
include/spandsp/arctan2.h
include/spandsp/async.h
include/spandsp/at_interpreter.h
@ -14,6 +15,7 @@ include/spandsp/complex_filters.h
include/spandsp/complex_vector_float.h
include/spandsp/crc.h
include/spandsp/dc_restore.h
include/spandsp/data_modems.h
include/spandsp/dds.h
include/spandsp/dtmf.h
include/spandsp/echo.h
@ -84,6 +86,7 @@ include/spandsp/private/awgn.h
include/spandsp/private/bell_r2_mf.h
include/spandsp/private/bert.h
include/spandsp/private/bitstream.h
include/spandsp/private/data_modems.h
include/spandsp/private/dtmf.h
include/spandsp/private/echo.h
include/spandsp/private/fax.h
@ -102,6 +105,9 @@ include/spandsp/private/modem_connect_tones.h
include/spandsp/private/modem_echo.h
include/spandsp/private/noise.h
include/spandsp/private/oki_adpcm.h
include/spandsp/private/playout.h
include/spandsp/private/plc.h
include/spandsp/private/power_meter.h
include/spandsp/private/queue.h
include/spandsp/private/schedule.h
include/spandsp/private/sig_tone.h
@ -120,6 +126,10 @@ include/spandsp/private/t4_rx.h
include/spandsp/private/t4_t6_decode.h
include/spandsp/private/t4_t6_encode.h
include/spandsp/private/t4_tx.h
include/spandsp/private/t42.h
include/spandsp/private/t43.h
include/spandsp/private/t81_t82_arith_coding.h
include/spandsp/private/t85.h
include/spandsp/private/time_scale.h
include/spandsp/private/timezone.h
include/spandsp/private/tone_detect.h
@ -143,10 +153,14 @@ include/spandsp/t4_rx.h
include/spandsp/t4_t6_decode.h
include/spandsp/t4_t6_encode.h
include/spandsp/t4_tx.h
include/spandsp/t42.h
include/spandsp/t43.h
include/spandsp/t81_t82_arith_coding.h
include/spandsp/t85.h
include/spandsp/timezone.h
include/spandsp/v18.h
lib/libspandsp.a
lib/libspandsp.so
lib/libspandsp.so.2
lib/libspandsp.so.2.0.0
lib/libspandsp.so.3
lib/libspandsp.so.3.0.0
libdata/pkgconfig/spandsp.pc