Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libimobiledevice-glue for 
openSUSE:Factory checked in at 2025-06-18 19:29:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libimobiledevice-glue (Old)
 and      /work/SRC/openSUSE:Factory/.libimobiledevice-glue.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libimobiledevice-glue"

Wed Jun 18 19:29:36 2025 rev:6 rq:1286207 version:1.3.2+git0.20250604

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libimobiledevice-glue/libimobiledevice-glue.changes  
    2025-03-07 16:39:58.527850211 +0100
+++ 
/work/SRC/openSUSE:Factory/.libimobiledevice-glue.new.19631/libimobiledevice-glue.changes
   2025-06-18 19:29:38.760836212 +0200
@@ -1,0 +2,15 @@
+Mon Jun 09 20:03:55 UTC 2025 - se...@sebix.at
+
+- Update to version 1.3.2+git0.20250604:
+  * Updated NEWS for release
+  * Update soversion for release
+  * configure: [Windows] Add --with-winver option to specify minimum Windows 
version
+  * Change order of includes to prevent compiler warning
+  * socket: [Windows] Use inet_ntop for >= Vista
+  * configure: Make sure the check for newer libplist works as expected
+  * utils: Remove 'plist helper' from header comment
+  * socket: [Windows] Use WSAAddressToStringA
+  * Use plist_new_unix_date API when available
+  * socket: Use a backwards-compatible way to deal with , before __VA_ARGS__
+
+-------------------------------------------------------------------

Old:
----
  libimobiledevice-glue-1.3.1+git18.20250213.obscpio

New:
----
  libimobiledevice-glue-1.3.2+git0.20250604.obscpio

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

Other differences:
------------------
++++++ libimobiledevice-glue.spec ++++++
--- /var/tmp/diff_new_pack.9LqQpH/_old  2025-06-18 19:29:39.640872632 +0200
+++ /var/tmp/diff_new_pack.9LqQpH/_new  2025-06-18 19:29:39.644872798 +0200
@@ -21,7 +21,7 @@
 %define clamp_mtime_to_source_date_epoch 1
 %define use_source_date_epoch_as_buildtime 1
 Name:           libimobiledevice-glue
-Version:        1.3.1+git18.20250213
+Version:        1.3.2+git0.20250604
 Release:        0
 Summary:        Native protocols library for iOS devices
 License:        LGPL-2.1-or-later

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.9LqQpH/_old  2025-06-18 19:29:39.700875116 +0200
+++ /var/tmp/diff_new_pack.9LqQpH/_new  2025-06-18 19:29:39.704875281 +0200
@@ -3,6 +3,6 @@
                 <param 
name="url">g...@github.com:libimobiledevice/libimobiledevice.git</param>
               <param 
name="changesrevision">b3d35fbcf7a1ac669c2e80fbd58920941a5d4c0c</param></service><service
 name="tar_scm">
                 <param 
name="url">g...@github.com:libimobiledevice/libimobiledevice-glue.git</param>
-              <param 
name="changesrevision">fe28a576b65f6fdcccb0f85721d79b9d3965faa9</param></service></servicedata>
+              <param 
name="changesrevision">aef2bf0f5bfe961ad83d224166462d87b1df2b00</param></service></servicedata>
 (No newline at EOF)
 

++++++ libimobiledevice-glue-1.3.1+git18.20250213.obscpio -> 
libimobiledevice-glue-1.3.2+git0.20250604.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libimobiledevice-glue-1.3.1+git18.20250213/NEWS 
new/libimobiledevice-glue-1.3.2+git0.20250604/NEWS
--- old/libimobiledevice-glue-1.3.1+git18.20250213/NEWS 2025-02-13 
03:50:17.000000000 +0100
+++ new/libimobiledevice-glue-1.3.2+git0.20250604/NEWS  2025-06-04 
12:07:00.000000000 +0200
@@ -1,3 +1,18 @@
+Version 1.3.2
+~~~~~~~~~~~~~
+
+- Changes:
+  * socket: [macOS] Fix build on older macOS
+  * socket: [Windows] Prevent crash by properly initializing memory buffers
+  * Switch to better initializer strategy
+  * Fix compilation on MSVC
+  * Add extern "C" guards to public headers
+  * socket: Improve error message output/verbose logging
+  * socket: [Windows] Make sure errno is set in error conditions
+  * socket: Allow setting debug level via environment variable
+  * socket: [Windows] Use WSAAddressToStringA (ANSI version)
+  * socket: [Windows] Use inet_ntop instead of WSAAddressToStringA for >= Vista
+
 Version 1.3.1
 ~~~~~~~~~~~~~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libimobiledevice-glue-1.3.1+git18.20250213/configure.ac 
