Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package flickcurl for openSUSE:Factory 
checked in at 2024-11-12 19:26:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flickcurl (Old)
 and      /work/SRC/openSUSE:Factory/.flickcurl.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flickcurl"

Tue Nov 12 19:26:47 2024 rev:19 rq:1223753 version:1.26

Changes:
--------
--- /work/SRC/openSUSE:Factory/flickcurl/flickcurl.changes      2024-03-29 
13:13:48.401411696 +0100
+++ /work/SRC/openSUSE:Factory/.flickcurl.new.2017/flickcurl.changes    
2024-11-12 19:27:17.154192620 +0100
@@ -1,0 +2,7 @@
+Tue Nov 12 15:57:26 UTC 2024 - Frederic Crozat <[email protected]>
+
+- Backport 0001-Fix-Wimplicit-function-declaration.patch and
+  0001-configure-Include-stdio.h-in-vsnprintf-check.patch from
+  upstream to fix build with gcc14.
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-Wimplicit-function-declaration.patch
  0001-configure-Include-stdio.h-in-vsnprintf-check.patch

BETA DEBUG BEGIN:
  New:
- Backport 0001-Fix-Wimplicit-function-declaration.patch and
  0001-configure-Include-stdio.h-in-vsnprintf-check.patch from
  New:- Backport 0001-Fix-Wimplicit-function-declaration.patch and
  0001-configure-Include-stdio.h-in-vsnprintf-check.patch from
  upstream to fix build with gcc14.
BETA DEBUG END:

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

Other differences:
------------------
++++++ flickcurl.spec ++++++
--- /var/tmp/diff_new_pack.Wp8oTk/_old  2024-11-12 19:27:17.694215355 +0100
+++ /var/tmp/diff_new_pack.Wp8oTk/_new  2024-11-12 19:27:17.694215355 +0100
@@ -28,6 +28,10 @@
 Source1:        baselibs.conf
 Source2:        flickcurl.changes
 Source99:       flickcurl-rpmlintrc
+# PATCH-FIX-UPSTREAM 0001-configure-Include-stdio.h-in-vsnprintf-check.patch 
[email protected] -- add missing headers
+Patch0:         0001-configure-Include-stdio.h-in-vsnprintf-check.patch
+# PATCH-FIX-UPSTREAM 0001-Fix-Wimplicit-function-declaration.patch 
[email protected] -- fix build with gcc14
+Patch1:         0001-Fix-Wimplicit-function-declaration.patch
 BuildRequires:  chrpath
 BuildRequires:  curl
 BuildRequires:  fdupes
@@ -101,7 +105,7 @@
 photos, tags, and machine tags.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %configure \

++++++ 0001-Fix-Wimplicit-function-declaration.patch ++++++
>From 96f263150cf025bdcf969fc9884cc90a466f54fb Mon Sep 17 00:00:00 2001
From: Sam James <[email protected]>
Date: Mon, 6 May 2024 09:28:24 +0100
Subject: [PATCH] Fix -Wimplicit-function-declaration

GCC 14 and Clang 16 make this fatal by default.

Bug: https://bugs.gentoo.org/927191
---
 src/activity.c           | 1 +
 src/args.c               | 1 +
 src/blog.c               | 1 +
 src/category.c           | 1 +
 src/collection.c         | 1 +
 src/comments.c           | 1 +
 src/contacts.c           | 1 +
 src/context.c            | 1 +
 src/exif.c               | 1 +
 src/gallery.c            | 1 +
 src/group.c              | 1 +
 src/legacy-auth.c        | 1 +
 src/members.c            | 1 +
 src/method.c             | 1 +
 src/note.c               | 1 +
 src/oauth.c              | 1 +
 src/perms.c              | 1 +
 src/photo.c              | 1 +
 src/photoset.c           | 1 +
 src/sha1.c               | 1 +
 src/size.c               | 1 +
 src/stat.c               | 1 +
 src/tags.c               | 1 +
 src/ticket.c             | 1 +
 src/user_upload_status.c | 1 +
 25 files changed, 25 insertions(+)

