aboutsummaryrefslogtreecommitdiffstats
path: root/comms/spandsp
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-09-02 01:18:41 +0800
committercrees <crees@FreeBSD.org>2012-09-02 01:18:41 +0800
commit4b48b98d2e54cb24223b1370184fe5a248e3af34 (patch)
tree1173e331c7a1dd38e61039fde75927a351c147f9 /comms/spandsp
parent16c296f3cdff0cf95d4b54db57aaac1ded1619b0 (diff)
downloadfreebsd-ports-gnome-4b48b98d2e54cb24223b1370184fe5a248e3af34.tar.gz
freebsd-ports-gnome-4b48b98d2e54cb24223b1370184fe5a248e3af34.tar.zst
freebsd-ports-gnome-4b48b98d2e54cb24223b1370184fe5a248e3af34.zip
Fix build on FreeBSD 10
PR: ports/167985 (based on) Submitted by: truckman Obtained from: comms/spandsp-devel
Diffstat (limited to 'comms/spandsp')
-rw-r--r--comms/spandsp/Makefile2
-rw-r--r--comms/spandsp/files/patch-configure.ac10
2 files changed, 11 insertions, 1 deletions
diff --git a/comms/spandsp/Makefile b/comms/spandsp/Makefile
index 113d6c9e4809..77d09a389458 100644
--- a/comms/spandsp/Makefile
+++ b/comms/spandsp/Makefile
@@ -18,7 +18,7 @@ COMMENT= A DSP library and software FAX machine
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= libtool
+USE_AUTOTOOLS= libtool autoconf
USE_GMAKE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/comms/spandsp/files/patch-configure.ac b/comms/spandsp/files/patch-configure.ac
new file mode 100644
index 000000000000..25ff48714358
--- /dev/null
+++ b/comms/spandsp/files/patch-configure.ac
@@ -0,0 +1,10 @@
+--- configure.ac.orig 2012-09-01 12:05:10.795461874 +0100
++++ configure.ac 2012-09-01 12:05:47.473457036 +0100
+@@ -194,7 +194,6 @@
+ 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])