Index: head/sysutils/burp/Makefile =================================================================== --- head/sysutils/burp/Makefile (revision 476180) +++ head/sysutils/burp/Makefile (revision 476181) @@ -1,55 +1,49 @@ # Created by: Loic Pefferkorn # $FreeBSD$ PORTNAME= burp PORTVERSION= 1.4.40 PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= ports@FreeBSD.org COMMENT= Network backup and restore program LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash LIB_DEPENDS= librsync.so:net/librsync2 OPTIONS_DEFINE= IPV6 USE_GITHUB= yes GH_ACCOUNT= grke USE_RC_SUBR= burp GNU_CONFIGURE= yes USES= compiler:c++11-lib gmake localbase ncurses ssl PORTSCOUT= limit:^1\.4\. CONFIGURE_ARGS= --sbindir="${PREFIX}/sbin" \ --sysconfdir=${ETCDIR} \ IPV6_CONFIGURE_ENABLE= ipv6 CONFIG_FILES= configs/server/burp.conf \ configs/client/burp.conf \ configs/certs/CA/CA.cnf post-patch: .for f in ${CONFIG_FILES} @${REINPLACE_CMD} -e 's,/etc/burp,${PREFIX}/etc/burp,g' ${WRKSRC}/${f} @${REINPLACE_CMD} -e 's,/usr/sbin,${PREFIX}/sbin,g' ${WRKSRC}/${f} .endfor post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/bedup @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/vss_strip @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/burp -.include - -.if ${OSVERSION} >= 1200039 && ${CC:T} == "clang" -BROKEN= fails to compile due to clang 4.0 regression: util/bdthreads.cc:132:10: ordered comparison between pointer and zero -.endif - -.include +.include Index: head/sysutils/burp/files/patch-src_server.c =================================================================== --- head/sysutils/burp/files/patch-src_server.c (nonexistent) +++ head/sysutils/burp/files/patch-src_server.c (revision 476181) @@ -0,0 +1,15 @@ +server.c:546:25: error: ordered comparison between pointer and zero ('struct strlist **' and 'int') + if(!ret && cconf->keep>0) + ~~~~~~~~~~~^~ + +--- src/server.c.orig 2018-08-01 13:34:56 UTC ++++ src/server.c +@@ -543,7 +543,7 @@ static int do_backup_server(const char *basedir, const + working, current, currentdata, + finishing, cconf, client, + p1cntr, cntr); +- if(!ret && cconf->keep>0) ++ if(!ret && cconf->keep != NULL) + ret=remove_old_backups(basedir, cconf, client); + } + Property changes on: head/sysutils/burp/files/patch-src_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