Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package patch for openSUSE:Factory checked 
in at 2025-04-16 20:38:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/patch (Old)
 and      /work/SRC/openSUSE:Factory/.patch.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "patch"

Wed Apr 16 20:38:13 2025 rev:49 rq:1269225 version:2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/patch/patch.changes      2024-08-02 
17:25:27.740665309 +0200
+++ /work/SRC/openSUSE:Factory/.patch.new.30101/patch.changes   2025-04-20 
20:05:56.848031668 +0200
@@ -1,0 +2,42 @@
+Sat Apr 12 19:05:33 UTC 2025 - Andreas Stieger <andreas.stie...@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
+
+-------------------------------------------------------------------

Old:
----
  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
  patch-2.7.6.tar.xz
  patch-2.7.6.tar.xz.sig

New:
----
  patch-2.8.tar.xz
  patch-2.8.tar.xz.sig

BETA DEBUG BEGIN:
  Old:- drop patches included pstream or obsolete:
  * abort-when-cleaning-up-fails.patch
  * dont-follow-symlinks-unless-asked.patch
  Old:  * abort-when-cleaning-up-fails.patch
  * dont-follow-symlinks-unless-asked.patch
  * ed-style-01-missing-input-files.patch
  Old:  * dont-follow-symlinks-unless-asked.patch
  * ed-style-01-missing-input-files.patch
  * ed-style-02-fix-arbitrary-command-execution.patch
  Old:  * ed-style-01-missing-input-files.patch
  * ed-style-02-fix-arbitrary-command-execution.patch
  * ed-style-03-update-test-Makefile.patch
  Old:  * ed-style-02-fix-arbitrary-command-execution.patch
  * ed-style-03-update-test-Makefile.patch
  * ed-style-04-invoke-ed-directly.patch
  Old:  * ed-style-03-update-test-Makefile.patch
  * ed-style-04-invoke-ed-directly.patch
  * ed-style-05-minor-cleanups.patch
  Old:  * ed-style-04-invoke-ed-directly.patch
  * ed-style-05-minor-cleanups.patch
  * ed-style-06-fix-test-failure.patch
  Old:  * ed-style-05-minor-cleanups.patch
  * ed-style-06-fix-test-failure.patch
  * ed-style-07-dont-leak-tmp-file.patch
  Old:  * ed-style-06-fix-test-failure.patch
  * ed-style-07-dont-leak-tmp-file.patch
  * ed-style-08-dont-leak-tmp-file-multi.patch
  Old:  * ed-style-07-dont-leak-tmp-file.patch
  * ed-style-08-dont-leak-tmp-file-multi.patch
  * fix-segfault-mangled-rename.patch
  Old:  * ed-style-08-dont-leak-tmp-file-multi.patch
  * fix-segfault-mangled-rename.patch
  * fix-swapping-fake-lines-in-pch_swap.patch
  Old:  * fix-segfault-mangled-rename.patch
  * fix-swapping-fake-lines-in-pch_swap.patch
  * pass-the-correct-stat-to-backup-files.patch
  Old:  * fix-swapping-fake-lines-in-pch_swap.patch
  * pass-the-correct-stat-to-backup-files.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ patch.spec ++++++
--- /var/tmp/diff_new_pack.vSBZX4/_old  2025-04-20 20:05:59.624147427 +0200
+++ /var/tmp/diff_new_pack.vSBZX4/_new  2025-04-20 20:05:59.636147927 +0200
@@ -2,6 +2,7 @@
 # spec file for package patch
 #
 # Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 Andreas Stieger <andreas.stie...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,37 +18,21 @@
 
 
 Name:           patch
-Version:        2.7.6
+Version:        2.8
 Release:        0
 Summary:        GNU patch
 License:        GPL-3.0-or-later
 Group:          Productivity/Text/Utilities
-URL:            http://ftp.gnu.org/gnu/patch/
-Source:         http://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.xz
-Source2:        http://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.xz.sig
+URL:            https://ftp.gnu.org/gnu/patch/
+Source:         https://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.xz
+Source2:        https://ftp.gnu.org/gnu/patch/%{name}-%{version}.tar.xz.sig
 # https://savannah.gnu.org/people/viewgpg.php?user_id=15000
 Source3:        patch.keyring
-Patch1:         fix-segfault-mangled-rename.patch
-Patch2:         ed-style-01-missing-input-files.patch
-Patch3:         ed-style-02-fix-arbitrary-command-execution.patch
-Patch4:         ed-style-03-update-test-Makefile.patch
-Patch5:         ed-style-04-invoke-ed-directly.patch
-Patch6:         ed-style-05-minor-cleanups.patch
-Patch7:         ed-style-06-fix-test-failure.patch
-Patch8:         ed-style-07-dont-leak-tmp-file.patch
-Patch9:         ed-style-08-dont-leak-tmp-file-multi.patch
-Patch10:        fix-swapping-fake-lines-in-pch_swap.patch
-Patch11:        abort-when-cleaning-up-fails.patch
-Patch12:        dont-follow-symlinks-unless-asked.patch
-Patch13:        pass-the-correct-stat-to-backup-files.patch
 Patch14:        CVE-2019-20633.patch
+BuildRequires:  ed
 # See bnc#662957. The fix for CVE-2010-4651 breaks the way interdiff was
 # invoking patch, so interdiff had to be fixed too.
 Conflicts:      patchutils < 0.3.2
-BuildRequires:  ed
-%if 0%{?suse_version} < 1220
-BuildRequires:  xz
-%endif
 
 %description
 The GNU patch program is used to apply diffs between original and
@@ -57,19 +42,21 @@
 %autosetup -p1
 
 %build
-export CFLAGS="%{optflags} -Wall -O2 -pipe"
-%configure
-make %{?_smp_mflags}
+%configure \
+# https://lists.gnu.org/archive/html/bug-patch/2025-04/msg00002.html
+#      --enable-gcc-warnings \
+       %{nil}
+%make_build
 
 %check
-make %{?_smp_mflags} check
+%make_build check
 
 %install
-make install DESTDIR=%{buildroot}
+%make_install
 
 %files
 %doc AUTHORS NEWS README
 %license COPYING
 %{_bindir}/patch
-%{_mandir}/man1/patch.1%{ext_man}
+%{_mandir}/man1/patch.1%{?ext_man}
 

++++++ CVE-2019-20633.patch ++++++
--- /var/tmp/diff_new_pack.vSBZX4/_old  2025-04-20 20:05:59.832156100 +0200
+++ /var/tmp/diff_new_pack.vSBZX4/_new  2025-04-20 20:05:59.868157601 +0200
@@ -6,11 +6,11 @@
     
     see also: https://savannah.gnu.org/bugs/index.php?56683#comment1
 
-diff --git a/src/pch.c b/src/pch.c
-index fd9c480..57c76de 100644
---- a/src/pch.c
-+++ b/src/pch.c
-@@ -1183,8 +1183,11 @@ another_hunk (enum diff difftype, bool rev)
+Index: patch-2.8/src/pch.c
+===================================================================
+--- patch-2.8.orig/src/pch.c
++++ patch-2.8/src/pch.c
+@@ -1200,8 +1200,11 @@ another_hunk (enum diff difftype, bool r
      while (p_end >= 0) {
        if (p_end == p_efake)
            p_end = p_bfake;            /* don't free twice */
@@ -22,5 +22,5 @@
 +      }
        p_end--;
      }
-     assert(p_end == -1);
+     assert (p_end < 0);
 

++++++ patch-2.7.6.tar.xz -> patch-2.8.tar.xz ++++++
++++ 198795 lines of diff (skipped)

Reply via email to