# devel/patchutils - The NetBSD Packages Collection

Some programs for manipulating patch files

    Patchutils is a small collection of programs that operate on patch files.
    Interdiff generates an incremental patch from two patches against a common
    source. For example, if you have applied a pre-patch to a source tree, and
    wish to apply another pre-patch (which is against the same original source
    tree), you can use interdiff to generate the patch that you need to apply.
    You can also use this to review changes between two pre-patches.
    Combinediff generates a single patch from two incremental patches, allowing
    you to merge patches together. The resulting patch file only alters each file
    once.
    Filterdiff will select the portions of a patch file that apply to files
    matching (or, alternatively, not matching) a shell wildcard.
    Fixcvsdiff is for correcting the output of 'cvs diff'.
    Rediff corrects hand-edited patches, by comparing the original patch with the
    modified one and adjusting the offsets and counts.
    Lsdiff displays a short listing of affected files in a patch file, along with
    (optionally) the line numbers of the start of each patch.
    Splitdiff separates out patches from a patch file so that each new patch file
    only alters any given file once. In this way, a file containing several
    incremental patches can be split into individual incremental patches.
    Grepdiff displays a list of the files modified by a patch where the patch
    contains a given regular expression.
    Recountdiff fixes up counts and offsets in a unified diff.
    Unwrapdiff fixes word-wrapped unified diffs.

- Source version: `patchutils-0.4.5`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://cyberelk.net/tim/software/patchutils/
- License: gnu-gpl-v2
- Package history: cvs, hg, git

## Build dependencies

textproc/xmlto pkgtools/mktools devel/gmake pkgtools/cwrappers

## Runtime dependencies

devel/patch shells/bash lang/perl5 lang/python313 lang/python313

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | patchutils-0.4.5.tgz
NetBSD 10.0 | aarch64 | patchutils-0.4.4.tgz
NetBSD 10.0 | aarch64eb | patchutils-0.4.2nb4.tgz
NetBSD 10.0 | alpha | patchutils-0.4.2nb4.tgz
NetBSD 10.0 | earmv6hf | patchutils-0.4.5.tgz
NetBSD 10.0 | earmv6hf | patchutils-0.4.4.tgz
NetBSD 10.0 | earmv7hf | patchutils-0.4.5.tgz
NetBSD 10.0 | earmv7hf | patchutils-0.4.4.tgz
NetBSD 10.0 | i386 | patchutils-0.4.5.tgz
NetBSD 10.0 | i386 | patchutils-0.4.4.tgz
NetBSD 10.0 | powerpc | patchutils-0.4.2nb4.tgz
NetBSD 10.0 | powerpc | patchutils-0.4.4.tgz
NetBSD 10.0 | powerpc | patchutils-0.4.5.tgz
NetBSD 10.0 | sh3el | patchutils-0.4.2nb4.tgz
NetBSD 10.0 | sparc64 | patchutils-0.4.2nb4.tgz
NetBSD 10.0 | x86_64 | patchutils-0.4.5.tgz
NetBSD 10.0 | x86_64 | patchutils-0.4.4.tgz
NetBSD 11.0 | aarch64 | patchutils-0.4.5.tgz
NetBSD 11.0 | aarch64 | patchutils-0.4.4.tgz
NetBSD 11.0 | aarch64eb | patchutils-0.4.5.tgz
NetBSD 11.0 | aarch64eb | patchutils-0.4.5.tgz
NetBSD 11.0 | earmv6hf | patchutils-0.4.5.tgz
NetBSD 11.0 | earmv6hf | patchutils-0.4.4.tgz
NetBSD 11.0 | earmv7hf | patchutils-0.4.4.tgz
NetBSD 11.0 | earmv7hf | patchutils-0.4.5.tgz
NetBSD 11.0 | i386 | patchutils-0.4.5.tgz
NetBSD 11.0 | i386 | patchutils-0.4.4.tgz
NetBSD 11.0 | powerpc | patchutils-0.4.5.tgz
NetBSD 11.0 | powerpc | patchutils-0.4.5.tgz
NetBSD 11.0 | riscv64 | patchutils-0.4.4.tgz
NetBSD 11.0 | riscv64 | patchutils-0.4.5.tgz
NetBSD 11.0 | riscv64 | patchutils-0.4.5.tgz
NetBSD 11.0 | x86_64 | patchutils-0.4.5.tgz
NetBSD 11.0 | x86_64 | patchutils-0.4.4.tgz
NetBSD 9.0 | aarch64 | patchutils-0.4.5.tgz
NetBSD 9.0 | aarch64 | patchutils-0.4.4.tgz
NetBSD 9.0 | earmv6hf | patchutils-0.4.5.tgz
NetBSD 9.0 | earmv6hf | patchutils-0.4.4.tgz
NetBSD 9.0 | earmv7hf | patchutils-0.4.5.tgz
NetBSD 9.0 | earmv7hf | patchutils-0.4.4.tgz
NetBSD 9.0 | i386 | patchutils-0.4.5.tgz
NetBSD 9.0 | i386 | patchutils-0.4.5.tgz
NetBSD 9.0 | powerpc | patchutils-0.4.2nb4.tgz
NetBSD 9.0 | x86_64 | patchutils-0.4.5.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.