From owner-freebsd-ports@freebsd.org Thu Oct 27 08:33:24 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 B6839C23E2F for ; Thu, 27 Oct 2016 08:33:24 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com [IPv6:2607:f8b0:400c:c05::22a]) (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 7154E2C3 for ; Thu, 27 Oct 2016 08:33:24 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-vk0-x22a.google.com with SMTP id d65so22809631vkg.0 for ; Thu, 27 Oct 2016 01:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HIbeuQj4kBZGmbGnJxPZBFBZCR9lpIEkwnR4rFhs4ec=; b=EnolhnQ21eEiTwxMLbQHAi5KTIEswlC49ge+ys9fig1w9glAsPw8j1W3z+BCVJI4Og QNG668hMQQ/o6J5BF+wHdOZaOWb+Jh6Wi7HmHygua+IkM9Lb4bzoJO57QxAZb9I9y/lb 2tEAEfWvmeY6lFMFBlqougPqotir6DsmpJ+WM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HIbeuQj4kBZGmbGnJxPZBFBZCR9lpIEkwnR4rFhs4ec=; b=coC/OYwJ3MmkHmCvleBWzBIMO1unOZwQ2/DSYogslk8UPRcojY0tcKHGeZMdcX9fxN SKN/ldKHzrKVR0q32WrA/UCr2czLlApiVSH1oRe6H4/lG0Yk3PraW8T8SS35yd7e4Eyz lj6jkJpnpWx4SRC8vLEktV9scDuSphbvWH+nMFSjQkb+mHH+BNfw8CgFMmnn9Amz+8HL JVthNlPSVnpVv3CulPhoEj+o4KO3D6hUAVvBU0NwSjULBl5StUcflPST28Zdiq5ajTY9 DDH9W6stZmngDd4PwIbccvlzLfCiCb7Ia18yt717aRVyLhAFLrELHsrA9cVxB2U8PKh7 HEXw== X-Gm-Message-State: ABUngvd14NUIqKIh/gEod2a+BLkD5GD4Krh81hW0Tf6xjQ7r3RS3XfY1NjYNRx4PFRlx/t9gzllMOopBI3fxbQ== X-Received: by 10.31.84.130 with SMTP id i124mr4406119vkb.66.1477557203152; Thu, 27 Oct 2016 01:33:23 -0700 (PDT) MIME-Version: 1.0 References: <730bd5a8-d6c2-7e8f-5240-b7d4b6209884@bsdproject.de> <6a431a63-7692-a667-5fa2-4de3d55d5189@bsdproject.de> <1FA8BED7-A46D-43B8-AE74-C99229350352@lastsummer.de> <61b51cd8-18d2-8f70-77c7-ed7dd92c4a0c@bsdproject.de> In-Reply-To: From: =?UTF-8?Q?Otac=C3=ADlio_de_Ara=C3=BAjo_Ramos_Neto?= Date: Thu, 27 Oct 2016 08:33:12 +0000 Message-ID: Subject: Re: make makepatch To: Franco Fichtner Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 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 08:33:24 -0000 Em qui, 27 de out de 2016 03:31, Franco Fichtner escreveu: > > > On 27 Oct 2016, at 8:28 AM, Jochen Neumeister > wrote: > > > > Is this now right, that i can only use the new patch in /files? With > > "make clean" i delete the work folder and the old patches. > > If all the previous patches patch a single file, makepatch will generate > the > patch for the file, because it doesn't care about the ptch context, just > the > file. > > If you want, you can deconstruct the new patch file and push the individual > chunks into their old files to silence portlint, but that only works if the > patches do not depend on each other. > > > Cheers, > Franco > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > Here, the procedure that I use to make patches is the follow. If a previously patch to file that need be edited exists in files dir # make patch // do my modificativos #make makepatch If a previously patch to file that need be edited do not exists in files dir # make patch // to extracto and apply patches to others files # cp work/blabla/file wor/blabla/file.orig // do my modificativos # make makepatch So, a New patch is created in files dir In a hope that can help []'s -Otacilio >