summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-RC/files/patch-curl-7.12.2.patch
blob: f1597ef75e848f7b02cc1d8cdf4bc0ccd18da359 (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
75
76
77
78
79
80
81
82
83
84
85
86
#i 43986#

version number of curl for FreeBSD is somewhat odd.
we need libcurl.so.3.0.0 not libcurl.so.3
# ls unxfbsd.pro/lib/
libcurl.so*             libcurl.so.3*
after applying this pach
# ls unxfbsd.pro/lib/
libcurl.so*             libcurl.so.3.0.0*

Index: curl-7.12.2.patch
===================================================================
RCS file: /cvs/external/curl/curl-7.12.2.patch,v
retrieving revision 1.4
diff -u -r1.4 curl-7.12.2.patch
--- curl/curl-7.12.2.patch	27 Jan 2005 11:11:50 -0000	1.4
+++ curl/curl-7.12.2.patch	3 Mar 2005 11:57:27 -0000
@@ -304,3 +304,68 @@
      * Check the current list of connections to see if we can
      * re-use an already existing one or if we have to create a
      * new one.
+*** misc/curl-7.12.2/ltmain.sh	Mon Aug  9 20:12:17 2004
+--- misc/build/curl-7.12.2/ltmain.sh	Thu Mar  3 20:52:09 2005
+***************
+*** 2915,2926 ****
+  	  # 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"
+--- 2915,2926 ----
+  	  # 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"
+***************
+*** 2990,3005 ****
+  	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+  	  ;;
+  
+- 	freebsd-aout)
+- 	  major=".$current"
+- 	  versuffix=".$current.$revision";
+- 	  ;;
+- 
+- 	freebsd-elf)
+- 	  major=".$current"
+- 	  versuffix=".$current";
+- 	  ;;
+- 
+  	irix | nonstopux)
+  	  major=`expr $current - $age + 1`
+  
+--- 2990,2995 ----
+***************
+*** 3022,3028 ****
+  	  versuffix="$major.$revision"
+  	  ;;
+  
+! 	linux)
+  	  major=.`expr $current - $age`
+  	  versuffix="$major.$age.$revision"
+  	  ;;
+--- 3012,3018 ----
+  	  versuffix="$major.$revision"
+  	  ;;
+  
+! 	linux|freebsd-aout|freebsd-elf)
+  	  major=.`expr $current - $age`
+  	  versuffix="$major.$age.$revision"
+  	  ;;