summaryrefslogtreecommitdiff
path: root/hdf4/config.patch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-11 15:23:53 +0200
committerErich Eckner <git@eckner.net>2018-07-11 15:23:53 +0200
commitbd25cfe8bc19a63dd6d6b318ec390b277c2fc900 (patch)
tree65bc42b40274d1fadfd6ad984b1bc2fc3c535b4d /hdf4/config.patch
parent98415099f3574b91695876d8ccc345fcc62db567 (diff)
downloadarchlinuxewe.git.save-bd25cfe8bc19a63dd6d6b318ec390b277c2fc900.tar.xz
hfd4: fix compilation
Diffstat (limited to 'hdf4/config.patch')
-rw-r--r--hdf4/config.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/hdf4/config.patch b/hdf4/config.patch
new file mode 100644
index 00000000..c7649238
--- /dev/null
+++ b/hdf4/config.patch
@@ -0,0 +1,14 @@
+diff --git a/src/hdf-4.2.13/configure.ac b/src/hdf-4.2.13/configure.ac
+index 3030bad..6d7f654 100644
+--- a/src/hdf-4.2.13/configure.ac
++++ b/src/hdf-4.2.13/configure.ac
+@@ -685,6 +685,9 @@ case "$host" in
+ *-pc-cygwin*)
+ LIBS="$LIBS -ltirpc"
+ CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc" ;;
++ *-linux-gnu*)
++ LIBS="$LIBS -ltirpc"
++ CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc" ;;
+ *) ;;
+ esac
+