Date: Tue, 22 Oct 2019 03:34:30 -0500 From: Clay Daniels <clay.daniels.jr@gmail.com> To: Polytropon <freebsd@edvax.de> Cc: Yasuhiro KIMURA <yasu@utahime.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: How to apply a patch to a port Message-ID: <36744639-3853-4037-6caa-b0ac49c709ae@gmail.com> In-Reply-To: <20191022074118.0a08c0ad.freebsd@edvax.de> References: <CAGLDxTW8VCjfKGAEp9b1gn_==XsxRjSizvRbiw%2BTkzRgt49hDA@mail.gmail.com> <20191022.053926.1076439053946694541.yasu@utahime.org> <9ac08912-0415-0830-9381-6df157fe6ab1@gmail.com> <20191022.090814.157299176887147047.yasu@utahime.org> <CAGLDxTWYYCwmO67EVioriNO_QZB5U8zXQwM-mCzOPgapPk6opQ@mail.gmail.com> <20191022074118.0a08c0ad.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Yasuhiro & Polytropon for your help. I was able to apply the patch. This is what I did, once again doing a fresh install first: Read "man patch"! Good stuff! Copied the patch file from a thumbdrive to /root/files. The file looked ok when I used cat to read it. Went to main port directory, ran "make patch" Went to the created /work/work/kms-drm-2d2852e directory, ran patch: "patch -p0 -i /root/files/patch-linuxkpi_gplv2_src_linux__page.c" (no -s - no need to be silent) Patch dialog asked for the patch file, I entered " linux_page.c" Patch dialog said file not found (as I expected) & asked "Skip [n] ?" , I hit return for default no. Went back up two levels to main port directory, ran "make makepatch" Then ran " make install" , "make clean" The exit message said the package was installed, so I rebooted. The patch did not work as advertised, but I know it was installed as the behavior was different than an install without the patch. The best thing is that I now have a pretty good idea of how to do this, and a better understanding of what I am doing. I will just wait until Friday for the next weekly snapshot of 13.0 Current. Maybe I will try 12.1-RC2 in the meantime. Thanks again, Clay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36744639-3853-4037-6caa-b0ac49c709ae>