summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-vcltesttool/files/patch-sndfile+libsndfile-1.0.9.patch
blob: 91d4cf4ce4b1f2b36816bfcba7d0826a13c4b583 (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
Issutracker : #iXXXXX#
CWS         : N/A
Author      : NAKATA Maho <maho@openoffice.org> (JCA)
Description : correct shared lib number

Index: sndfile/libsndfile-1.0.9.patch
===================================================================
RCS file: /cvs/external/sndfile/libsndfile-1.0.9.patch,v
retrieving revision 1.1
diff -u -r1.1 libsndfile-1.0.9.patch
--- sndfile/libsndfile-1.0.9.patch	6 Oct 2004 11:49:36 -0000	1.1
+++ sndfile/libsndfile-1.0.9.patch	28 Mar 2005 07:59:15 -0000
@@ -231,3 +231,51 @@
   
   #define SF_COUNT_MAX		0x7FFFFFFFFFFFFFFFLL
   
+*** misc/libsndfile-1.0.9/ltmain.sh	Sat Mar 27 13:02:07 2004
+--- misc/build/libsndfile-1.0.9/ltmain.sh	Mon Mar 28 16:37:47 2005
+***************
+*** 2899,2910 ****
+  	  # 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"
+--- 2899,2910 ----
+  	  # 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"
+***************
+*** 2980,2987 ****
+  	  ;;
+  
+  	freebsd-elf)
+! 	  major=".$current"
+! 	  versuffix=".$current";
+  	  ;;
+  
+  	irix | nonstopux)
+--- 2980,2987 ----
+  	  ;;
+  
+  	freebsd-elf)
+! 	  major=.`expr $current - $age`
+! 	  versuffix="$major.$age.$revision"
+  	  ;;
+  
+  	irix | nonstopux)