/[gentoo-alt]/trunk/prefix/dev-libs/openssl/files/openssl-0.9.7-hppa-fix-detection.patch
Gentoo

Contents of /trunk/prefix/dev-libs/openssl/files/openssl-0.9.7-hppa-fix-detection.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 920 - (show annotations) (download)
Tue Dec 13 20:55:14 2005 UTC (12 years, 10 months ago) by kito
File size: 1718 byte(s)
drop -overlay
1 diff -ur openssl-0.9.7d.orig/Configure openssl-0.9.7d/Configure
2 --- openssl-0.9.7d.orig/Configure 2004-12-11 19:01:11.078248352 -0500
3 +++ openssl-0.9.7d/Configure 2004-12-11 19:06:46.998180760 -0500
4 @@ -315,7 +315,7 @@
5 "MPE/iX-gcc", "gcc:-D_ENDIAN -DBN_DIV2W -O3 -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB::(unknown):MPE:-L/SYSLOG/PUB -lsyslog -lsocket -lcurses:BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
6
7 #### PARISC Linux setups
8 -"linux-parisc","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT:::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::",
9 +"linux-parisc","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
10
11 # Dec Alpha, OSF/1 - the alpha164-cc is historical, for the conversion
12 # from the older DEC C Compiler to the newer compiler. It's now the
13 diff -ur openssl-0.9.7d.orig/config openssl-0.9.7d/config
14 --- openssl-0.9.7d.orig/config 2004-12-11 19:01:11.077248504 -0500
15 +++ openssl-0.9.7d/config 2004-12-11 19:06:55.621869760 -0500
16 @@ -564,9 +564,9 @@
17 sun4d) OUT="linux-sparcv8" ;;
18 *) OUT="linux-sparcv7" ;;
19 esac ;;
20 - parisc-*-linux2)
21 + parisc*-*-linux2)
22 - CPUARCH=`awk '/cpu family/{print substr($5,1,3)}' /proc/cpuinfo`
23 - CPUSCHEDULE=`awk '/^cpu.[ ]: PA/{print substr($3,3)}' /proc/cpuinfo`
24 + CPUARCH=`awk '/cpu family/{print substr($5,1,3)}' /proc/cpuinfo | head -n 1`
25 + CPUSCHEDULE=`awk '/^cpu[[:space:]]*: PA/{print substr($3,3)}' /proc/cpuinfo | head -n 1`
26
27 # ??TODO ?? Model transformations
28 # 0. CPU Architecture for the 1.1 processor has letter suffixes. We strip that off

  ViewVC Help
Powered by ViewVC 1.1.20