Hello community,

here is the log from the commit of package sysdig for openSUSE:Factory checked 
in at 2020-02-24 15:54:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sysdig (Old)
 and      /work/SRC/openSUSE:Factory/.sysdig.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sysdig"

Mon Feb 24 15:54:48 2020 rev:28 rq:778694 version:0.26.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/sysdig/sysdig.changes    2020-01-10 
17:49:57.978130471 +0100
+++ /work/SRC/openSUSE:Factory/.sysdig.new.26092/sysdig.changes 2020-02-24 
15:57:16.464105186 +0100
@@ -1,0 +2,5 @@
+Mon Feb 24 06:20:53 UTC 2020 - Marcus Meissner <meiss...@suse.com>
+
+- sysdig-32bit.patch: make build on 32bit
+
+-------------------------------------------------------------------

New:
----
  sysdig-32bit.patch

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

Other differences:
------------------
++++++ sysdig.spec ++++++
--- /var/tmp/diff_new_pack.wcAqtI/_old  2020-02-24 15:57:17.024106344 +0100
+++ /var/tmp/diff_new_pack.wcAqtI/_new  2020-02-24 15:57:17.024106344 +0100
@@ -25,6 +25,7 @@
 URL:            http://www.sysdig.org/
 Source0:        
https://github.com/draios/%{name}/archive/%{version}/sysdig-%{version}.tar.gz
 BuildRequires:  %{kernel_module_package_buildreqs}
+Patch0:         sysdig-32bit.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -52,7 +53,8 @@
 cherry on top.
 
 %prep
-%autosetup
+%setup -q
+%patch0 -p0
 
 %build
 export SYSDIG_CHISEL_DIR=%{_datadir}%{name}/chisels

++++++ sysdig-32bit.patch ++++++
Index: userspace/libsinsp/cgroup_limits.cpp
===================================================================
--- userspace/libsinsp/cgroup_limits.cpp
+++ userspace/libsinsp/cgroup_limits.cpp
@@ -9,7 +9,7 @@ namespace {
 // This reports extremely large values (e.g. almost-but-not-quite 9EiB as set 
by k8s) as unlimited.
 // Note: we use the same maximum value for cpu shares/quotas as well; the 
typical values are much lower
 // and so should never exceed CGROUP_VAL_MAX either
-constexpr const int64_t CGROUP_VAL_MAX = (1UL << 42u) - 1;
+constexpr const int64_t CGROUP_VAL_MAX = ((int64_t)1 << 42u) - 1;
 
 /**
  * \brief Read a single int64_t value from cgroupfs

Reply via email to