Debian Patches

Status for numatop/2.1-4

Patch Description Author Forwarded Bugs Origin Last update
fix-build-host-detection-for-i686-and-ppc.patch =================================================================== no
0001-Swap-link-arg-order-here.patch [PATCH] Swap link arg order here.
In a mock buildroot, this would otherwise fail linking due
to the ordering.
Auke Kok <auke-jan.h.kok@intel.com> no 2018-05-11
0002-configure.ac-add-build-support-for-32-bit-i686-archi.patch [PATCH] configure.ac: add build support for 32 bit i686 architectures
Set CPU_INTEL for i686 as well as for x86-64 CPUs
Colin Ian King <colin.king@canonical.com> no 2018-05-18
0003-configure.ac-add-build-support-for-32-bit-i686-archi.patch [PATCH] configure.ac: add build support for 32 bit i686 architectures
Correctly Set CPU_INTEL for i686 as well as for x86-64 CPUs. Use
same logic for powerpc variants for CPU_PPC
Colin Ian King <colin.king@canonical.com> no 2018-05-18
0004-common-os-ensure-command-buffer-is-large-enough-fix-.patch [PATCH] common/os: ensure command buffer is large enough (fix gcc warnings)

Make command buffer large enough, fixes gcc 8.2 warnings:

common/os/os_util.c: In function ‘os_sysfs_cmt_task_set’:
common/os/os_util.c:781:45: warning: ‘%s’ directive output
may be truncated writing up to 127 bytes into a region of
size 121 [-Wformat-truncation=]
snprintf(command, sizeof(command), "rm -rf %s 2>/dev/null", path);
^~ ~~~~

common/os/os_util.c:785:44: warning: ‘%s’ directive output
may be truncated writing up to 127 bytes into a region of
size 122 [-Wformat-truncation=]
snprintf(command, sizeof(command), "mkdir %s 2>/dev/null", path);
^~ ~~~~

common/os/os_util.c:794:15: warning: ‘%s’ directive output
may be truncated writing up to 127 bytes into a region of
size between 109 and 119 [-Wformat-truncation=]

"echo %d > %s/tasks", lwpid, path);
^~ ~~~~

common/os/os_util.c:791:15: warning: ‘%s’ directive output
may be truncated writing up to 127 bytes into a region of
size between 109 and 119 [-Wformat-truncation=]

"echo %d > %s/tasks", pid, path);
^~ ~~~~
In file included from /usr/include/stdio.h:862,
from common/os/os_util.c:33:
Colin Ian King <colin.king@canonical.com> no 2018-08-07
0005-Trivial-fix-to-spelling-mistakes-in-source.patch [PATCH] Trivial fix to spelling mistakes in source
Nothing major, just a few spelling mistake fixes
Colin Ian King <colin.king@canonical.com> no 2019-02-03
0006-Fix-several-printf-format-specifiers.patch [PATCH] Fix several printf format specifiers
There are several format specifiers that are incorrect, use %zu for
size_t values and %lx for u64 values.
Colin Ian King <colin.king@canonical.com> no 2020-01-13
0007-Clean-up-32-bit-build-warnings.patch [PATCH] Clean up 32 bit build warnings
The casting of uint64_t sized address values to void * pointers is
causing build warnings on 32 bit builds. A simple remedy is to
cast uint64_t values to uintptr_t types before casting them to void *
pointers.
Colin Ian King <colin.king@canonical.com> no 2020-01-13

All known versions for source package 'numatop'

Links