Subject: Re: ApacheCore.dsp patch for Apache-1.3.26 + mod_ssl-2.8.10-1.3.26

From: Robert Tsai <[email-masked]>
Date: Wed, 9 Oct 2002 11:56:35 -0400

On Wed, Oct 09, 2002 at 11:38:04AM -0400, Robert Tsai wrote:
> The mod_ssl diffs don't allow a VC++ build out of the box; being a
> non-Windows user forced to build for VC++, I beat my head for about a

Sorry, I forgot to also include a similar patch for src/ap/ap.dsp:

==== //depot/prod/champagne/main/src/apache_1.3.26/src/ap/ap.dsp#2 - /u/rtsai/p4
/champagne/src/apache_1.3.26/src/ap/ap.dsp ====
44c44
< # ADD CPP /nologo /MD /W3 /O2 /I "..\include" /I "..\os\win32" /D "WIN32" /D "
NDEBUG" /D "_WINDOWS" /Fd"LibR\ap" /FD /c
---
> # ADD CPP /nologo /MD /W3 /O2 /I "..\include" /I "..\os\win32" /D "NDEBUG" /D 
"WIN32" /D "_WINDOWS" /D "EAPI" /Fd"LibR\ap" /FD /c
67c67
< # ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "..\include" /I "..\os\win32" /D "WI
N32" /D "_DEBUG" /D "_WINDOWS" /Fd"LibD\ap" /FD /c
---
> # ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "..\include" /I "..\os\win32" /D "_D
EBUG" /D "WIN32" /D "_WINDOWS" /D "EAPI" /Fd"LibD\ap" /FD /c

--
Robert Tsai   [email-masked]   http://www.netapp.com/   404-228-9983
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email-masked]
Automated List Manager                            [email-masked]

---

From: Robert Tsai <[email-masked]>
Date: Wed, 9 Oct 2002 11:38:04 -0400

The mod_ssl diffs don't allow a VC++ build out of the box; being a
non-Windows user forced to build for VC++, I beat my head for about a
day trying to figure out what went wrong. I didn't see anything about
this at http://marc.theaimsgroup.com/?l=apache-modssl so I thought I'd
contribute a patch for ApacheCore.dsp.

All the patch does is add the following preprocessor symbol to the
compile line:

	/D "EAPI"

This is already handily covered by the Win32 command-line builds and
the UNIX builds, but not by the VC++ build.

I don't know how to make this a clean diff; I don't think the
SECURITY_HOLE_PASS_AUTHORIZATION symbol is the default.

==== //depot/prod/champagne/main/src/apache_1.3.26/src/ApacheCore.dsp#4 - /u/rtsai/p4/champagne/src/apache_1.3.26/src/ApacheCore.dsp ====
--- /tmp/tmp.1831.0     Wed Oct  9 11:35:54 2002
+++ /u/rtsai/p4/champagne/src/apache_1.3.26/src/ApacheCore.dsp  Wed Oct  9 11:04:09 2002
@@ -43,7 +43,7 @@
 # PROP Ignore_Export_Lib 0
 # PROP Target_Dir ""
 # ADD BASE CPP /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c
-# ADD CPP /nologo /MD /W3 /O2 /I ".\include" /I ".\os\win32" /I ".\os\win32\win9xconhook" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "SECURITY_HOLE_PASS_AUTHORIZATION" /Fd"CoreR\ApacheCore" /FD /c
+# ADD CPP /nologo /MD /W3 /O2 /I ".\include" /I ".\os\win32" /I ".\os\win32\win9xconhook" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "SECURITY_HOLE_PASS_AUTHORIZATION" /D "EAPI" /Fd"CoreR\ApacheCore" /FD /c
 # ADD BASE MTL /nologo /D "NDEBUG" /win32
 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
 # ADD BASE RSC /l 0x809 /d "NDEBUG"
@@ -69,7 +69,7 @@
 # PROP Ignore_Export_Lib 0
 # PROP Target_Dir ""
 # ADD BASE CPP /nologo /MDd /W3 /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c
-# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I ".\include" /I ".\os\win32" /I ".\os\win32\win9xconhook" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "SECURITY_HOLE_PASS_AUTHORIZATION" /Fd"CoreD\ApacheCore" /FD /c
+# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I ".\include" /I ".\os\win32" /I ".\os\win32\win9xconhook" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" /D "SECURITY_HOLE_PASS_AUTHORIZATION" /D "EAPI" /Fd"CoreD\ApacheCore" /FD /c
 # ADD BASE MTL /nologo /D "_DEBUG" /win32
 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
 # ADD BASE RSC /l 0x809 /d "_DEBUG"