summaryrefslogtreecommitdiff
path: root/math.patch
blob: a11a1bdc1023d335524cce82c2d4baf704644c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/opt/Wolfram/WolframEngine/12.0/Executables/math	2019-06-23 23:13:31.000000000 -0400
+++ b/opt/Wolfram/WolframEngine/12.0/Executables/math	2019-11-18 23:49:15.410567645 -0500
@@ -28,6 +28,8 @@
 					fi;;
 				armv?l)
 					SystemIDList="Linux-ARM";;
+				aarch64)
+					SystemIDList="Linux-ARM";;
 				*)
 					SystemIDList="Unknown";;
 			esac;;
@@ -117,7 +119,7 @@
 
     SED_LIBRARY_PATH=`echo "${M_LIBRARY_PATH}" | sed -e 's/\\//\\\\\//g'`
 
-    LD_LIBRARY_PATH=`echo "${LD_LIBRARY_PATH}" | \
+    LD_LIBRARY_PATH=`echo "/usr/libv6h:${LD_LIBRARY_PATH}" | \
         sed -e 's/^'"${SED_LIBRARY_PATH}"'://g' | \
         sed -e 's/:'"${SED_LIBRARY_PATH}"':/:/g' | \
         sed -e 's/:'"${SED_LIBRARY_PATH}"'$//g' | \