summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization/hippodraw/files/hippodraw-1.21.3-autoconf-2.64.patch')
-rw-r--r--sci-visualization/hippodraw/files/hippodraw-1.21.3-autoconf-2.64.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-visualization/hippodraw/files/hippodraw-1.21.3-autoconf-2.64.patch b/sci-visualization/hippodraw/files/hippodraw-1.21.3-autoconf-2.64.patch
new file mode 100644
index 000000000000..211e61033b71
--- /dev/null
+++ b/sci-visualization/hippodraw/files/hippodraw-1.21.3-autoconf-2.64.patch
@@ -0,0 +1,42 @@
+diff -Naur HippoDraw-1.21.3.old/config/m4/bnv_have_qt.m4 HippoDraw-1.21.3/config/m4/bnv_have_qt.m4
+--- HippoDraw-1.21.3.old/config/m4/bnv_have_qt.m4 2006-12-08 14:15:35.000000000 -0500
++++ HippoDraw-1.21.3/config/m4/bnv_have_qt.m4 2009-12-15 18:15:24.000000000 -0500
+@@ -438,8 +438,8 @@
+ bnv_save_CXXFLAGS="$CXXFLAGS"
+ echo "Saved cxxflgs"
+ CXXFLAGS="-I$bnv_qt_include_dir"
+- AC_TRY_LINK([#include <$qt_direct_test_header>],
+- $qt_direct_test_main,
++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <$qt_direct_test_header>]],
++ [[$qt_direct_test_main]])],
+ [
+ # Success.
+ # We can link with no special library directory.
+@@ -460,8 +460,8 @@
+ echo "Non-critical error, please neglect the above." >&AC_FD_CC
+ bnv_qt_lib=qt-gl
+ LIBS="-l$bnv_qt_lib"
+- AC_TRY_LINK([#include <$qt_direct_test_header>],
+- $qt_direct_test_main,
++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <$qt_direct_test_header>]],
++ [[$qt_direct_test_main]])],
+ [
+ # Success.
+ # We can link with no special library directory.
+@@ -496,14 +496,12 @@
+ done
+ # Try with that one
+ LIBS="-l$bnv_qt_libS"
+- AC_TRY_LINK([#include <$qt_direct_test_header>],
+- $qt_direct_test_main,
++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <$qt_direct_test_header>]],
++ [[$qt_direct_test_main]])],
+ [
+ # Success.
+ # We can link with no special library directory.
+ bnv_qt_lib_dir=
+- ], [
+- # Leave bnv_qt_lib_dir defined
+ ])
+ ])
+ ])