summaryrefslogtreecommitdiff
path: root/install-win32/openssl/openssl098.patch
blob: 653d2feae0bb8881c3db2a5e7aafef58a2415ae8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff -urw tmp/openssl-0.9.8h/crypto/pqueue/pqueue.c openssl-0.9.8h/crypto/pqueue/pqueue.c
--- tmp/openssl-0.9.8h/crypto/pqueue/pqueue.c	Tue Jun 28 06:53:34 2005
+++ openssl-0.9.8h/crypto/pqueue/pqueue.c	Wed Jun  4 02:52:42 2008
@@ -199,10 +199,10 @@
 	return found;
 	}
 
-#if PQ_64BIT_IS_INTEGER
 void
 pqueue_print(pqueue_s *pq)
 	{
+#if PQ_64BIT_IS_INTEGER
 	pitem *item = pq->items;
 
 	while(item != NULL)
@@ -210,8 +210,8 @@
 		printf("item\t" PQ_64BIT_PRINT "\n", item->priority);
 		item = item->next;
 		}
-	}
 #endif
+	}
 
 pitem *
 pqueue_iterator(pqueue_s *pq)
diff -urw tmp/openssl-0.9.8h/ms/mw.bat openssl-0.9.8h/ms/mw.bat
--- tmp/openssl-0.9.8h/ms/mw.bat	Sat Feb 22 11:00:10 2003
+++ openssl-0.9.8h/ms/mw.bat	Wed Jun  4 02:56:54 2008
@@ -1,17 +1,23 @@
 @rem OpenSSL with Mingw32
 @rem --------------------

+@rem Include MinGW, MSYS, and ActiveState Perl in path
+set PATH=c:\bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\MinGW\bin;c:\msys\1.0\bin
+
 @rem Makefile
 perl util\mkfiles.pl >MINFO
-perl util\mk1mf.pl Mingw32 >ms\mingw32.mak
+perl util\mk1mf.pl no-idea no-mdc2 no-rc5 Mingw32 >ms\mingw32.mak
+
 @rem DLL definition files
-perl util\mkdef.pl 32 libeay >ms\libeay32.def
+perl util\mkdef.pl no-idea no-mdc2 no-rc5 32 libeay >ms\libeay32.def
 if errorlevel 1 goto end
-perl util\mkdef.pl 32 ssleay >ms\ssleay32.def
+perl util\mkdef.pl no-idea no-mdc2 no-rc5 32 ssleay >ms\ssleay32.def
 if errorlevel 1 goto end

 @rem Build the libraries
-make -f ms/mingw32.mak
+
+@rem JY added --win32
+make --win32 -f ms/mingw32.mak
 if errorlevel 1 goto end

 @rem Generate the DLLs and input libraries