FreeBSD Bugzilla – Attachment 77239 Details for
Bug 111264
[PATCH] devel/bazaar: fix compile after neon 0.26 import
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bazaar-1.4.2_4.patch
bazaar-1.4.2_4.patch (text/plain), 3.33 KB, created by
Radim Kolar
on 2007-04-05 11:00:10 UTC
(
hide
)
Description:
bazaar-1.4.2_4.patch
Filename:
MIME Type:
Creator:
Radim Kolar
Created:
2007-04-05 11:00:10 UTC
Size:
3.33 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/devel/bazaar/Makefile /home/hsn/hacked/bazaar/Makefile >--- /usr/ports/devel/bazaar/Makefile Fri Mar 16 11:03:09 2007 >+++ /home/hsn/hacked/bazaar/Makefile Mon Apr 2 17:52:40 2007 >@@ -28,8 +28,6 @@ > USE_PERL5_BUILD=yes > GNU_CONFIGURE= yes > >-BROKEN= does not build with www/neon 0.26.x >- > MAN1= baz.1 > > MAJORVERSION= 1.4 >diff -ruN --exclude=CVS /usr/ports/devel/bazaar/files/patch-pfs-sftp.c /home/hsn/hacked/bazaar/files/patch-pfs-sftp.c >--- /usr/ports/devel/bazaar/files/patch-pfs-sftp.c Thu Jan 1 01:00:00 1970 >+++ /home/hsn/hacked/bazaar/files/patch-pfs-sftp.c Thu Apr 5 09:20:04 2007 >@@ -0,0 +1,11 @@ >+--- src/baz/libarch/pfs-sftp.c.orig Mon Jun 20 23:59:37 2005 >++++ src/baz/libarch/pfs-sftp.c Thu Apr 5 09:16:19 2007 >+@@ -1496,7 +1496,7 @@ >+ */ >+ arch_uri_heuristics (&parsed_uri); >+ >+- *user = str_save (0, parsed_uri.authinfo); >++ *user = str_save (0, parsed_uri.userinfo); >+ *hostname = str_save (0, parsed_uri.host); >+ if (parsed_uri.port) >+ { >diff -ruN --exclude=CVS /usr/ports/devel/bazaar/files/patch-pfs.c /home/hsn/hacked/bazaar/files/patch-pfs.c >--- /usr/ports/devel/bazaar/files/patch-pfs.c Thu Oct 19 15:30:51 2006 >+++ /home/hsn/hacked/bazaar/files/patch-pfs.c Thu Apr 5 09:32:23 2007 >@@ -1,7 +1,17 @@ >-diff -uN -r src/baz/libarch/pfs.c src/baz/libarch/pfs.c >---- src/baz/libarch/pfs.c 2005-06-20 23:59:37.000000000 +0200 >-+++ src/baz/libarch/pfs.c 2006-01-14 17:12:24.000000000 +0100 >-@@ -520,6 +520,66 @@ >+--- src/baz/libarch/pfs.c.orig Mon Jun 20 23:59:37 2005 >++++ src/baz/libarch/pfs.c Thu Apr 5 09:23:25 2007 >+@@ -513,13 +513,73 @@ >+ char *at_pos = str_chr_index (parsed_uri->host, '@'); >+ if (!at_pos) >+ return; >+- parsed_uri->authinfo = str_replace (parsed_uri->authinfo, >+- str_alloc_cat (0, parsed_uri->authinfo, "@")); >+- parsed_uri->authinfo = str_replace (parsed_uri->authinfo, >+- str_alloc_cat_n (0, parsed_uri->authinfo, parsed_uri->host, at_pos - parsed_uri->host)); >++ parsed_uri->userinfo = str_replace (parsed_uri->userinfo, >++ str_alloc_cat (0, parsed_uri->userinfo, "@")); >++ parsed_uri->userinfo = str_replace (parsed_uri->userinfo, >++ str_alloc_cat_n (0, parsed_uri->userinfo, parsed_uri->host, at_pos - parsed_uri->host)); > parsed_uri->host = str_replace (parsed_uri->host, str_save (0, at_pos + 1)); > } > >diff -ruN --exclude=CVS /usr/ports/devel/bazaar/files/patch-unit-sftp.c /home/hsn/hacked/bazaar/files/patch-unit-sftp.c >--- /usr/ports/devel/bazaar/files/patch-unit-sftp.c Thu Jan 1 01:00:00 1970 >+++ /home/hsn/hacked/bazaar/files/patch-unit-sftp.c Thu Apr 5 10:02:29 2007 >@@ -0,0 +1,20 @@ >+--- src/baz/libarch/tests/unit-sftp.c.orig Mon Jun 20 23:59:37 2005 >++++ src/baz/libarch/tests/unit-sftp.c Thu Apr 5 09:58:45 2007 >+@@ -35,7 +35,7 @@ >+ char *host; >+ unsigned int port; >+ char *path; >+- char *authinfo; >++ char *userinfo; >+ } ne_uri; >+ */ >+ invariant_int_cmp (ne_uri_parse ("sftp://user@email.com@host.phwoar/root/path", &parsed_uri), 0); >+@@ -44,7 +44,7 @@ >+ invariant_str_cmp (parsed_uri.host, "email.com@host.phwoar"); >+ arch_uri_heuristics (&parsed_uri); >+ invariant_str_cmp (parsed_uri.host, "host.phwoar"); >+- invariant_str_cmp (parsed_uri.authinfo, "user@email.com"); >++ invariant_str_cmp (parsed_uri.userinfo, "user@email.com"); >+ invariant_int_cmp (parsed_uri.port, 0); >+ ne_uri_free(&parsed_uri); >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111264
: 77239