Patch

This is a Stub article. Help the eZ Publish community by expanding it!

Apply a patch

# patch -p0 < some.ez.patch

Apply a gzipped patch

# gzip -dc some.ez.patch.gz | patch -p0

Create a patch

# diff -Naur kernel/common/ezwordtoimageoperator.php kernel/common/ezwordtoimageoperator.php.eziconinextension.patched > kernel/common/ezwordtoimageoperator.php.eziconinextension.patch

Create a gzipped patch

# diff -Naur kernel/common/ezwordtoimageoperator.php kernel/common/ezwordtoimageoperator.php.eziconinextension.patched.3.9.0 | gzip > extension/ezkernelpatchppack/3.9/patches/ezwordtoimageoperator.php.eziconinextension.patch.3.9.0.gz

Create a gzipped patch, two commands

# diff -Naur kernel/common/ezwordtoimageoperator.php kernel/common/ezwordtoimageoperator.php.eziconinextension.patched > kernel/common/ezwordtoimageoperator.php.eziconinextension.patch; gzip kernel/common/ezwordtoimageoperator.php.eziconinextension.patch

References