X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id EF756DC156A for ; Mon, 1 Feb 2016 09:19:31 +0000 (UTC) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 81F2DDC0540 for ; Mon, 1 Feb 2016 09:19:31 +0000 (UTC) Received: by mail-lf0-f49.google.com with SMTP id 78so43173860lfy.3 for ; Mon, 01 Feb 2016 01:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=/+T814X5KKGg83KrZ43Njr9HfK6pIJlAg022/WiKzWI=; b=ah37RBXELenBeM+b42Qv/+W5QOtCgeNQx8x42NG7uI0FkKcWYnyTloeHVhGh33tMGC XuDNAjJFd0yXtRara81ED8O4+rzIGrs6UP2MO6c6f/lrJsjYd6b+oVzfI95uCFpYasOh y/ijidzrmrBBf0YjiMrBQkeay66ihvQmmFgeIT3WqH0Zxdzvg6FUW+XNvgBdK2ZbsB/a eGguOJOwCTgxDpbDrhP1R5RR7EZdDCmY8gm37NgeNXjKuyKH5rcauDkuH3xsliANIast ivQQpt7ZAP///ewue+hFI1H7FRz2aspefvfMrgSl/LtY/ElXbHbmjJhNbdfW00tMfqMw NaWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; bh=/+T814X5KKGg83KrZ43Njr9HfK6pIJlAg022/WiKzWI=; b=QabjuBkdbO1tJXl1M+87i6nXK5JQphuKsB/jiy+5oAfrL74oO8WOzXiwpYk7a/4Ak2 IAp9nQ9Yzu15cQKQj21aliX6M+iplRZsI8ha7guRNm63bLAP8GRXh8dMj3Sc7eumr3q7 iub0YuklBUg/SL+7Vr5RdIM9QnwxSrX3hXfCwfQcPS+DbDrJOoYahozlIaCIHDKapx6r ho5FJyRt1RNZ3u565ajipVM7awpuSW5y9IFUonS2y/bs16qgaTBqOI7i8Vv6DMnektcm VRyudN6UlrknhS1RmZW6Dm/Vf7Rk1LGrB2lTgDiIIa8N1ElyjS55JSPUo/4lV/6l4cwA ImLg== X-Gm-Message-State: AG10YOSr0h4b60BsqpO5DIDjmAZMP5vXZS7/G+Qs/3310sue1XhCt4jAStasmMlnHoHL4A== X-Received: by 10.25.65.5 with SMTP id o5mr6841611lfa.38.1454318369036; Mon, 01 Feb 2016 01:19:29 -0800 (PST) Received: from vostro ([2001:1bc8:101:f402:21a:9fff:fe0c:4022]) by smtp.gmail.com with ESMTPSA id l129sm3836886lfl.37.2016.02.01.01.19.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Feb 2016 01:19:28 -0800 (PST) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Mon, 1 Feb 2016 11:19:25 +0200 From: Timo Teras To: Natanael Copa Cc: Isaac Dunham , alpine-aports@lists.alpinelinux.org, soeren@soeren-tempel.net Subject: Re: [alpine-aports] Please *don't* drop prepare! Message-ID: <20160201111925.035fedb8@vostro> In-Reply-To: <20160201092107.4bb58861@ncopa-desktop.alpinelinux.org> References: <20160201020958.GA4726@newbook> <20160201092107.4bb58861@ncopa-desktop.alpinelinux.org> X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 1 Feb 2016 09:21:07 +0100 Natanael Copa wrote: > On Sun, 31 Jan 2016 18:09:59 -0800 > Isaac Dunham wrote: > > > Anyhow... > > Is there a reason that this couldn't be moved to abuild? > > Not really. I think the basic patching could be a dedicated block that goes to default_prepare or so. > > I know that bash uses -p0 patches, which wouldn't work with this. > > But other than that, it seems to be a universal constant. > > I think gentoo tries various -pN variants before error. We could do > something like: > > patch -p1 -i .... || patch -p0 -i ... Please don't do that. It breaks horribly if the patch is only adding new files. I had major failures due to this kind of hackery early in gentoo times. I think we should just require -p1 or force user override the default step. Thanks, Timo --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---