summarylogtreecommitdiffstats
path: root/szip_cc.patch
diff options
context:
space:
mode:
authorXavierCLL2018-08-21 10:02:27 -0500
committerXavierCLL2018-08-21 10:02:27 -0500
commitee643789f3ee40d79638deccc7413c679568404b (patch)
tree5c714abfd6100f3681b6b7e2855203ced5d3f67b /szip_cc.patch
parent9e35ed1ff2a85e7416238d3074d0ad1368df8df0 (diff)
downloadaur-hdf-eos5.tar.gz
Fixes
Diffstat (limited to 'szip_cc.patch')
-rw-r--r--szip_cc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/szip_cc.patch b/szip_cc.patch
new file mode 100644
index 00000000000..cbd64ae6aec
--- /dev/null
+++ b/szip_cc.patch
@@ -0,0 +1,14 @@
+--- a/configure
++++ b/configure
+@@ -22107,11 +22107,7 @@
+ { (exit 1); exit 1; }; }
+ fi
+
+- SZIP_CC=szip_cc
+- cat $PURE_CC | $AWK '{ if ( $0 ~ /^LDFLAGS=\"(.*)/ ) { print substr($0, 1, 9) " -L'$szlib_lib' " substr($0, 10) } else { print } } ' > $SZIP_CC
+- chmod 755 $SZIP_CC
+ saved_CC="$CC"
+- CC=./$SZIP_CC
+
+ { echo "$as_me:$LINENO: checking for szlib encoder" >&5
+ echo $ECHO_N "checking for szlib encoder... $ECHO_C" >&6; }