Hello community,

here is the log from the commit of package sysdig for openSUSE:Leap:15.2 
checked in at 2020-02-26 13:32:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/sysdig (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.sysdig.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sysdig"

Wed Feb 26 13:32:57 2020 rev:25 rq:779039 version:0.26.5

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/sysdig/sysdig.changes  2020-01-15 
16:04:55.315973209 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.sysdig.new.26092/sysdig.changes       
2020-02-26 13:33:09.438344961 +0100
@@ -1,0 +2,5 @@
+Mon Feb 24 06:20:53 UTC 2020 - Marcus Meissner <[email protected]>
+
+- sysdig-32bit.patch: make build on 32bit
+
+-------------------------------------------------------------------

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

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

Other differences:
------------------
++++++ sysdig.spec ++++++
--- /var/tmp/diff_new_pack.sMmViP/_old  2020-02-26 13:33:10.122346320 +0100
+++ /var/tmp/diff_new_pack.sMmViP/_new  2020-02-26 13:33:10.126346328 +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