Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-unix-time for openSUSE:Factory 
checked in at 2022-10-13 15:43:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-unix-time (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-unix-time.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-unix-time"

Thu Oct 13 15:43:28 2022 rev:18 rq:1008541 version:0.4.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-unix-time/ghc-unix-time.changes      
2020-12-22 11:48:22.433955192 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-unix-time.new.2275/ghc-unix-time.changes    
2022-10-13 15:43:45.914927678 +0200
@@ -1,0 +2,6 @@
+Tue Sep  6 01:25:31 UTC 2022 - Peter Simons <psim...@suse.com>
+
+- Update unix-time to version 0.4.8.
+  Upstream does not provide a change log file.
+
+-------------------------------------------------------------------

Old:
----
  unix-time-0.4.7.tar.gz

New:
----
  unix-time-0.4.8.tar.gz

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

Other differences:
------------------
++++++ ghc-unix-time.spec ++++++
--- /var/tmp/diff_new_pack.tY2PGs/_old  2022-10-13 15:43:46.738929286 +0200
+++ /var/tmp/diff_new_pack.tY2PGs/_new  2022-10-13 15:43:46.738929286 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-unix-time
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name unix-time
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.4.7
+Version:        0.4.8
 Release:        0
 Summary:        Unix time parser/formatter and utilities
 License:        BSD-3-Clause

++++++ unix-time-0.4.7.tar.gz -> unix-time-0.4.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unix-time-0.4.7/Data/UnixTime/Types.hsc 
new/unix-time-0.4.8/Data/UnixTime/Types.hsc
--- old/unix-time-0.4.7/Data/UnixTime/Types.hsc 2019-06-18 09:45:05.000000000 
+0200
+++ new/unix-time-0.4.8/Data/UnixTime/Types.hsc 2001-09-09 03:46:40.000000000 
+0200
@@ -93,7 +93,7 @@
 -- create values that are in-range. This avoids any gotchas when then
 -- doing comparisons.
 data UnixDiffTime = UnixDiffTime {
-    -- | Seconds from 1st Jan 1970
+    -- | Seconds
     udtSeconds :: {-# UNPACK #-} !CTime
     -- | Micro seconds (i.e. 10^(-6))
   , udtMicroSeconds :: {-# UNPACK #-} !Int32
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unix-time-0.4.7/cbits/config.h.in 
new/unix-time-0.4.8/cbits/config.h.in
--- old/unix-time-0.4.7/cbits/config.h.in       2019-06-18 09:45:05.000000000 
+0200
+++ new/unix-time-0.4.8/cbits/config.h.in       2001-09-09 03:46:40.000000000 
+0200
@@ -1,5 +1,9 @@
 /* cbits/config.h.in.  Generated from configure.ac by autoheader.  */
 
+/* Define to 1 if you have the declaration of `_mkgmtime', and to 0 if you
+   don't. */
+#undef HAVE_DECL__MKGMTIME
+
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
@@ -60,9 +64,6 @@
 /* Define to 1 if you have the `_isupper_l' function. */
 #undef HAVE__ISUPPER_L
 
-/* Define to 1 if you have the `_mkgmtime' function. */
-#undef HAVE__MKGMTIME
-
 /* "Is Linux" */
 #undef IS_LINUX
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unix-time-0.4.7/cbits/win_patch.h 
new/unix-time-0.4.8/cbits/win_patch.h
--- old/unix-time-0.4.7/cbits/win_patch.h       2019-06-18 09:45:05.000000000 
+0200
+++ new/unix-time-0.4.8/cbits/win_patch.h       2001-09-09 03:46:40.000000000 
+0200
@@ -116,7 +116,11 @@
 #define isleap_sum(a, b)    isleap((a) % 400 + (b) % 400)
 #endif /* !defined isleap_sum */
 
-#if !HAVE__ISBLANK_L
+#if HAVE__ISBLANK_L
+#define isblank_l _isblank_l
+// Needed to avoid -Wimplicit-function-declaration warnings
+int _isblank_l(int c, _locale_t  loc);
+#else
 int isblank_l( int c, _locale_t _loc);
 #endif
 
@@ -126,7 +130,7 @@
 
 struct tm *localtime_r(const time_t *_time_t, struct tm *_tm);
 
-#if HAVE__MKGMTIME
+#if HAVE_DECL__MKGMTIME
 #define timegm _mkgmtime
 #define HAVE_TIMEGM 1
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unix-time-0.4.7/configure 
new/unix-time-0.4.8/configure
--- old/unix-time-0.4.7/configure       2019-06-18 09:45:05.000000000 +0200
+++ new/unix-time-0.4.8/configure       2001-09-09 03:46:40.000000000 +0200
@@ -651,6 +651,7 @@
 docdir
 oldincludedir
 includedir
+runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -721,6 +722,7 @@
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE}'
@@ -973,6 +975,15 @@
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
 
+  -runstatedir | --runstatedir | --runstatedi | --runstated \
+  | --runstate | --runstat | --runsta | --runst | --runs \
+  | --run | --ru | --r)
+    ac_prev=runstatedir ;;
+  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
+  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
+  | --run=* | --ru=* | --r=*)
+    runstatedir=$ac_optarg ;;
+
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1110,7 +1121,7 @@
 for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                datadir sysconfdir sharedstatedir localstatedir includedir \
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-               libdir localedir mandir
+               libdir localedir mandir runstatedir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1263,6 +1274,7 @@
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
+  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
@@ -1723,6 +1735,52 @@
   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_func
+
+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
+# ---------------------------------------------
+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
+# accordingly.
+ac_fn_c_check_decl ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  as_decl_name=`echo $2|sed 's/ *(.*//'`
+  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is 
declared" >&5
+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
+if eval \${$3+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+int
+main ()
+{
+#ifndef $as_decl_name
+#ifdef __cplusplus
+  (void) $as_decl_use;
+#else
+  (void) $as_decl_name;
+#endif
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$3=yes"
+else
+  eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_decl
 cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
@@ -3304,16 +3362,17 @@
 fi
 done
 
-for ac_func in _mkgmtime
-do :
-  ac_fn_c_check_func "$LINENO" "_mkgmtime" "ac_cv_func__mkgmtime"
-if test "x$ac_cv_func__mkgmtime" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__MKGMTIME 1
-_ACEOF
-
+ac_fn_c_check_decl "$LINENO" "_mkgmtime" "ac_cv_have_decl__mkgmtime" "#include 
<time.h>
+"
+if test "x$ac_cv_have_decl__mkgmtime" = xyes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
 fi
-done
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__MKGMTIME $ac_have_decl
+_ACEOF
 
 for ac_func in _get_current_locale
 do :
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unix-time-0.4.7/configure.ac 
new/unix-time-0.4.8/configure.ac
--- old/unix-time-0.4.7/configure.ac    2019-06-18 09:45:05.000000000 +0200
+++ new/unix-time-0.4.8/configure.ac    2001-09-09 03:46:40.000000000 +0200
@@ -8,7 +8,7 @@
 
 AC_CHECK_FUNCS(strptime_l)
 AC_CHECK_FUNCS(timegm)
-AC_CHECK_FUNCS(_mkgmtime)
+AC_CHECK_DECLS([_mkgmtime], [], [], [[#include <time.h>]])
 AC_CHECK_FUNCS(_get_current_locale)
 AC_CHECK_FUNCS(_create_locale)
 AC_CHECK_FUNCS(strtol_l)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unix-time-0.4.7/unix-time.cabal 
new/unix-time-0.4.8/unix-time.cabal
--- old/unix-time-0.4.7/unix-time.cabal 2019-06-18 09:45:05.000000000 +0200
+++ new/unix-time-0.4.8/unix-time.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 Name:                   unix-time
-Version:                0.4.7
+Version:                0.4.8
 Author:                 Kazu Yamamoto <k...@iij.ad.jp>
 Maintainer:             Kazu Yamamoto <k...@iij.ad.jp>
 License:                BSD3

Reply via email to