dc420fd3ea
2009-08-26 03:52:57 +0200 mh r275385 : #i102182# FreeBSD patch 2009-08-26 03:43:20 +0200 mh r275384 : #i101333# patch for FreeBSD 2009-08-26 03:11:20 +0200 mh r275383 : #i39230 2009-08-26 03:07:51 +0200 mh r275382 : #i39230# more space for initials field 2009-08-26 02:41:19 +0200 mh r275380 : #i39230# use vos::osecurity for reading the user name 2009-08-18 22:06:00 +0200 mh r275130 : #i104243#, line ending problem with newer perl 2009-08-18 21:53:21 +0200 mh r275129 : #i39230# read initials via getpwnam 2009-08-18 21:34:05 +0200 mh r275128 : enable CAIROCANVAS for Linux and Mac, #i88613# 2009-08-17 18:02:59 +0200 mh r275067 : #i95498# make compile with gcc3
132 lines
4.8 KiB
Diff
132 lines
4.8 KiB
Diff
--- misc/openssl-0.9.8k/crypto/x509v3/v3_pci.c 2007-03-05 01:06:47.000000000 +0100
|
|
+++ misc/build/openssl-0.9.8k/crypto/x509v3/v3_pci.c 2008-03-20 13:30:16.000000000 +0100
|
|
@@ -2,7 +2,7 @@
|
|
/* Contributed to the OpenSSL Project 2004
|
|
* by Richard Levitte (richard@levitte.org)
|
|
*/
|
|
-/* Copyright (c) 2004 Kungliga Tekniska Högskolan
|
|
+/* Copyright (c) 2004 Kungliga Tekniska Hoegskolan
|
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
|
* All rights reserved.
|
|
*
|
|
--- misc/openssl-0.9.8k/crypto/x509v3/v3_pcia.c 2004-12-28 01:21:33.000000000 +0100
|
|
+++ misc/build/openssl-0.9.8k/crypto/x509v3/v3_pcia.c 2008-03-20 13:30:47.000000000 +0100
|
|
@@ -2,7 +2,7 @@
|
|
/* Contributed to the OpenSSL Project 2004
|
|
* by Richard Levitte (richard@levitte.org)
|
|
*/
|
|
-/* Copyright (c) 2004 Kungliga Tekniska Högskolan
|
|
+/* Copyright (c) 2004 Kungliga Tekniska Hoegskolan
|
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
|
* All rights reserved.
|
|
*
|
|
--- misc/openssl-0.9.8k/ms/do_ms.bat 2005-05-17 02:07:13.000000000 +0200
|
|
+++ misc/build/openssl-0.9.8k/ms/do_ms.bat 2008-03-20 13:27:06.000000000 +0100
|
|
@@ -1,9 +1,8 @@
|
|
+%1 util\mkfiles.pl >MINFO
|
|
+%1 util\mk1mf.pl no-asm VC-WIN32 >ms\nt.mak
|
|
+%1 util\mk1mf.pl dll no-asm VC-WIN32 >ms\ntdll.mak
|
|
+%1 util\mk1mf.pl no-asm VC-CE >ms\ce.mak
|
|
+%1 util\mk1mf.pl dll no-asm VC-CE >ms\cedll.mak
|
|
|
|
-perl util\mkfiles.pl >MINFO
|
|
-perl util\mk1mf.pl no-asm VC-WIN32 >ms\nt.mak
|
|
-perl util\mk1mf.pl dll no-asm VC-WIN32 >ms\ntdll.mak
|
|
-perl util\mk1mf.pl no-asm VC-CE >ms\ce.mak
|
|
-perl util\mk1mf.pl dll no-asm VC-CE >ms\cedll.mak
|
|
-
|
|
-perl util\mkdef.pl 32 libeay > ms\libeay32.def
|
|
-perl util\mkdef.pl 32 ssleay > ms\ssleay32.def
|
|
+%1 util\mkdef.pl 32 libeay > ms\libeay32.def
|
|
+%1 util\mkdef.pl 32 ssleay > ms\ssleay32.def
|
|
--- misc/openssl-0.9.8k/util/mk1mf.pl 2007-08-13 00:31:14.000000000 +0200
|
|
+++ misc/build/openssl-0.9.8k/util/mk1mf.pl 2008-03-20 13:27:06.000000000 +0100
|
|
@@ -115,7 +115,7 @@
|
|
$inc_def="outinc";
|
|
$tmp_def="tmp";
|
|
|
|
-$perl="perl" unless defined $perl;
|
|
+$perl="$ENV{PERL}" unless defined $perl;
|
|
$mkdir="-mkdir" unless defined $mkdir;
|
|
|
|
($ssl,$crypto)=("ssl","crypto");
|
|
@@ -277,6 +277,11 @@
|
|
chop;
|
|
|
|
($key,$val)=/^([^=]+)=(.*)/;
|
|
+
|
|
+ # On some Windows machines, $val has linefeeds at the end, which confuses
|
|
+ # subsequent code in this file. So we strip all whitespace at the end.
|
|
+ $val =~ s/\s+$//;
|
|
+
|
|
if ($key eq "RELATIVE_DIRECTORY")
|
|
{
|
|
if ($lib ne "")
|
|
@@ -570,7 +575,7 @@
|
|
printf OUT <<EOF;
|
|
#ifdef $platform_cpp_symbol
|
|
/* auto-generated/updated by util/mk1mf.pl for crypto/cversion.c */
|
|
- #define CFLAGS "$cc $cflags"
|
|
+ #define CFLAGS "$cflags"
|
|
#define PLATFORM "$platform"
|
|
EOF
|
|
printf OUT " #define DATE \"%s\"\n", scalar gmtime();
|
|
--- misc/openssl-0.9.8k/util/pl/VC-32.pl 2007-07-19 19:39:07.000000000 +0200
|
|
+++ misc/build/openssl-0.9.8k/util/pl/VC-32.pl 2008-03-20 13:27:06.000000000 +0100
|
|
@@ -28,7 +28,7 @@
|
|
$zlib_lib="zlib1.lib";
|
|
|
|
# C compiler stuff
|
|
-$cc='cl';
|
|
+$cc=$ENV{'CC'};
|
|
if ($FLAVOR =~ /WIN64/)
|
|
{
|
|
# Note that we currently don't have /WX on Win64! There is a lot of
|
|
@@ -99,21 +99,21 @@
|
|
}
|
|
|
|
$cc='$(CC)';
|
|
- $base_cflags=' /W3 /WX /GF /Gy /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -I$(WCECOMPAT)/include -DOPENSSL_SMALL_FOOTPRINT';
|
|
+ $base_cflags=' -W3 -WX -GF -Gy -nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -I$(WCECOMPAT)/include -DOPENSSL_SMALL_FOOTPRINT';
|
|
$base_cflags.=" $wcecdefs";
|
|
- $opt_cflags=' /MC /O1i'; # optimize for space, but with intrinsics...
|
|
- $dbg_clfags=' /MC /Od -DDEBUG -D_DEBUG';
|
|
+ $opt_cflags=' -MC -O1i'; # optimize for space, but with intrinsics...
|
|
+ $dbg_clfags=' -MC -Od -DDEBUG -D_DEBUG';
|
|
$lflags="/nologo /opt:ref $wcelflag";
|
|
}
|
|
else # Win32
|
|
{
|
|
- $base_cflags=' /W3 /WX /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32';
|
|
+ $base_cflags=' -W3 -WX -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32';
|
|
$base_cflags.=' -D_CRT_SECURE_NO_DEPRECATE'; # shut up VC8
|
|
$base_cflags.=' -D_CRT_NONSTDC_NO_DEPRECATE'; # shut up VC8
|
|
- my $f = $shlib || $fips ?' /MD':' /MT';
|
|
+ my $f = $shlib || $fips ?' -MD':' -MT';
|
|
- $lib_cflag='/Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib
|
|
+ $lib_cflag='-Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib
|
|
- $opt_cflags=$f.' /Ox /O2 /Ob2';
|
|
- $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG';
|
|
+ $opt_cflags=$f.' -Ox -O2 -Ob2';
|
|
+ $dbg_cflags=$f.'d -Od -DDEBUG -D_DEBUG';
|
|
$lflags="/nologo /subsystem:console /opt:ref";
|
|
}
|
|
$mlflags='';
|
|
@@ -134,7 +134,7 @@
|
|
}
|
|
|
|
$obj='.obj';
|
|
-$ofile="/Fo";
|
|
+$ofile="-Fo.\\";
|
|
|
|
# EXE linking stuff
|
|
$link="link";
|
|
@@ -281,7 +281,7 @@
|
|
$tmp_def='tmp32dll_$(TARGETCPU)';
|
|
}
|
|
|
|
-$cflags.=" /Fd$out_def";
|
|
+$cflags.=" -Fd$out_def";
|
|
|
|
sub do_lib_rule
|
|
{
|