summaryrefslogtreecommitdiff
path: root/sci-libs/hdf/files/hdf-4.2.15-fix-rpch-location.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/hdf/files/hdf-4.2.15-fix-rpch-location.patch')
-rw-r--r--sci-libs/hdf/files/hdf-4.2.15-fix-rpch-location.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/hdf/files/hdf-4.2.15-fix-rpch-location.patch b/sci-libs/hdf/files/hdf-4.2.15-fix-rpch-location.patch
new file mode 100644
index 000000000000..a373649e2ab4
--- /dev/null
+++ b/sci-libs/hdf/files/hdf-4.2.15-fix-rpch-location.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 5601a1c..df03984 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -693,7 +693,7 @@ if test "X$BUILD_XDR" != "Xyes"; then
+ if test -z "$HAVE_OLDRPC" ; then
+ LIBS="$LIBS -ltirpc"
+ CPPFLAGS="$SYSCPPFLAGS -I/usr/include/tirpc"
+- AC_CHECK_HEADER([rpc/rpc.h],[:], [unset HAVE_TIRPC])
++ AC_CHECK_HEADER([tirpc/rpc/rpc.h],[:], [unset HAVE_TIRPC])
+ if test -z "$HAVE_TIRPC" ; then
+ CPPFLAGS="$SYSCPPFLAGS"
+ AC_MSG_ERROR([couldn't find rpc headers])