ports/61352: upgrade devel/subversion to 0.36.0, with perl binding

plasma plasma at freebsd.sinica.edu.tw
Fri Jan 16 06:45:06 UTC 2004


Please add this patch as well:

Index: files/patch-libsvn_ra_dav-session.c
===================================================================
--- files/patch-libsvn_ra_dav-session.c (revision 0)
+++ files/patch-libsvn_ra_dav-session.c (revision 1369)
@@ -0,0 +1,14 @@
+--- subversion/libsvn_ra_dav/session.c    (revision 8298)
++++ subversion/libsvn_ra_dav/session.c    (revision 8299)
+@@ -778,7 +778,10 @@
+       if (len <= relative_len)
+         return svn_error_create(APR_EGENERAL, NULL,
+                                 "Impossibly long relative url.");
+-      len = len - relative_len - 1;
++
++      /* Don't strip off the extra '/' unless there is a relative path */
++      if (relative_len)
++        len = len - relative_len - 1;
+       ras->repos_root = apr_pstrmemdup(ras->pool, ras->url, len);
+     }
+



More information about the freebsd-ports-bugs mailing list