summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/hdf4-tirpc.patch
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2023-08-21 22:12:28 +0200
committerAndreas Enge <andreas@enge.fr>2023-09-13 11:18:42 +0200
commit6a01c1142b0099bc5ccff6550c2dd24b90ec6aad (patch)
tree19d3953f423ecc2100f96bb0c8951a1f0f16f0da /gnu/packages/patches/hdf4-tirpc.patch
parentc30c9df5e9eb2d28e1b593128f05a0aae1919826 (diff)
gnu: hdf4, hdf4-alt: Update to 4.2.16-2.
* gnu/packages/maths.scm (hdf4)[source]: Update to 4.2.16-2. Drop patches that do not apply any more. [arguments]: Drop configure flag related to libtirpc. Add configure flag to build xdr library and drop unneeded substitutions. * gnu/packages/patches/hdf4-architectures.patch, gnu/packages/patches/hdf4-tirpc.patch: Remove files. * gnu/local.mk (dist_patch_DATA): Unregister patches.
Diffstat (limited to 'gnu/packages/patches/hdf4-tirpc.patch')
-rw-r--r--gnu/packages/patches/hdf4-tirpc.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/gnu/packages/patches/hdf4-tirpc.patch b/gnu/packages/patches/hdf4-tirpc.patch
deleted file mode 100644
index 3f436e3887..0000000000
--- a/gnu/packages/patches/hdf4-tirpc.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Build with libtirpc on all architectures because glibc no longer provides
-SunRPC support.
-
-diff --git a/configure b/configure
---- a/configure
-+++ b/configure
-@@ -23635,10 +23635,13 @@
- *-pc-cygwin*)
- LIBS="$LIBS -ltirpc"
- CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc" ;;
-+ *-linux-gnu)
-+ LIBS="$LIBS -ltirpc"
-+ CPPFLAGS="$CPPFLAGS" ;;
- *) ;;
- esac
-
--if test "X$BUILD_XDR" != "Xyes"; then
-+if test "X$BUILD_XDR" = "Xyes"; then
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-
-@@ -23693,9 +23696,9 @@
- ## but we need to make sure that it is present on the system. Do that here,
- ## The SunRPC of the glibc has been replaced by a TI-RPC (Transport Independent RPC) library for IPv6 support
- case "$host" in
-- *-pc-cygwin*)
-+ *)
- HAVE_RPC="yes"
-- ac_fn_c_check_header_mongrel "$LINENO" "rpc.h" "ac_cv_header_rpc_h" "$ac_includes_default"
-+ ac_fn_c_check_header_mongrel "$LINENO" "rpc/rpc.h" "ac_cv_header_rpc_h" "$ac_includes_default"
- if test "x$ac_cv_header_rpc_h" = xyes; then :
- :
- else