Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / criu


Commits:
5b333b91 by Carl Smedstad at 2026-02-14T23:50:38+01:00
upgpkg: 4.2-3: gcc-libs deprecation

https://archlinux.org/todo/gcc-libs-deprecation/

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = criu
        pkgdesc = Utilities to checkpoint and restore processes in userspace
        pkgver = 4.2
-       pkgrel = 2
+       pkgrel = 3
        url = https://criu.org
        arch = x86_64
        license = GPL-2.0-only
@@ -13,12 +13,12 @@ pkgbase = criu
        makedepends = python-setuptools
        makedepends = python-wheel
        makedepends = xmlto
-       depends = gcc-libs
        depends = glibc
        depends = gnutls
        depends = libbpf
        depends = libbsd
        depends = libdrm
+       depends = libgcc
        depends = libnet
        depends = libnl
        depends = nftables


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 
 pkgname=criu
 pkgver=4.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Utilities to checkpoint and restore processes in userspace'
 arch=('x86_64')
 url='https://criu.org'
@@ -14,12 +14,12 @@ license=(
   'LGPL-2.1-only'
 )
 depends=(
-  'gcc-libs'
   'glibc'
   'gnutls'
   'libbpf'
   'libbsd'
   'libdrm'
+  'libgcc'
   'libnet'
   'libnl'
   'nftables'
@@ -52,6 +52,11 @@ 
source=("git+https://github.com/checkpoint-restore/criu#tag=v$pkgver";)
 
sha512sums=('23836d7a8103e8aa647716c48505ba023bfe1aebd625678986c0543634e3269f5c500cb9eb33eb006d94d78ded619a6ca4e9241b02ed120a3774371fd6e0176a')
 
b2sums=('b13f87a8f2978d1d7be94e39b3b5a02155fbf11473dae57ab1512fb49a0f683c00c09d840b8f817e585a5ae0603dfae5572e2247940e8c7371e106b0fec10999')
 
+prepare() {
+  # Fix -Werror=discarded-qualifiers build failure in tty.c
+  git -C $pkgname cherry-pick -n 90300748effc1cf0fe56e35d3d1cc2ddfedab246
+}
+
 build() {
   cd "$pkgname"
   # shellcheck disable=SC2001



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/criu/-/commit/5b333b9199a5ce3ea9f87cebbffeeb5ea478447c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/criu/-/commit/5b333b9199a5ce3ea9f87cebbffeeb5ea478447c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to