| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: patch | Distribution: openSUSE Tumbleweed |
| Version: 2.8 | Vendor: openSUSE |
| Release: 1.1 | Build date: Sat Apr 12 21:05:33 2025 |
| Group: Productivity/Text/Utilities | Build host: reproducible |
| Size: 265981 | Source RPM: patch-2.8-1.1.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://ftp.gnu.org/gnu/patch/ | |
| Summary: GNU patch | |
The GNU patch program is used to apply diffs between original and changed files (generated by the diff command) to the original files.
GPL-3.0-or-later
* Sat Apr 12 2025 Andreas Stieger <andreas.stieger@gmx.de>
- update to 2.8:
* The --follow-symlinks option now applies to output files as
well as input
* 'patch' now supports file timestamps after 2038 even on
traditional GNU/Linux platforms where time_t defaults to 32
bits.
* 'patch' no longer creates files with names containing
newlines, as encouraged by POSIX.1-2024.
* Patches can no longer contain NUL ('\0') bytes in diff
directive lines. These bytes would otherwise cause
unpredictable behavior.
* Patches can now contain sequences of spaces and tabs around
line numbers and in other places where POSIX requires support
for these sequences.
* --enable-gcc-warnings no longer uses expensive static checking.
Use --enable-gcc-warnings=expensive if you still want it.
* Fix undefined or ill-defined behavior in unusual cases, such as
very large sizes, possible stack overflow, I/O errors, memory
exhaustion, races with other processes, and signals arriving at
inopportune moments.
* Remove old "Plan B" code, designed for machines with 16-bit
pointers
* Assume C99 or later; previously it assumed C89 or later.
* Port to current GCC, Autoconf, Gnulib, etc.
- drop patches included pstream or obsolete:
* abort-when-cleaning-up-fails.patch
* dont-follow-symlinks-unless-asked.patch
* ed-style-01-missing-input-files.patch
* ed-style-02-fix-arbitrary-command-execution.patch
* ed-style-03-update-test-Makefile.patch
* ed-style-04-invoke-ed-directly.patch
* ed-style-05-minor-cleanups.patch
* ed-style-06-fix-test-failure.patch
* ed-style-07-dont-leak-tmp-file.patch
* ed-style-08-dont-leak-tmp-file-multi.patch
* fix-segfault-mangled-rename.patch
* fix-swapping-fake-lines-in-pch_swap.patch
* pass-the-correct-stat-to-backup-files.patch
* Tue Jul 30 2024 Wolfgang Frisch <wolfgang.frisch@suse.com>
- CVE-2019-20633.patch: Fix double-free/OOB read in pch.c (bsc#1167721)
* Thu Feb 29 2024 Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
* Tue May 24 2022 Stephan Kulow <coolo@suse.com>
- Do not link unversioned file by URL
- Replace group keyring not intended for release checking with
(expired since 2018) public key of Andreas
* Tue May 10 2022 Jean Delvare <jdelvare@suse.de>
- fix-swapping-fake-lines-in-pch_swap.patch: Fix swapping fake
lines in pch_swap. This bug was causing a double free leading to
a crash (boo#1080985 CVE-2018-6952).
- abort-when-cleaning-up-fails.patch: Abort when cleaning up fails.
This bug could cause an infinite loop when a patch wouldn't
apply, leading to a segmentation fault (boo#1111572).
- dont-follow-symlinks-unless-asked.patch: Don't follow symlinks
unless --follow-symlinks is given. This increases the security
against malicious patches (boo#1142041 CVE-2019-13636).
- pass-the-correct-stat-to-backup-files.patch: Pass the correct
stat to backup files. This bug would occasionally cause backup
files to be missing when all hunks failed to apply (boo#1198106).
* Wed Sep 29 2021 Dominique Leuenberger <dimstar@opensuse.org>
- Do not query %{verbose} to add V=1 or not: verbose changed
semantics between rpm versions and there is currently no variant
supporting rpm < 4.17 and rpm >= 4.17.
* Wed May 09 2018 jdelvare@suse.de
- ed-style-07-dont-leak-tmp-file.patch,
ed-style-08-dont-leak-tmp-file-multi.patch: Fix temporary file
leak when applying ed-style patches (bsc#1092500,
savannah#53820).
* Wed Apr 18 2018 jdelvare@suse.de
- Add ed as BuildRequires so ed-style patches can be checked by
the test suite.
* Wed Apr 18 2018 jdelvare@suse.de
Fix CVE-2018-1000156 (bsc#1088420, savannah#53566).
- ed-style-01-missing-input-files.patch: Allow input files to be
missing for ed-style patches.
- ed-style-02-fix-arbitrary-command-execution.patch,
ed-style-03-update-test-Makefile.patch: Fix arbitrary command
execution in ed-style patches.
- ed-style-04-invoke-ed-directly.patch: Invoke ed directly instead
of using the shell.
- ed-style-05-minor-cleanups.patch: Minor cleanups in do_ed_script.
- ed-style-06-fix-test-failure.patch: Fix 'ed-style' test failure.
* Thu Mar 22 2018 jdelvare@suse.de
- Move COPYING from %doc to %license.
/usr/bin/patch /usr/share/doc/packages/patch /usr/share/doc/packages/patch/AUTHORS /usr/share/doc/packages/patch/NEWS /usr/share/doc/packages/patch/README /usr/share/licenses/patch /usr/share/licenses/patch/COPYING /usr/share/man/man1/patch.1.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Oct 19 22:42:15 2025