Date: Wed, 21 Nov 2007 22:19:55 +0000 From: Bob <bob@tania.servebbs.org> To: freebsd-questions@freebsd.org Subject: Personalised patches in ports Message-ID: <20071121221955.10f80f09@tania.servebbs.org>
next in thread | raw e-mail | index | archive | help
Hi folks: What is the approved method of applying personalised patches to ports sources? A current example, which was no problem under Linux, is giving me a bit of a hassle under FreeBSD> I use pdftotext extensively to translate pdf files to ascii text. Sometimes, a publicly posted PDF file has it's security option turned on, making pdftotext refuse to translate the file into text. It's a simple hack on the source code to skip security checking, and under Linux I just patch the sources to not check for same. How can I incorporate my patch into the portupgrade system, so that an upgrade of Xpdf will apply my patch? If I download the bzip file, apply the patch, re-bzip the sources, and then try to force an upgrade, the checksum fails (as expected). How does one do thes properly? Bob
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071121221955.10f80f09>