Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pg_cron for openSUSE:Factory checked 
in at 2022-04-04 19:26:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pg_cron (Old)
 and      /work/SRC/openSUSE:Factory/.pg_cron.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pg_cron"

Mon Apr  4 19:26:50 2022 rev:9 rq:966829 version:1.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/pg_cron/pg_cron.changes  2021-12-14 
22:02:02.827142828 +0100
+++ /work/SRC/openSUSE:Factory/.pg_cron.new.1900/pg_cron.changes        
2022-04-04 19:27:29.079785894 +0200
@@ -1,0 +2,6 @@
+Mon Apr  4 13:28:21 UTC 2022 - Dominique Leuenberger <[email protected]>
+
+- Add pg_cron-32bit-compat.patch: Fix build on archs where %ld does
+  not equal to long long int (eg 32bit arches).
+
+-------------------------------------------------------------------

New:
----
  pg_cron-32bit-compat.patch

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

Other differences:
------------------
++++++ pg_cron.spec ++++++
--- /var/tmp/diff_new_pack.YQq4iW/_old  2022-04-04 19:27:29.551780483 +0200
+++ /var/tmp/diff_new_pack.YQq4iW/_new  2022-04-04 19:27:29.559780391 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 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
@@ -28,7 +28,7 @@
 Group:          Productivity/Databases/Servers
 URL:            https://github.com/citusdata/pg_cron
 Source:         
https://github.com/citusdata/pg_cron/archive/refs/tags/v%{version}.tar.gz#/%{ext_name}-%{version}.tar.gz
-
+Patch0:         pg_cron-32bit-compat.patch
 BuildRequires:  %{pg_name}-llvmjit-devel
 %pg_server_requires
 %if "%{pg_name}" == ""

++++++ pg_cron-32bit-compat.patch ++++++
Index: pg_cron-1.4.1/src/job_metadata.c
===================================================================
--- pg_cron-1.4.1.orig/src/job_metadata.c
+++ pg_cron-1.4.1/src/job_metadata.c
@@ -1359,7 +1359,7 @@ AlterJob(int64 jobId, text *scheduleText
        pfree(querybuf.data);
 
        if (SPI_processed <= 0)
-               elog(ERROR, "Job %ld does not exist or you don't own it", 
jobId);
+               elog(ERROR, "Job %lld does not exist or you don't own it", 
(long long int)jobId);
 
        SPI_finish();
        SetUserIdAndSecContext(savedUserId, savedSecurityContext);

Reply via email to