From nobody Sun Apr 3 18:15:59 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CF6431A6660D for ; Sun, 3 Apr 2022 18:27:22 +0000 (UTC) (envelope-from SRS0=lF2R=UN=courrier.dev=rollniak@42l.fr) Received: from mail.42l.fr (mail.42l.fr [45.155.171.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KWj7F6dQdz4rZs for ; Sun, 3 Apr 2022 18:27:21 +0000 (UTC) (envelope-from SRS0=lF2R=UN=courrier.dev=rollniak@42l.fr) Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=courrier.dev; s=mail; t=1649010438; bh=l51r8VbqL3/XM2yG1OjrddGN1Y+BMWtB8YK7Zev1a1g=; h=To:Subject:From:In-Reply-To; b=suM+pKQ6FMupeULIeNv6rYoXSPAjNGBf/YjQhUKuX5f0KNkdTFWGWJc7UhrPJeCC5 rgzk4xZ70T/FdxE+LNHaS+Fbzei3PYgrq2hYXSPkoqsIjxO8LY1vApCl0d5eySEFf6 JyezTyL7stVVgixEDlc3+OMF++BtRIuwoVEOhLNkDxbgtTTGu8HJuPVUE1xic/KgHW 0oA1YDblJN8pE6TUxe5NQc0Epku0KHzNC0YF0KGy9sCnu7VbARnuNGDn66iAU1qeWA mXtjCwABd1sSgCBB8olNO8bqwxzJsrfpWrOEAWT/MCBnaALjOBjZWzg1yfYUBivDAO fHecBrRH77zuw== Content-Type: text/plain; charset=UTF-8 To: "Yuri" , Subject: Re: make makepatch do nothing From: "rollniak" Date: Sun, 03 Apr 2022 20:15:59 +0200 Message-Id: In-Reply-To: <19008973-0cb1-65f2-32b9-1907d7b4818f@aetern.org> X-Rspamd-Queue-Id: 4KWj7F6dQdz4rZs X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=courrier.dev header.s=mail header.b=suM+pKQ6; dmarc=pass (policy=quarantine) header.from=courrier.dev; spf=pass (mx1.freebsd.org: domain of "SRS0=lF2R=UN=courrier.dev=rollniak@42l.fr" designates 45.155.171.163 as permitted sender) smtp.mailfrom="SRS0=lF2R=UN=courrier.dev=rollniak@42l.fr" X-Spamd-Result: default: False [-0.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[courrier.dev:s=mail]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MISSING_MIME_VERSION(2.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.27)[0.268]; NEURAL_HAM_LONG(-1.00)[-0.999]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[courrier.dev:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[courrier.dev,quarantine]; MLMMJ_DEST(0.00)[freebsd-ports]; FORGED_SENDER(0.30)[rollniak@courrier.dev,SRS0=lF2R=UN=courrier.dev=rollniak@42l.fr]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:62000, ipnet:45.155.168.0/22, country:FR]; FROM_NEQ_ENVFROM(0.00)[rollniak@courrier.dev,SRS0=lF2R=UN=courrier.dev=rollniak@42l.fr] X-ThisMailContainsUnwantedMimeParts: N List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org On Sun Apr 3, 2022 at 10:25 PM CEST, Yuri wrote: > rollniak wrote: > > Hello, > >=20 > > I'm continuing my work on porting senxmpp-rs on FreeBSD. > >=20 > > I need to create a patch because the path in sendxmpp-rs are hardcoded: > >=20 > > ``` > > There is no markup for emails (at least working in every MUA out there). I will avoid them in the future then. :) > > --- work/sendxmpp-rs-2.0.0/src/main.rs.ori 2022-04-03 18:10:37.84833300= 0 +0200 > > This should end in .orig; check /usr/ports/Mk/Scripts/smart_makepatch.sh > which is what gets called by makepatch target. Oh... I should be more careful with typos, it's the second time I ask for help during this weekend and the issue was some a typo. ^^' sorry... > > +++ work/sendxmpp-rs-2.0.0/src/main.rs 2022-04-03 18:11:24.329068000 +0= 200 > > @@ -37,7 +37,7 @@ > > help: bool, > > =20 > > #[options( > > - help =3D "path to config file. default: ~/.config/sendxmpp.tom= l with fallback to /etc/sendxmpp/sendxmpp.toml" > > + help =3D "path to config file. default: ~/.config/sendxmpp.tom= l with fallback to /usr/local/etc/sendxmpp/sendxmpp.toml" > > )] > > config: Option, > > =20 > > @@ -91,7 +91,7 @@ > > .die("cannot find home directory") > > .join("sendxmpp.toml"), > > ) > > - .or_else(|_| parse_cfg("/etc/sendxmpp/sendxmpp.toml")) > > + .or_else(|_| parse_cfg("/usr/local/etc/sendxmpp/sendxmpp.toml"= )) > > .die("valid config file not found"), > > }; > > ``` > >=20 > > If I execute `make makefile`, nothing has been created in _files/_: > > I guess the target name ("makefile") is simply a typo? > That it another typo when I wrote the email, sorry. ``` make makepatch Generated patch-src_main.rs ``` Thanks for your help and again sorry. rollniak