Index: head/graphics/svgbob/files/patch-src_main.rs =================================================================== --- head/graphics/svgbob/files/patch-src_main.rs (revision 508906) +++ head/graphics/svgbob/files/patch-src_main.rs (nonexistent) @@ -1,41 +0,0 @@ -error: the item `exit` is imported redundantly - --> src/main.rs:86:25 - | -16 | use std::process::exit; - | ------------------ the item `exit` is already imported here -... -86 | use std::process::exit; - | ^^^^^^^^^^^^^^^^^^ - | - ---- src/main.rs.orig 2019-04-12 08:16:01 UTC -+++ src/main.rs -@@ -1,4 +1,3 @@ --#![deny(warnings)] - #[macro_use] - extern crate clap; - -@@ -83,7 +82,6 @@ fn main() { - } - Err(e) => { - use std::io::Write; -- use std::process::exit; - - writeln!( - &mut std::io::stderr(), -@@ -124,7 +122,6 @@ fn main() { - if let Some(file) = args.value_of("output") { - if let Err(e) = svg::save(file, &svg) { - use std::io::Write; -- use std::process::exit; - - writeln!( - &mut std::io::stderr(), -@@ -148,7 +145,6 @@ where - Ok(a) => Some(a), - Err(e) => { - use std::io::Write; -- use std::process::exit; - - writeln!( - &mut std::io::stderr(), Property changes on: head/graphics/svgbob/files/patch-src_main.rs ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/graphics/svgbob/Makefile =================================================================== --- head/graphics/svgbob/Makefile (revision 508906) +++ head/graphics/svgbob/Makefile (revision 508907) @@ -1,63 +1,66 @@ # $FreeBSD$ PORTNAME= svgbob DISTVERSION= g20190412 CATEGORIES= graphics MAINTAINER= tobik@FreeBSD.org COMMENT= Convert ASCII diagrams to SVG LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC:H}/LICENSE USES= cargo USE_GITHUB= yes GH_ACCOUNT= ivanceras GH_TAGNAME= c3e84c87094550d8cdc6fc48b40a00712b2951cb CARGO_CRATES= ansi_term-0.11.0 \ atty-0.2.11 \ bitflags-1.0.4 \ cfg-if-0.1.5 \ clap-2.32.0 \ handlebars-0.21.1 \ libc-0.2.60 \ log-0.3.9 \ log-0.4.5 \ pest-0.3.3 \ pom-1.1.0 \ quick-error-1.2.2 \ redox_syscall-0.1.40 \ redox_termios-0.1.1 \ rustc-serialize-0.3.24 \ strsim-0.7.0 \ svg-0.5.11 \ svgbob-0.4.1 \ termion-1.5.1 \ textwrap-0.10.0 \ unicode-width-0.1.5 \ vec_map-0.8.1 \ winapi-0.3.6 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 +# ignore #![deny(warnings)] +RUSTFLAGS+= --cap-lints warn + WRKSRC_SUBDIR= svgbob_cli PLIST_FILES= bin/svgbob PORTDOCS= README.md spec.md PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/svgbob post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC:H} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include