]> git.pld-linux.org Git - packages/parigp.git/blame - parigp-target_arch.patch
- rediffed target_arch and Math-Pari crash-workaround patches
[packages/parigp.git] / parigp-target_arch.patch
CommitLineData
91bf709e
JR
1diff -urNp -x '*.orig' pari-2.5.5.org/config/get_archos pari-2.5.5/config/get_archos
2--- pari-2.5.5.org/config/get_archos 2011-09-22 22:02:11.000000000 +0200
3+++ pari-2.5.5/config/get_archos 2021-05-07 23:08:59.794747185 +0200
4@@ -6,6 +6,10 @@ fi
6a0c64f7
JR
5 arch=`echo "$target_host" | sed -e 's/\(.*\)-.*/\1/'`
6 osname=`echo "$target_host" | sed -e 's/.*-\(.*\)/\1/'`
7
8+if test -n "$target_arch"; then
9+ arch=$target_arch
10+fi
11+
12 if test "$fastread" != yes; then
13 cat << EOM
14 ==========================================================================
354a576f
JB
15--- pari-2.11.4/config/get_config_options.orig 2021-06-26 09:48:23.206303784 +0200
16+++ pari-2.11.4/config/get_config_options 2021-06-26 09:50:09.378489327 +0200
91bf709e
JR
17@@ -48,6 +48,7 @@ while test $# -gt 0; do
18 --sysdatadir=*) dfltsysdatadir=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
19 --time=*) timing_fun=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
20 --host=*) target_host=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
21+ --target=*) target_arch=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
22 --kernel=*) kernel=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
354a576f 23 --mt=*) thread_engine=`echo "$1" | sed -e 's/[-a-z]*=//'`;;
91bf709e 24 --tune) tune=yes;;
This page took 0.086843 seconds and 4 git commands to generate.