[crux-commits] ports/contrib (3.6): libblockdev: fix glib depreciated function warning

crux at crux.nu crux at crux.nu
Sun Apr 11 02:25:34 UTC 2021


commit 32e606eafcd220b11155c004143aff84f8dd93e5
Author: Danny Rawlins <contact at romster.me>
Date:   Sun Apr 11 12:25:06 2021 +1000

    libblockdev: fix glib depreciated function warning

diff --git a/libblockdev/.signature b/libblockdev/.signature
index f780c6f2d..db400a8bf 100644
--- a/libblockdev/.signature
+++ b/libblockdev/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3wNPb5mk3aTDL1O3B6gym1+GRajxycLPQdZdKv2fGWUmHjejLadiBJMdPfhQmF+oZpo7ikOvNNUAknhAcfgirwg=
-SHA256 (Pkgfile) = 11bfa577d7e29362875c756785126acd5160707da44048a9a0d11b987b79fca9
+RWSagIOpLGJF3yrOvm5O/Yo6y2cDFE+xbVydZ3dY4AzRsFHzFJtsyL+bFW6KeWJwGjxUixapcCtF6nM/N80LHnJPgAEJHlDq3gM=
+SHA256 (Pkgfile) = fe09043b393c2d6c9922df64a38bff607b227c656885ac1f7135e43c35a141df
 SHA256 (.footprint) = 5cf9b566e54a6c68f2335801e5ecca35e9ff01840fb42e155a5fbe1f4bd65203
 SHA256 (libblockdev-2.25.tar.gz) = 555aa42a2db39649ad83253bdc902ab5bd63d39c123e0c8055c4de7fe7571668
 SHA256 (foo.patch) = bf89ef671f4c157b12d307ad41eb69630770c3a9ce14a932d2e22d87f27c8b80
diff --git a/libblockdev/Pkgfile b/libblockdev/Pkgfile
index b1793d4f3..95df5e865 100644
--- a/libblockdev/Pkgfile
+++ b/libblockdev/Pkgfile
@@ -11,6 +11,7 @@ source=(https://github.com/storaged-project/$name/releases/download/$version-1/$
 build() {
   cd $name-$version
 
+  export CFLAGS="${CFLAGS} -Wno-deprecated-declarations"
   patch -Np1 -i $SRC/foo.patch
   aclocal
   automake


More information about the crux-commits mailing list