summaryrefslogtreecommitdiff
path: root/sci-libs/hdf/files/hdf-4.2.13-fix-xdr-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/hdf/files/hdf-4.2.13-fix-xdr-configure.patch')
-rw-r--r--sci-libs/hdf/files/hdf-4.2.13-fix-xdr-configure.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/hdf/files/hdf-4.2.13-fix-xdr-configure.patch b/sci-libs/hdf/files/hdf-4.2.13-fix-xdr-configure.patch
new file mode 100644
index 000000000000..a4514ab267ec
--- /dev/null
+++ b/sci-libs/hdf/files/hdf-4.2.13-fix-xdr-configure.patch
@@ -0,0 +1,13 @@
+Index: hdf-4.2.13/configure.ac
+===================================================================
+--- hdf-4.2.13.orig/configure.ac
++++ hdf-4.2.13/configure.ac
+@@ -676,7 +676,7 @@ case "$host" in
+ *) ;;
+ esac
+
+-if test "X$BUILD_XDR" != "Xyes"; then
++if test "X$BUILD_XDR" = "Xyes"; then
+ AC_TRY_LINK([
+ #include <rpc/types.h>
+ #include <rpc/xdr.h>], [xdr_int],