new/libimobiledevice-glue-1.3.2+git0.20250604/configure.ac
--- old/libimobiledevice-glue-1.3.1+git18.20250213/configure.ac 2025-02-13 
03:50:17.000000000 +0100
+++ new/libimobiledevice-glue-1.3.2+git0.20250604/configure.ac  2025-06-04 
12:07:00.000000000 +0200
@@ -15,7 +15,7 @@
 #                 changes to the signature and the semantic)
 #  ? :+1 : ?   == just internal changes
 # CURRENT : REVISION : AGE
-LIBIMOBILEDEVICE_GLUE_SO_VERSION=3:1:3
+LIBIMOBILEDEVICE_GLUE_SO_VERSION=3:2:3
 
 # Check if we have a version defined
 if test -z $PACKAGE_VERSION; then
@@ -71,7 +71,24 @@
   *mingw32*|*cygwin*)
     AC_MSG_RESULT([${host_os}])
     win32=true
-    AC_DEFINE(WINVER, 0x0501, [minimum Windows version])
+    AC_ARG_WITH([winver],
+      [AS_HELP_STRING([--with-winver], [Set the minimum windows version])],
+      [
+        AS_CASE([${withval}],
+          [0x[[0-9A-Fa-f]]|0x[[0-9A-Fa-f]]*[[0-9A-Fa-f]]], [VAL=${withval}],
+          ['' | *[[!0123456789]]*], [VAL=""],
+          [[[!0]]*], [VAL=${withval}],
+          [VAL=""]
+        )
+        AS_IF([test "x$VAL" != "x"], [
+          AC_DEFINE_UNQUOTED(WINVER, ${VAL}, [minimum Windows version])
+          AC_DEFINE_UNQUOTED(_WIN32_WINNT, ${VAL}, [minimum Windows version])
+        ], [
+          AC_MSG_ERROR([--with-winver expects a hexadecimal value like 0x0600, 
or a decimal, and must not be 0])
+        ])
+      ],
+      []
+    )
     ;;
   darwin*)
     AC_MSG_RESULT([${host_os}])
@@ -93,6 +110,22 @@
 
 AC_CHECK_MEMBER(struct dirent.d_type, AC_DEFINE(HAVE_DIRENT_D_TYPE, 1, [define 
if struct dirent has member d_type]),, [#include <dirent.h>])
 
+CACHED_CFLAGS="$CFLAGS"
+CFLAGS+=" $libplist_CFLAGS -Werror"
+
+# check if libplist has plist_new_unix_date()
+AC_CACHE_CHECK(for plist_new_unix_date, ac_cv_plist_unix_date,
+       AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+               #include <plist/plist.h>
+               ]], [[
+                       return plist_new_unix_date(0) ? 0 : 1
+               ]])],[ac_cv_plist_unix_date=yes],[ac_cv_plist_unix_date=no]))
+if test "$ac_cv_plist_unix_date" = "yes"; then
+       AC_DEFINE(HAVE_PLIST_UNIX_DATE, 1, [Define if libplist has new unix 
date API (>= 2.7.0)])
+fi
+
+CFLAGS="$CACHED_CFLAGS"
+
 AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations 
-Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default 
-Wno-unused-parameter -fsigned-char -fvisibility=hidden")
 
 if test "x$enable_static" = "xyes" -a "x$enable_shared" = "xno"; then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libimobiledevice-glue-1.3.1+git18.20250213/include/libimobiledevice-glue/utils.h
 
