summaryrefslogtreecommitdiff
path: root/editors/openoffice-3/files/patch-libxmlsec+xmlsec1-1.2.6.patch
blob: 7cf03a50d0a58ae98d55e1ed5d47a44062a543ac (plain) (blame)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Issutracker : #iXXXXX#
CWS         : N/A
Author      : NAKATA Maho <maho@openoffice.org> (JCA)
Description : correct version number of resultant shared lib

Index: libxmlsec/xmlsec1-1.2.6.patch
===================================================================
RCS file: /cvs/external/libxmlsec/xmlsec1-1.2.6.patch,v
retrieving revision 1.3
diff -u -r1.3 xmlsec1-1.2.6.patch
--- libxmlsec/xmlsec1-1.2.6.patch	29 Mar 2005 11:45:08 -0000	1.3
+++ libxmlsec/xmlsec1-1.2.6.patch	6 Apr 2005 04:46:13 -0000
@@ -13957,3 +13957,61 @@
   XMLSEC_NSS_ALIBS    	= smime3.lib ssl3.lib nss3.lib libnspr4_s.lib libplds4_s.lib libplc4_s.lib kernel32.lib user32.lib gdi32.lib
   
   XMLSEC_MSCRYPTO_SOLIBS  = kernel32.lib user32.lib gdi32.lib Crypt32.lib Advapi32.lib
+*** misc/xmlsec1-1.2.6/ltmain.sh	Thu Aug 26 15:00:15 2004
+--- misc/build/xmlsec1-1.2.6/ltmain.sh	Wed Apr  6 13:32:04 2005
+***************
+*** 2918,2929 ****
+  	  # which has an extra 1 added just for fun
+  	  #
+  	  case $version_type in
+! 	  darwin|linux|osf|windows)
+  	    current=`expr $number_major + $number_minor`
+  	    age="$number_minor"
+  	    revision="$number_revision"
+  	    ;;
+! 	  freebsd-aout|freebsd-elf|sunos)
+  	    current="$number_major"
+  	    revision="$number_minor"
+  	    age="0"
+--- 2918,2929 ----
+  	  # which has an extra 1 added just for fun
+  	  #
+  	  case $version_type in
+! 	  darwin|linux|osf|windows|freebsd-aout|freebsd-elf)
+  	    current=`expr $number_major + $number_minor`
+  	    age="$number_minor"
+  	    revision="$number_revision"
+  	    ;;
+! 	  sunos)
+  	    current="$number_major"
+  	    revision="$number_minor"
+  	    age="0"
+***************
+*** 2994,3006 ****
+  	  ;;
+  
+  	freebsd-aout)
+! 	  major=".$current"
+! 	  versuffix=".$current.$revision";
+  	  ;;
+  
+  	freebsd-elf)
+! 	  major=".$current"
+! 	  versuffix=".$current";
+  	  ;;
+  
+  	irix | nonstopux)
+--- 2994,3006 ----
+  	  ;;
+  
+  	freebsd-aout)
+! 	  major=.`expr $current - $age`
+! 	  versuffix="$major.$age.$revision"
+  	  ;;
+  
+  	freebsd-elf)
+! 	  major=.`expr $current - $age`
+! 	  versuffix="$major.$age.$revision"
+  	  ;;
+  
+  	irix | nonstopux)