summaryrefslogtreecommitdiff
path: root/math/octave/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave/patches/patch-an')
-rw-r--r--math/octave/patches/patch-an51
1 files changed, 0 insertions, 51 deletions
diff --git a/math/octave/patches/patch-an b/math/octave/patches/patch-an
deleted file mode 100644
index 3a7ffa10415..00000000000
--- a/math/octave/patches/patch-an
+++ /dev/null
@@ -1,51 +0,0 @@
-$NetBSD: patch-an,v 1.3 2011/11/28 22:51:28 drochner Exp $
-
---- configure.in.orig 2010-01-19 11:13:14.000000000 +0000
-+++ configure.in
-@@ -672,7 +672,7 @@ fi
-
- warn_magick=
- AC_CHECK_PROGS(MAGICK_CONFIG, [GraphicsMagick++-config GraphicsMagick-config])
--if test -z "$MAGICK_CONFIG"; then
-+if test -z "$MAGICK_CONFIG" || test "$MAGICK_CONFIG" = "no"; then
- warn_magick="GraphicsMagick++ config script not found. Assuming GraphicsMagic++ library and header files are missing, so imread will not be fully functional"
- else
- AC_DEFINE(HAVE_MAGICK, 1, [Define if GraphicsMagick++ is available.])
-@@ -1214,14 +1214,14 @@ OCTGRAPHICS_DLL_DEFS=
- library_path_var=LD_LIBRARY_PATH
- SCRIPTS_EXE_SUFFIX=
- case "$canonical_host_type" in
-- *-*-386bsd* | *-*-netbsd*)
-+ *-*-386bsd*)
- SH_LD=ld
- SH_LDFLAGS=-Bshareable
- ;;
- *-*-openbsd*)
- SH_LDFLAGS='-shared -fPIC'
- ;;
-- *-*-freebsd*)
-+ *-*-freebsd*|*-*-netbsd*)
- SH_LDFLAGS="-shared -Wl,-x"
- RLD_FLAG='-Wl,-rpath -Wl,$(octlibdir)'
- ;;
-@@ -1599,8 +1599,8 @@ AC_CHECK_FUNCS(atexit basename bcopy bze
- _chmod _snprintf x_utime _utime32)
-
- AC_LANG_PUSH(C++)
--AC_CHECK_DECLS([exp2, round, tgamma], [], [], [[#include <cmath>]])
--AC_CHECK_FUNCS([exp2 round tgamma])
-+AC_CHECK_DECLS([exp2, round, tgamma, tgammaf], [], [], [[#include <cmath>]])
-+AC_CHECK_FUNCS([exp2 round tgamma tgamma])
- AH_VERBATIM([Z_FUNCS_AND_DECLS], [
- #if defined (__cplusplus)
- extern "C" {
-@@ -1614,6 +1614,9 @@ double round (double);
- #if HAVE_TGAMMA && ! HAVE_DECL_TGAMMA
- double tgamma (double);
- #endif
-+#if HAVE_TGAMMAF && ! HAVE_DECL_TGAMMAF
-+float tgammaf (float);
-+#endif
- #if defined (__cplusplus)
- }
- #endif