new/libimobiledevice-glue-1.3.2+git0.20250604/include/libimobiledevice-glue/utils.h
--- 
old/libimobiledevice-glue-1.3.1+git18.20250213/include/libimobiledevice-glue/utils.h
        2025-02-13 03:50:17.000000000 +0100
+++ 
new/libimobiledevice-glue-1.3.2+git0.20250604/include/libimobiledevice-glue/utils.h
 2025-06-04 12:07:00.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * utils.h
  * Miscellaneous utilities for string manipulation,
- * file I/O and plist helper.
+ * file I/O, etc.
  *
  * Copyright (c) 2014-2019 Nikias Bassen, All Rights Reserved.
  * Copyright (c) 2013-2014 Martin Szulecki, All Rights Reserved.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libimobiledevice-glue-1.3.1+git18.20250213/src/opack.c 
new/libimobiledevice-glue-1.3.2+git0.20250604/src/opack.c
--- old/libimobiledevice-glue-1.3.1+git18.20250213/src/opack.c  2025-02-13 
03:50:17.000000000 +0100
+++ new/libimobiledevice-glue-1.3.2+git0.20250604/src/opack.c   2025-06-04 
12:07:00.000000000 +0200
@@ -140,12 +140,18 @@
                        }
                }       break;
                case PLIST_DATE: {
+#ifdef HAVE_PLIST_UNIX_DATE
+                       int64_t sec = 0;
+                       plist_get_unix_date_val(node, &sec);
+                       sec -= MAC_EPOCH;
+                       double dval = (double)sec;
+#else
                        int32_t sec = 0;
                        int32_t usec = 0;       
                        plist_get_date_val(node, &sec, &usec);
                        time_t tsec = sec;
-                       tsec -= MAC_EPOCH;
                        double dval = (double)tsec + ((double)usec / 1000000);
+#endif
                        uint8_t blen = 0x06;
                        char_buf_append(cbuf, 1, &blen);
                        uint64_t u64val = 0;
@@ -272,10 +278,14 @@
                (*p)++;
                double value = *(double*)*p;
                time_t sec = (time_t)value;
+#ifdef HAVE_PLIST_UNIX_DATE
+               *plist_out = plist_new_unix_date(sec + MAC_EPOCH);
+#else
                value -= sec;
                uint32_t usec = value * 1000000;
-               (*p)+=8;
                *plist_out = plist_new_date(sec, usec);
+#endif
+               (*p)+=8;
        } else if (type >= 0x08 && type <= 0x36) {
                /* numerical type */
                (*p)++;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libimobiledevice-glue-1.3.1+git18.20250213/src/sha512.c 
new/libimobiledevice-glue-1.3.2+git0.20250604/src/sha512.c
--- old/libimobiledevice-glue-1.3.1+git18.20250213/src/sha512.c 2025-02-13 
03:50:17.000000000 +0100
+++ new/libimobiledevice-glue-1.3.2+git0.20250604/src/sha512.c  2025-06-04 
12:07:00.000000000 +0200
@@ -9,11 +9,11 @@
  * Tom St Denis, tomstde...@gmail.com, http://libtom.org
  */
 
-#include <stdint.h>
-
 #include "common.h"
 #include "libimobiledevice-glue/sha.h"
 
+#include <stdint.h>
+
 /* the K array */
 static const uint64_t K[80] = {
     UINT64_C(0x428a2f98d728ae22), UINT64_C(0x7137449123ef65cd), 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libimobiledevice-glue-1.3.1+git18.20250213/src/socket.c 
new/libimobiledevice-glue-1.3.2+git0.20250604/src/socket.c
--- old/libimobiledevice-glue-1.3.1+git18.20250213/src/socket.c 2025-02-13 
03:50:17.000000000 +0100
+++ new/libimobiledevice-glue-1.3.2+git0.20250604/src/socket.c  2025-06-04 
12:07:00.000000000 +0200
@@ -92,7 +92,7 @@
 
 #define SOCKET_ERR(level, msg, ...) \
        if (verbose >= level) { \
-               fprintf(stderr, "[socket] " msg __VA_OPT__(,) __VA_ARGS__); \
+               fprintf(stderr, "[socket] " msg , ## __VA_ARGS__); \
        }
 
 void socket_init(void)
@@ -117,7 +117,7 @@
 
 const char *socket_addr_to_string(struct sockaddr *addr, char *addr_out, 
size_t addr_out_size)
 {
-#ifdef _WIN32
+#if defined(_WIN32) && ( _WIN32_WINNT < 0x0600 )
        DWORD addr_out_len = addr_out_size;
        DWORD addrlen = 0;
 
@@ -134,7 +134,7 @@
                return NULL;
        }
 
-       if (WSAAddressToString(addr, addrlen, NULL, addr_out, &addr_out_len) == 
0) {
+       if (WSAAddressToStringA(addr, addrlen, NULL, addr_out, &addr_out_len) 
== 0) {
                return addr_out;
        }
 #else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libimobiledevice-glue-1.3.1+git18.20250213/src/utils.c 
new/libimobiledevice-glue-1.3.2+git0.20250604/src/utils.c
--- old/libimobiledevice-glue-1.3.1+git18.20250213/src/utils.c  2025-02-13 
03:50:17.000000000 +0100
+++ new/libimobiledevice-glue-1.3.2+git0.20250604/src/utils.c   2025-06-04 
12:07:00.000000000 +0200
@@ -1,7 +1,7 @@
 /*
  * utils.c
  * Miscellaneous utilities for string manipulation,
- * file I/O and plist helper.
+ * file I/O, etc.
  *
  * Copyright (c) 2014-2023 Nikias Bassen, All Rights Reserved.
  * Copyright (c) 2013-2014 Martin Szulecki, All Rights Reserved.

++++++ libimobiledevice-glue-gcc14.patch ++++++
--- /var/tmp/diff_new_pack.9LqQpH/_old  2025-06-18 19:29:39.860881738 +0200
+++ /var/tmp/diff_new_pack.9LqQpH/_new  2025-06-18 19:29:39.864881903 +0200
@@ -1,6 +1,5 @@
-diff -ur libimobiledevice-glue.orig/src/socket.c 
libimobiledevice-glue/src/socket.c
---- libimobiledevice-glue.orig/src/socket.c    2025-02-25 21:35:37.200042020 
+0100
-+++ libimobiledevice-glue/src/socket.c 2025-02-25 22:07:25.649820135 +0100
+--- libimobiledevice-glue/src/socket.c 2025-06-09 21:59:38.197718403 +0200
++++ libimobiledevice-glue/src/socket.c.new     2025-06-09 22:24:04.661804211 
+0200
 @@ -90,9 +90,9 @@
  
  static int verbose = 0;
@@ -8,7 +7,7 @@
 -#define SOCKET_ERR(level, msg, ...) \
 +#define SOCKET_ERR(level, ...) \
        if (verbose >= level) { \
--              fprintf(stderr, "[socket] " msg __VA_OPT__(,) __VA_ARGS__); \
+-              fprintf(stderr, "[socket] " msg , ## __VA_ARGS__); \
 +              fprintf(stderr, "[socket] " __VA_ARGS__); \
        }
  

++++++ libimobiledevice-glue.obsinfo ++++++
--- /var/tmp/diff_new_pack.9LqQpH/_old  2025-06-18 19:29:39.884882731 +0200
+++ /var/tmp/diff_new_pack.9LqQpH/_new  2025-06-18 19:29:39.888882896 +0200
@@ -1,5 +1,5 @@
 name: libimobiledevice-glue
-version: 1.3.1+git18.20250213
-mtime: 1739415017
-commit: fe28a576b65f6fdcccb0f85721d79b9d3965faa9
+version: 1.3.2+git0.20250604
+mtime: 1749031620
+commit: aef2bf0f5bfe961ad83d224166462d87b1df2b00
 

Reply via email to