]> git.pld-linux.org Git - packages/subversion.git/blob - subversion-lib.patch
- added repos
[packages/subversion.git] / subversion-lib.patch
1 diff -urN subversion-20020412.org/ac-helpers/berkeley-db.m4 subversion-20020412/ac-helpers/berkeley-db.m4
2 --- subversion-20020412.org/ac-helpers/berkeley-db.m4   Fri Apr 12 20:50:00 2002
3 +++ subversion-20020412/ac-helpers/berkeley-db.m4       Fri Apr 12 20:51:06 2002
4 @@ -102,7 +102,7 @@
5      if test "$enable_shared" = "yes"; then
6          SVN_DB_LIBS="$dbdir/libdb-4.0.la"
7      else
8 -        SVN_DB_LIBS="-L$dbdir -ldb"
9 +        SVN_DB_LIBS="-L$dbdir -ldb4"
10      fi
11    elif test "$status" = "skip"; then
12      svn_lib_berkeley_db=no
13 @@ -193,7 +193,7 @@
14        ;;
15        "std" )
16          SVN_DB_INCLUDES=
17 -        SVN_DB_LIBS=-ldb
18 +        SVN_DB_LIBS=-ldb4
19          svn_lib_berkeley_db=yes
20        ;;
21        *":"* )
22 @@ -201,13 +201,13 @@
23         lib="`echo $found | sed -e 's/^.*://'`"
24          SVN_DB_INCLUDES="-I$header"
25  dnl ### should look for a .la file
26 -        SVN_DB_LIBS="-L$lib -ldb"
27 +        SVN_DB_LIBS="-L$lib -ldb4"
28          svn_lib_berkeley_db=yes
29        ;;
30        * )
31          SVN_DB_INCLUDES="-I$found/include"
32  dnl ### should look for a .la file
33 -        SVN_DB_LIBS="-L$found/lib -ldb"
34 +        SVN_DB_LIBS="-L$found/lib -ldb4"
35         svn_lib_berkeley_db=yes
36        ;;
37      esac
38 @@ -234,7 +234,7 @@
39  AC_DEFUN(SVN_LIB_BERKELEY_DB_TRY,
40    [
41      svn_lib_berkeley_db_try_save_libs="$LIBS"
42 -    LIBS="$LIBS -ldb"
43 +    LIBS="$LIBS -ldb4"
44  
45      svn_check_berkeley_db_major=$1
46      svn_check_berkeley_db_minor=$2
47 diff -urN subversion-20020412.org/ac-helpers/neon.m4 subversion-20020412/ac-helpers/neon.m4
48 --- subversion-20020412.org/ac-helpers/neon.m4  Fri Apr 12 20:50:00 2002
49 +++ subversion-20020412/ac-helpers/neon.m4      Fri Apr 12 20:51:06 2002
50 @@ -66,7 +66,7 @@
51              args="--disable-shared"
52            fi
53    
54 -          SVN_SUBDIR_CONFIG(neon, $args --with-expat="$abs_srcdir/expat-lite/libexpat.la")
55 +          SVN_SUBDIR_CONFIG(neon, $args --with-expat="/usr/lib/libexpat.la")
56  
57            if test -f "$abs_builddir/neon/neon-config" ; then
58              AC_MSG_CHECKING([for any extra libraries neon needs])
59 diff -urN subversion-20020412.org/build.conf subversion-20020412/build.conf
60 --- subversion-20020412.org/build.conf  Fri Apr 12 20:49:31 2002
61 +++ subversion-20020412/build.conf      Fri Apr 12 20:51:06 2002
62 @@ -65,7 +65,7 @@
63  type = exe
64  path = subversion/clients/cmdline
65  libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr
66 -       $(SVN_APR_LIBS) libexpat
67 +       $(SVN_APR_LIBS) -lexpat
68  manpages = subversion/clients/cmdline/man/svn.1
69  infopages = doc/user/manual/svn-manual.info
70   doc/user/svn_for_cvs_users/svn_for_cvs_users.info 
71 @@ -79,14 +79,14 @@
72  type = exe
73  path = subversion/svnadmin
74  install = fs-bin
75 -libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
76 +libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
77  
78  # The subversion repository inspection tool
79  [svnlook]
80  type = exe
81  path = subversion/svnlook
82  install = fs-bin
83 -libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
84 +libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
85  
86  # Library needed by all subversion clients
87  [libsvn_client]
88 @@ -143,7 +143,7 @@
89  type = lib
90  install = base-lib
91  path = subversion/libsvn_subr
92 -libs =  $(SVN_APR_LIBS) libexpat
93 +libs =  $(SVN_APR_LIBS) -lexpat
94  
95  # Working copy management lib
96  [libsvn_wc]
97 @@ -162,14 +162,6 @@
98  custom = apache-mod
99  install = apache-mod
100  
101 -# Simple XML-parsing lib
102 -[libexpat]
103 -type = lib
104 -install = base-lib
105 -path = expat-lite
106 -# there are some .c files included by others, so *.c isn't appropriate
107 -sources = hashtable.c xmlparse.c xmlrole.c xmltok.c
108 -
109  # ----------------------------------------------------------------------------
110  #
111  # TARGETS FOR SWIG SUPPORT
112 @@ -212,7 +204,7 @@
113  sources = fs-test.c
114  install = fs-test
115  libs = libsvn_test libsvn_test_fs libsvn_fs libsvn_delta libsvn_subr
116 -       $(SVN_APR_LIBS) libexpat
117 +       $(SVN_APR_LIBS) -lexpat
118  # run-fs-tests.sh will run this for us
119  testing = skip
120  
121 @@ -222,7 +214,7 @@
122  path = subversion/tests/libsvn_fs
123  sources = skel-test.c
124  install = fs-test
125 -libs = libsvn_test libsvn_fs libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
126 +libs = libsvn_test libsvn_fs libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
127  # run-fs-tests.sh will run this for us
128  testing = skip
129  
130 @@ -232,7 +224,7 @@
131  path = subversion/tests/libsvn_fs
132  sources = key-test.c
133  install = fs-test
134 -libs = libsvn_test libsvn_fs libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
135 +libs = libsvn_test libsvn_fs libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
136  # run-fs-tests.sh will run this for us
137  testing = skip
138  
139 @@ -243,7 +235,7 @@
140  sources = strings-reps-test.c
141  install = fs-test
142  libs = libsvn_test libsvn_test_fs libsvn_fs libsvn_delta libsvn_subr
143 -       $(SVN_APR_LIBS) libexpat
144 +       $(SVN_APR_LIBS) -lexpat
145  # run-fs-tests.sh will run this for us
146  testing = skip
147  
148 @@ -253,7 +245,7 @@
149  path = subversion/tests/libsvn_repos
150  sources = md5args.c
151  install = test
152 -libs = libsvn_subr $(SVN_APR_LIBS) libexpat
153 +libs = libsvn_subr $(SVN_APR_LIBS) -lexpat
154  # run-repos-tests.sh will run this for us
155  testing = skip
156  
157 @@ -264,7 +256,7 @@
158  sources = repos-test.c dir-delta-editor.c
159  install = fs-test
160  libs = libsvn_test libsvn_test_fs libsvn_repos libsvn_fs libsvn_delta
161 -       libsvn_subr $(SVN_APR_LIBS) libexpat
162 +       libsvn_subr $(SVN_APR_LIBS) -lexpat
163  # run-repos-tests.sh will run this for us
164  testing = skip
165  
166 @@ -274,7 +266,7 @@
167  path = subversion/tests/libsvn_subr
168  sources = hashdump-test.c
169  install = test
170 -libs = libsvn_test libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
171 +libs = libsvn_test libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
172  
173  # test svn_stringbuf_t utilities
174  [stringtest]
175 @@ -282,7 +274,7 @@
176  path = subversion/tests/libsvn_subr
177  sources = stringtest.c
178  install = test
179 -libs = libsvn_test libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
180 +libs = libsvn_test libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
181  
182  # test path library
183  [path-test]
184 @@ -298,7 +290,7 @@
185  path = subversion/tests/libsvn_wc
186  sources = translate-test.c
187  install = test
188 -libs = libsvn_test libsvn_delta libsvn_wc libsvn_subr $(SVN_APR_LIBS) libexpat
189 +libs = libsvn_test libsvn_delta libsvn_wc libsvn_subr $(SVN_APR_LIBS) -lexpat
190  
191  # use random data to test delta processing
192  [random-test]
193 @@ -306,7 +298,7 @@
194  path = subversion/tests/libsvn_delta
195  sources = random-test.c
196  install = test
197 -libs = libsvn_test libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
198 +libs = libsvn_test libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
199  
200  
201  ### Tests that are simply broken (fix?)  ----------
202 @@ -317,7 +309,7 @@
203  path = subversion/tests/libsvn_delta
204  sources = delta-combine-test.c
205  install = test
206 -libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
207 +libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
208  # disabled for now -- the delta combiner isn't written, and we
209  # don't really have any idea if the interface would be compatible 
210  # with this test, anyway.
211 @@ -330,7 +322,7 @@
212  sources = ra-local-test.c
213  install = fs-test
214  libs = libsvn_test libsvn_ra libsvn_fs libsvn_delta libsvn_subr
215 -       $(SVN_APR_LIBS) libexpat
216 +       $(SVN_APR_LIBS) -lexpat
217  # disabled for now, BROKEN.
218  testing = skip
219  
220 @@ -343,7 +335,7 @@
221  path = subversion/tests/libsvn_subr
222  sources = target-test.c
223  install = test
224 -libs = libsvn_subr $(SVN_APR_LIBS) libexpat
225 +libs = libsvn_subr $(SVN_APR_LIBS) -lexpat
226  # target-test.sh will run this for us
227  testing = skip
228  
229 @@ -353,7 +345,7 @@
230  path = subversion/tests/libsvn_delta
231  sources = xml-output-test.c
232  install = test
233 -libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
234 +libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
235  # this is really redundant with our XML svn-test*.sh tests.
236  testing = skip
237  
238 @@ -363,7 +355,7 @@
239  path = subversion/tests/libsvn_wc
240  sources = checkout-test.c
241  install = test
242 -libs = libsvn_wc libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
243 +libs = libsvn_wc libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
244  # this is really redundant with our XML svn-test*.sh tests.
245  testing = skip
246  
247 @@ -375,7 +367,7 @@
248  path = subversion/tests/libsvn_delta
249  sources = deltaparse-test.c
250  install = test
251 -libs = libsvn_test libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
252 +libs = libsvn_test libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
253  testing = skip
254  
255  
256 @@ -388,7 +380,7 @@
257  path = subversion/tests/libsvn_delta
258  sources = svndiff-test.c
259  install = test
260 -libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
261 +libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
262  testing = skip
263  
264  # compare two files, print txdelta windows
265 @@ -397,7 +389,7 @@
266  path = subversion/tests/libsvn_delta
267  sources = vdelta-test.c
268  install = test
269 -libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS) libexpat
270 +libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS) -lexpat
271  testing = skip
272  
273  
This page took 0.085162 seconds and 3 git commands to generate.