OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 02-Jun-2004 21:03:29
Branch: HEAD Handle: 2004060220032800
Modified files:
openpkg-src/openssl openssl.spec
Log:
Inhibit OpenSSL use of GCC long-long arithmetic. Without this patch
gcc-3.4 creates a libcrypto.a with unresolved __udivdi3 and __umoddi3
symbols. These functions are provided by libgcc.a which enforces every
application linking against this library to be build with GCC, too. The
actual problem was that OpenSSL built with GCC breaks OpenSSH being
build with Forte-C on Solaris. On 32bit platforms this modification
replaces GCC long-long logic with OpenSSL/Bignumber logic which makes
little, if any, difference. However, omitting that logic on 64bit
platforms might result in a performance loss, which is the price to pay.
Summary:
Revision Changes Path
1.54 +4 -1 openpkg-src/openssl/openssl.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openssl/openssl.spec
============================================================================
$ cvs diff -u -r1.53 -r1.54 openssl.spec
--- openpkg-src/openssl/openssl.spec 22 Apr 2004 10:21:44 -0000 1.53
+++ openpkg-src/openssl/openssl.spec 2 Jun 2004 19:03:28 -0000 1.54
@@ -34,7 +34,7 @@
Group: Cryptography
License: BSD-style
Version: 0.9.7d
-Release: 20040422
+Release: 20040602
# package options
%option with_zlib no
@@ -78,6 +78,9 @@
-e 's;-lz;%{l_ldflags} -lz;' \
Configure
%{l_shtool} subst \
+ -e 's;BN_LLONG *;;' \
+ Configure
+ %{l_shtool} subst \
-e 's;test "$OSTYPE" = msdosdjgpp;true;' \
util/point.sh
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]