Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package apache-commons-daemon for
openSUSE:Factory checked in at 2024-05-06 17:55:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-daemon (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-daemon.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-daemon"
Mon May 6 17:55:29 2024 rev:25 rq:1172174 version:1.3.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-daemon/apache-commons-daemon.changes
2024-02-20 21:15:49.937240752 +0100
+++
/work/SRC/openSUSE:Factory/.apache-commons-daemon.new.1880/apache-commons-daemon.changes
2024-05-06 17:56:42.370630359 +0200
@@ -1,0 +2,7 @@
+Mon May 6 11:08:35 UTC 2024 - Gus Kenion <[email protected]>
+
+- Add apache-commons-daemon-gcc14-compat.patch for GCC 14
+ compatibility.
+- Correct offset in apache-commons-daemon-JAVA_OS.patch.
+
+-------------------------------------------------------------------
New:
----
apache-commons-daemon-gcc14-compat.patch
BETA DEBUG BEGIN:
New:
- Add apache-commons-daemon-gcc14-compat.patch for GCC 14
compatibility.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-daemon.spec ++++++
--- /var/tmp/diff_new_pack.YlcOUK/_old 2024-05-06 17:56:42.838647397 +0200
+++ /var/tmp/diff_new_pack.YlcOUK/_new 2024-05-06 17:56:42.838647397 +0200
@@ -31,6 +31,7 @@
Source2: apache-commons-daemon.keyring
Source10: apache-commons-daemon-build.xml
Patch0: apache-commons-daemon-JAVA_OS.patch
+Patch1: apache-commons-daemon-gcc14-compat.patch
BuildRequires: ant
BuildRequires: autoconf
BuildRequires: fdupes
@@ -77,6 +78,7 @@
%setup -q -n %{short_name}-%{version}-src
cp %{SOURCE10} build.xml
%patch -P 0 -p1
+%patch -P 1 -p1
# remove java binaries from sources
rm -rf src/samples/build/
++++++ apache-commons-daemon-JAVA_OS.patch ++++++
--- /var/tmp/diff_new_pack.YlcOUK/_old 2024-05-06 17:56:42.862648271 +0200
+++ /var/tmp/diff_new_pack.YlcOUK/_new 2024-05-06 17:56:42.866648416 +0200
@@ -1,6 +1,8 @@
---- commons-daemon-1.2.2-src.orig/src/native/unix/configure.in
-+++ commons-daemon-1.2.2-src/src/native/unix/configure.in
-@@ -98,7 +98,7 @@ then
+Index: commons-daemon-1.3.4-src/src/native/unix/configure.in
+===================================================================
+--- commons-daemon-1.3.4-src.orig/src/native/unix/configure.in
++++ commons-daemon-1.3.4-src/src/native/unix/configure.in
+@@ -97,7 +97,7 @@ then
AC_MSG_RESULT([jni_md.h found in $JAVA_HOME/$JAVA_INC])
INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/$JAVA_INC"
else
++++++ apache-commons-daemon-gcc14-compat.patch ++++++
Index: commons-daemon-1.3.4-src/src/native/unix/native/jsvc-unix.c
===================================================================
--- commons-daemon-1.3.4-src.orig/src/native/unix/native/jsvc-unix.c
+++ commons-daemon-1.3.4-src/src/native/unix/native/jsvc-unix.c
@@ -1308,7 +1308,7 @@ static int run_controller(arg_data *args
* These will be replaced in the child process.
*/
memset(&act, '\0', sizeof(act));
- act.sa_handler = controller;
+ act.sa_handler = (void *) controller;
sigemptyset(&act.sa_mask);
act.sa_flags = SA_RESTART | SA_NOCLDSTOP | SA_SIGINFO;