Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package thttpd for openSUSE:Factory checked 
in at 2024-12-06 14:25:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/thttpd (Old)
 and      /work/SRC/openSUSE:Factory/.thttpd.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "thttpd"

Fri Dec  6 14:25:53 2024 rev:45 rq:1228571 version:2.29

Changes:
--------
--- /work/SRC/openSUSE:Factory/thttpd/thttpd.changes    2024-02-29 
21:50:50.055046821 +0100
+++ /work/SRC/openSUSE:Factory/.thttpd.new.28523/thttpd.changes 2024-12-06 
14:26:03.475668737 +0100
@@ -1,0 +2,7 @@
+Tue Dec  3 20:19:55 UTC 2024 - Giacomo Comes <gcomes....@gmail.com>
+
+- added thttpd-c99.patch
+  * keep using the deprecated function sigset
+  * patch borrowed from fedora rpm
+
+-------------------------------------------------------------------

New:
----
  thttpd-c99.patch

BETA DEBUG BEGIN:
  New:
- added thttpd-c99.patch
  * keep using the deprecated function sigset
BETA DEBUG END:

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

Other differences:
------------------
++++++ thttpd.spec ++++++
--- /var/tmp/diff_new_pack.NIVQ0q/_old  2024-12-06 14:26:04.183698569 +0100
+++ /var/tmp/diff_new_pack.NIVQ0q/_new  2024-12-06 14:26:04.187698738 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package thttpd
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -49,6 +49,8 @@
 Patch13:        thttpd-2.25b-CVE-2012-5640-check_crypt_return_value.patch
 Patch14:        thttpd-CVE-2013-0348.patch
 Patch15:        thttpd-crypt_is_in_crypt.h.patch
+# PATCH-FIX-SUSE keep using deprecated function sigset
+Patch16:        thttpd-c99.patch
 BuildRequires:  automake
 BuildRequires:  libtool
 Requires(post): permissions
@@ -91,6 +93,7 @@
 %patch -P 13 -p1
 %patch -P 14 -p1
 %patch -P 15 -p1
+%patch -P 16 -p1
 
 %build
 cp %{_datadir}/automake-1.*/config.* .
@@ -156,6 +159,8 @@
 
 %files
 %doc README config.h
+%dir %{serverroot}
+%dir %{serverroot}/htdocs
 %{serverroot}/htdocs/*
 %attr(775, root, www) %{serverroot}/htdocs/users
 %verify(not mode) %attr(2751, root, www) %{_bindir}/makeweb

++++++ thttpd-c99.patch ++++++
diff --git a/libhttpd.c b/libhttpd.c
index 6a985f8601d0ccfc..7c3ae74d0cda56d1 100644
--- a/libhttpd.c
+++ b/libhttpd.c
@@ -47,7 +47,12 @@
 #include <memory.h>
 #endif /* HAVE_MEMORY_H */
 #include <pwd.h>
+
 #include <signal.h>
+/* Not available with glibc default feature test macros.  Kludge to
+   avoid extensive changes.  */
+extern __typeof (signal) sigset;
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
diff --git a/thttpd.c b/thttpd.c
index bfb57bacd955cd1b..25ad5d4cd47dc094 100644
--- a/thttpd.c
+++ b/thttpd.c
@@ -44,7 +44,12 @@
 #ifdef HAVE_GRP_H
 #include <grp.h>
 #endif
+
 #include <signal.h>
+/* Not available with glibc default feature test macros.  Kludge to
+   avoid extensive changes.  */
+extern __typeof (signal) sigset;
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Reply via email to