Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package fakeroot for openSUSE:Factory 
checked in at 2024-07-28 17:20:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fakeroot (Old)
 and      /work/SRC/openSUSE:Factory/.fakeroot.new.1882 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fakeroot"

Sun Jul 28 17:20:19 2024 rev:18 rq:1189981 version:1.35.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/fakeroot/fakeroot.changes        2024-07-01 
11:21:02.948544209 +0200
+++ /work/SRC/openSUSE:Factory/.fakeroot.new.1882/fakeroot.changes      
2024-07-28 17:20:47.371020807 +0200
@@ -1,0 +2,6 @@
+Fri Jul 26 16:05:25 UTC 2024 - Martin Jambor <mjam...@suse.com>
+
+- Aded fakeroot-C99.patch to fix C99 violations which prevent building
+  with GCC 14.
+
+-------------------------------------------------------------------

New:
----
  fakeroot-C99.patch

BETA DEBUG BEGIN:
  New:
- Aded fakeroot-C99.patch to fix C99 violations which prevent building
  with GCC 14.
BETA DEBUG END:

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

Other differences:
------------------
++++++ fakeroot.spec ++++++
--- /var/tmp/diff_new_pack.xT8h5o/_old  2024-07-28 17:20:47.863040467 +0200
+++ /var/tmp/diff_new_pack.xT8h5o/_new  2024-07-28 17:20:47.863040467 +0200
@@ -27,6 +27,8 @@
 Source99:       baselibs.conf
 # PATCH-FIX-UPSTREAM fakeroot-1.21-fix-shell-in-fakeroot.patch (deb#828810)
 Patch0:         fakeroot-1.21-fix-shell-in-fakeroot
+# PATCH-FIX-UPSTREAM fakeroot-C99.patch - fix C99 issues preventing building 
with gcc 14
+Patch1:         fakeroot-C99.patch
 BuildRequires:  autoconf >= 2.71
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -41,7 +43,7 @@
 BuildRequires:  sharutils
 BuildRequires:  user(daemon)
 Requires(post): update-alternatives
-Requires(preun): update-alternatives
+Requires(preun):update-alternatives
 
 %description
 fakeroot runs a command in an environment wherein it appears to have

++++++ fakeroot-C99.patch ++++++
Index: fakeroot-1.35.1/communicate.c
===================================================================
--- fakeroot-1.35.1.orig/communicate.c
+++ fakeroot-1.35.1/communicate.c
@@ -576,7 +576,7 @@ void send_get_fakem(struct fake_msg *buf
                &fm,
                sizeof(fm)-sizeof(fm.mtype),0,0);
 
-      ptr = &fm;
+      ptr = (uint8_t*) &fm;
       for (k=0; k<16; k++) {
         magic_candidate = *(uint32_t*)&ptr[k];
         if (magic_candidate == FAKEROOT_MAGIC_LE || magic_candidate == 
FAKEROOT_MAGIC_BE) {
Index: fakeroot-1.35.1/faked.c
===================================================================
--- fakeroot-1.35.1.orig/faked.c
+++ fakeroot-1.35.1/faked.c
@@ -1089,7 +1089,7 @@ void get_msg()
   do {
     r=msgrcv(msg_get,&fm,sizeof(struct fake_msg_buf),0,0);
 
-    ptr = &fm;
+    ptr = (uint8_t*) &fm;
     for (k=0; k<16; k++) {
       magic_candidate = *(uint32_t*)&ptr[k];
       if (magic_candidate == FAKEROOT_MAGIC_LE || magic_candidate == 
FAKEROOT_MAGIC_BE) {

Reply via email to