From owner-freebsd-questions@freebsd.org Mon Oct 21 20:24:06 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 278B21615E2 for ; Mon, 21 Oct 2019 20:24:06 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-vs1-xe2c.google.com (mail-vs1-xe2c.google.com [IPv6:2607:f8b0:4864:20::e2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xp513NF6z3Lpl for ; Mon, 21 Oct 2019 20:24:05 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-vs1-xe2c.google.com with SMTP id j85so720018vsd.11 for ; Mon, 21 Oct 2019 13:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vxQM4mZEM28e1JuA/vSyn7FJ8OBY1CASXaPouB6RUnM=; b=PsVDSEQTu+HXjH3j4QYmghQZdZQiHAjYYXdp+hoUYC0Fmzs9l58p8SKCPWHo20c+ZT 9bgaTNQuyr/SzYoynZnwn6lhsUKpNyKy7G/hfRFPauQFStqFGBddCyTiZ89AaD1KnPC2 oVIRSIrsH47dCqoDNaoQz1dIxN6P3Dcxb0C58kxNFV4/pZb78xlCqysVQWvtFL+sj64W XHoRpR4bfPnn77knXMRDi1FcH2lI7aBJ8pxp8tuj3n/Y5XO1waJzEKd2TkmT2vu7h1Jl 9JrwzYbf1zreUB1g0covf4YF2ANc9lBLOP8Onz7QPqZk9UNtg4pH5tKUMyfBR3rnBmEe NKAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vxQM4mZEM28e1JuA/vSyn7FJ8OBY1CASXaPouB6RUnM=; b=cLyJAkYveCadl9+g/2LQBGkhTD/wexZ2kFeWJ1BA94WB78iU6WEn+tKKBWYpXAG5uX U3jgWwywZrnhf6F3putAlvBItrmZeuOYFIC8R+xVZnLPcRQ40v6xyHWC82m+JoWnkUgj akhc/B4bRGS0CgMsh2/4nxu/NS8bofAtHyKlYlprbfmnUMmRmXZmvgXylzoscgSJJcnk dvxryuLFh+GIsuTfzApna2HSW/lzSlfNqefO8nubqn0BfKb1r3iOkn5z0krg6QLky57C poQ1rPDLCYVSFE2CZBkI45fwkvDxmx9BVIM/FxfIZ5XYbHKESCeh9fXGjDJ9lrwvc7He LdlQ== X-Gm-Message-State: APjAAAWxiZFqaiRMlFQld8xcOmK+VCETqgz8JJeZRB1YUupVddwBy9/5 +Jw/Xx726/rvLDcUmdxyjeP0N7CfDYRQpfNN1Vku+Fo3zA== X-Google-Smtp-Source: APXvYqycnnO6ZfacaWu3dT/A5J8CAs2uvIIWY4TpJBhuYaRNhrtNX5qImYOnT92GLK79EDeVg/phL2bhlpxd9E2LhPI= X-Received: by 2002:a67:f053:: with SMTP id q19mr11863691vsm.176.1571689443792; Mon, 21 Oct 2019 13:24:03 -0700 (PDT) MIME-Version: 1.0 From: "Clay Daniels Jr." Date: Mon, 21 Oct 2019 15:23:51 -0500 Message-ID: Subject: How to apply a patch to a port To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 46xp513NF6z3Lpl X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PsVDSEQT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::e2c as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-9.71), ipnet: 2607:f8b0::/32(-2.43), asn: 15169(-2.07), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[c.2.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 20:24:06 -0000 I have a patch to apply to a port: patch-linuxkpi_gplv2_src_linux__page.c /usr/ports/graphics/drm-current-kmod I've looked at the Handbook Chap 4.4-Patching. Several times... This is on a fresh base install of this week's snapshot. I have the ports and source installed in the base, but none "made". I go to the drm-current-kmod port directory. There is no files subdirectory, so I make one. I copy the patch to: /usr/ports/graphics/drm-current-kmod/files Then cd to main port directory, run "make makepatch" like it says in the Handbook, which creates a /work subdirectory. Then I run "make install" (no clean yet) which cannot seem to find my patch, and asks for patch: I tried giving it the full path but it still did not find it. I am new to patching (obviously). What am I doing wrong? Clay