FreeBSD Bugzilla – Attachment 189061 Details for
Bug 216638
sysutils/burp: fails to build with clang 4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn-diff-burp_v2
svn-diff-burp (text/plain), 3.54 KB, created by
Walter Schwarzenfeld
on 2017-12-23 18:37:53 UTC
(
hide
)
Description:
svn-diff-burp_v2
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2017-12-23 18:37:53 UTC
Size:
3.54 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 456966) >+++ Makefile (working copy) >@@ -22,7 +22,7 @@ > > USE_RC_SUBR= burp > GNU_CONFIGURE= yes >-USES= gmake localbase ncurses ssl >+USES= compiler:c++11-lib gmake localbase ncurses ssl > > PORTSCOUT= limit:^1\.4\. > >Index: files/patch-server.c >=================================================================== >--- files/patch-server.c (nonexistent) >+++ files/patch-server.c (working copy) >@@ -0,0 +1,11 @@ >+--- src/server.c.orig 2017-12-22 02:35:59 UTC >++++ src/server.c >+@@ -543,7 +543,7 @@ static int do_backup_server(const char * >+ working, current, currentdata, >+ finishing, cconf, client, >+ p1cntr, cntr); >+- if(!ret && cconf->keep>0) >++ if(!ret && cconf->keep>(void*)0) >+ ret=remove_old_backups(basedir, cconf, client); >+ } >+ > >Property changes on: files/patch-server.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-vss__strip.c >=================================================================== >--- files/patch-vss__strip.c (nonexistent) >+++ files/patch-vss__strip.c (working copy) >@@ -0,0 +1,10 @@ >+--- src/vss_strip.c.orig 2017-12-22 03:54:14 UTC >++++ src/vss_strip.c >+@@ -155,6 +155,7 @@ static const char *get_progname(const ch >+ { >+ if((prog=strrchr(arg, '/'))) prog++; >+ else prog=arg; >++ return (prog); >+ } >+ >+ int main(int argc, char *argv[]) > >Property changes on: files/patch-vss__strip.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-xattr.c >=================================================================== >--- files/patch-xattr.c (nonexistent) >+++ files/patch-xattr.c (working copy) >@@ -0,0 +1,29 @@ >+--- src/xattr.c.orig 2017-12-22 03:33:03 UTC >++++ src/xattr.c >+@@ -301,7 +301,7 @@ int get_xattr(const char *path, struct s >+ char *toappend=NULL; >+ char ctuple[BSD_BUF_SIZE]=""; >+ char cattrname[BSD_BUF_SIZE]=""; >+- if((len=extattr_list_link(path, namespaces[i], NULL, 0))<0) >++ if(len=extattr_list_link(path, namespaces[i], NULL, 0) >+ { >+ logw(cntr, "could not extattr_list_link of '%s': %d\n", >+ path, len); >+@@ -376,7 +376,7 @@ int get_xattr(const char *path, struct s >+ //printf("\ngot: %s (%s)\n", ctuple, path); >+ >+ if((vlen=extattr_list_link(path, namespaces[i], >+- xattrlist, len))<0) >++ xattrlist, len))<=-1) >+ { >+ logw(cntr, "could not extattr_list_link on %s for %s: %d\n", path, namespaces[i], vlen); >+ continue; >+@@ -391,7 +391,7 @@ int get_xattr(const char *path, struct s >+ return -1; >+ } >+ if((vlen=extattr_get_link(path, namespaces[i], >+- cattrname, val, vlen))<0) >++ cattrname, val, vlen))<=-1) >+ { >+ logw(cntr, "could not extattr_list_link %s for %s: %d\n", path, namespaces[i], vlen); >+ free(val); > >Property changes on: files/patch-xattr.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 216638
:
189027
|
189044
|
189061
|
189067