From owner-freebsd-ports@freebsd.org Thu Oct 27 10:17:23 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DB97C232C9 for ; Thu, 27 Oct 2016 10:17:23 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B927B32B for ; Thu, 27 Oct 2016 10:17:22 +0000 (UTC) (envelope-from garga.bsd@gmail.com) Received: by mail-qk0-x234.google.com with SMTP id z190so37178543qkc.2 for ; Thu, 27 Oct 2016 03:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=qXX5ggGSZOUTvhpuWwSBMPnuaQzNTUMnYhdNXJdcpVM=; b=ypdOPqPkpegqxjKJJn3Q8zi14O7IcucE97+s8rOATJyrxeX5A2s78KUNWuGrtg0rb1 /xmufSaB8udsaqxiDJOegoZpwr4nn8aEcXuSFfLTDhSnrQXk7Eo3ls5SeKaMDXvRgc1k psMFOAdrQwkeEBsNfWwJSmGM1mCiNOwTl03Uzf0Ztmox2mh2tZb5BdZR2+csoFXHmPSC M/nEbDD8vrMB06Jib73GnKlaJdSq1ujO4ZJ+NNsWuw+j3T01pfPhpo2Tc1IuOG6TbzSR TxstSbPwcJMl6r111L4aU5MlY3pFCS+2KyZlYf3dXXSw2j2vtGlnaYD0QYVLU0Zfncy3 r0XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=qXX5ggGSZOUTvhpuWwSBMPnuaQzNTUMnYhdNXJdcpVM=; b=Upi7YfYF3sNXpNQwabcp75X79OXJ5cflj6TkIiUJ3brJkh+lmxQhp2IqNgB65oOgFj OQSyg5wFMlCUDYoA0yS13v8lsll4/aQOhp3VNbZ1QpTtKB2NJ3FKf+/ljkCfGltZIEBU +lfFho/bKjRyMqRXeGMJ4lTMcCK9efw3lLJl0kNc2cG3RXYxwxOHWaaSTw/k3fnBrMw2 2/+kx9G+9KfABdFGJUQQprs40rmfWC3KZG+C6kvvMvxyR9fpeAjyXXPUin5pL6xktggU YJrhyZmINRVCYfaLt99mw1kU7T7vZ9aIE18XQ37ruR1spAp5ssvt2iireSO4KWoD6UhE Manw== X-Gm-Message-State: ABUngve7Q6mGE9uxNx5i5smFaOwD+kpVs3d3L4M4qCMHF90OVEnAOsypwWkLocP4FgZy5g== X-Received: by 10.55.140.199 with SMTP id o190mr5201791qkd.299.1477563441956; Thu, 27 Oct 2016 03:17:21 -0700 (PDT) Received: from mbp-eth.home ([200.236.232.140]) by smtp.gmail.com with ESMTPSA id i7sm253745qtc.8.2016.10.27.03.17.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Oct 2016 03:17:21 -0700 (PDT) Sender: Renato Botelho From: Renato Botelho Message-Id: <62FE737B-001E-4DA7-95E7-1875CA70A8C6@FreeBSD.org> Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: make makepatch Date: Thu, 27 Oct 2016 08:17:17 -0200 In-Reply-To: <20161027062029.GG51420@home.opsec.eu> Cc: Jochen Neumeister , "freebsd-ports@freebsd.org" To: Kurt Jaeger References: <730bd5a8-d6c2-7e8f-5240-b7d4b6209884@bsdproject.de> <20161027062029.GG51420@home.opsec.eu> X-Mailer: Apple Mail (2.3251) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2016 10:17:23 -0000 > On 27 Oct 2016, at 04:20, Kurt Jaeger wrote: >=20 > Hi! >=20 >> # portlint >> WARN: /usr/home/joneum/dev/ports/net/wpa_gui/files/patch-wpa_ctrl.c: >> patch was not generated using ``make makepatch''. It is recommended = to >> use ``make makepatch'' when you need to [re-]generate a patch to = ensure >> proper patch format. >> 0 fatal errors and 1 warning found. >>=20 >> okay, i use "make makepatch", and copy the files from >> "work/.makepatch-tmp/archived-patches" to the "/files" folder, and = start >> portlint. But, the same. >>=20 >> what am i doing wrong? >=20 > make makepatch places the corrected files into files/ and > the prevision version to work/.makepatch-tmp/archived-patches. >=20 > So, I'd suggest: >=20 > make patch > make makepatch > mv work work.old > portlint -AC >=20 > and if portlint is silent, and all the necessary patches are in = files/, > you're done. I only suggest to replace =E2=80=98make patch=E2=80=99 by: # make extract do-patch There are several ports that changes files using REINPLACE_CMD in = post-patch: target, this way you will not run post-patch: and will not = risky to end up converting REINPLACE_CMD into static patches. -- Renato Botelho