Fix build on FreeBSD 10

PR:		ports/167985 (based on)
Submitted by:	truckman
Obtained from:	comms/spandsp-devel
This commit is contained in:
Chris Rees 2012-09-01 17:18:41 +00:00
parent 39ee691a71
commit e667a14c17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303500
2 changed files with 11 additions and 1 deletions

View file

@ -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

View file

@ -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])