diff --git a/src/activity.c b/src/activity.c
index 8c4e919..27c4f5d 100644
--- a/src/activity.c
+++ b/src/activity.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/args.c b/src/args.c
index 18ab1ca..77a7128 100644
--- a/src/args.c
+++ b/src/args.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/blog.c b/src/blog.c
index db53c1a..3243734 100644
--- a/src/blog.c
+++ b/src/blog.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/category.c b/src/category.c
index 866955e..a5c8620 100644
--- a/src/category.c
+++ b/src/category.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/collection.c b/src/collection.c
index 1014d2b..1f2ffce 100644
--- a/src/collection.c
+++ b/src/collection.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/comments.c b/src/comments.c
index a362897..246a7ce 100644
--- a/src/comments.c
+++ b/src/comments.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/contacts.c b/src/contacts.c
index 61889af..1992823 100644
--- a/src/contacts.c
+++ b/src/contacts.c
@@ -24,6 +24,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/context.c b/src/context.c
index 703dbee..8ec98f0 100644
--- a/src/context.c
+++ b/src/context.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/exif.c b/src/exif.c
index 2b71dc1..b4379e1 100644
--- a/src/exif.c
+++ b/src/exif.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/gallery.c b/src/gallery.c
index d7011b3..a6acb4a 100644
--- a/src/gallery.c
+++ b/src/gallery.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/group.c b/src/group.c
index 0cf7d82..48d4146 100644
--- a/src/group.c
+++ b/src/group.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/legacy-auth.c b/src/legacy-auth.c
index 9815d94..b9e196e 100644
--- a/src/legacy-auth.c
+++ b/src/legacy-auth.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/members.c b/src/members.c
index 7d9849c..01482d8 100644
--- a/src/members.c
+++ b/src/members.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/method.c b/src/method.c
index 11a1219..42de901 100644
--- a/src/method.c
+++ b/src/method.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/note.c b/src/note.c
index 5edaf36..fc68505 100644
--- a/src/note.c
+++ b/src/note.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/oauth.c b/src/oauth.c
index 95f09a2..8be4963 100644
--- a/src/oauth.c
+++ b/src/oauth.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/perms.c b/src/perms.c
index e82fb0e..64c31df 100644
--- a/src/perms.c
+++ b/src/perms.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/photo.c b/src/photo.c
index 8fa5e87..f6db2eb 100644
--- a/src/photo.c
+++ b/src/photo.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 #include <ctype.h>
 
 #ifdef HAVE_CONFIG_H
diff --git a/src/photoset.c b/src/photoset.c
index 2bd14a9..3831472 100644
--- a/src/photoset.c
+++ b/src/photoset.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/sha1.c b/src/sha1.c
index bcc281d..5712abd 100644
--- a/src/sha1.c
+++ b/src/sha1.c
@@ -92,6 +92,7 @@ A million repetitions of "a"
 #include <string.h>
 #include <stdarg.h>
 #include <stdint.h>
+#include <stdlib.h>
 
 #include <flickcurl.h>
 #include <flickcurl_internal.h>
diff --git a/src/size.c b/src/size.c
index 2b6154c..50e45e3 100644
--- a/src/size.c
+++ b/src/size.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/stat.c b/src/stat.c
index 69c9827..19fc610 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/tags.c b/src/tags.c
index 240c699..440a531 100644
--- a/src/tags.c
+++ b/src/tags.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/ticket.c b/src/ticket.c
index 816de8c..b976b75 100644
--- a/src/ticket.c
+++ b/src/ticket.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
diff --git a/src/user_upload_status.c b/src/user_upload_status.c
index a7457ad..e89a2f5 100644
--- a/src/user_upload_status.c
+++ b/src/user_upload_status.c
@@ -21,6 +21,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
-- 
2.47.0


++++++ 0001-configure-Include-stdio.h-in-vsnprintf-check.patch ++++++
>From 940019e2635f1bc21b712fadbf4f73ca45a26379 Mon Sep 17 00:00:00 2001
From: Florian Weimer <[email protected]>
Date: Fri, 13 Jan 2023 09:33:08 +0100
Subject: [PATCH] configure: Include <stdio.h> in vsnprintf check

Avoid implicit declaration of vsnprintf for improved C99
compatibility.  Otherwise the configure script will fail
to detect vsnprintf support with future compilers which
do not support implicit function declarations.
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index c5fe4ee..949d926 100644
--- a/configure.ac
+++ b/configure.ac
@@ -133,6 +133,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#ifdef HAVE_GETOPT_H
 if test $ac_cv_func_vsnprintf = yes; then
   AC_MSG_CHECKING(vsnprintf has C99 compatible return value)
   AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdarg.h>
+#include <stdio.h>
 int is_c99(char *s, ...) {
   char buffer[32];
   va_list args;
-- 
2.47.0

Reply via email to