[crux-commits] ports/opt (3.5): exiv2: silence build by removing deprecated warnings

crux at crux.nu crux at crux.nu
Sun Jul 5 17:17:07 UTC 2020


commit 23e96c38a040dec521f739df8b7bd5850604093c
Author: Juergen Daubert <jue at jue.li>
Date:   Sun Jul 5 17:15:38 2020 +0200

    exiv2: silence build by removing deprecated warnings

diff --git a/exiv2/.signature b/exiv2/.signature
index c00603edb..3e26292ac 100644
--- a/exiv2/.signature
+++ b/exiv2/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/eqosKbhtHtq4nfU7W+tH7+8SlkJB+vVH/sLojaMz1OudIZ+MRQEfLjcwrJg9WihkiYQ8xF65RoAqqy5URn9yAg=
-SHA256 (Pkgfile) = 5aff1ad16f747fd915e9be8b3ad172b5124beca055137785bf622b43df187a4d
+RWSE3ohX2g5d/Xq1wwwQV6rX5QlvzP1Op7fUsvomQwOIRDMlayW0tQW8RiE8yQhQ/cCZI2qCdngEoE2pzjRCf3JnkOmU6oatlwA=
+SHA256 (Pkgfile) = 90ee092a91016fde6ce23f1443b87c368d8f738d05d17a5e92d5d0469db36e3e
 SHA256 (.footprint) = f0be1a2ef91ca7a369adb22e8904c3174a5accad6a1c3286810b4b4b110ecf40
 SHA256 (exiv2-0.27.3.tar.gz) = 6398bc743c32b85b2cb2a604273b8c90aa4eb0fd7c1700bf66cbb2712b4f00c1
diff --git a/exiv2/Pkgfile b/exiv2/Pkgfile
index 39b0f66db..1a90fa450 100644
--- a/exiv2/Pkgfile
+++ b/exiv2/Pkgfile
@@ -9,6 +9,9 @@ release=1
 source=(https://github.com/Exiv2/exiv2/archive/v$version/$name-$version.tar.gz)
 
 build() {
+
+	export CXXFLAGS+=" -Wno-deprecated-declarations"
+
 	cmake -S$name-$version -Bbuild \
 		-DCMAKE_BUILD_TYPE=Release \
 		-DCMAKE_INSTALL_PREFIX=/usr \


More information about the crux-commits mailing list