From 05f1fa5fa76e2e0ca4dba7c8b7c27c39c01e459f9e43a5b9f8b923ded195501e Mon Sep 17 00:00:00 2001 From: Richard Rahl Date: Thu, 29 Aug 2024 01:27:18 +0000 Subject: [PATCH] - fix build by using -Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-declarations -Wno-incompatible-pointer-types OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/text-engine?expand=0&rev=6 --- text-engine.changes | 6 ++++++ text-engine.spec | 1 + 2 files changed, 7 insertions(+) diff --git a/text-engine.changes b/text-engine.changes index 8b67a1c..bd6f0d1 100644 --- a/text-engine.changes +++ b/text-engine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 29 01:22:11 UTC 2024 - Richard Rahl + +- fix build by using -Wno-unused-parameter -Wno-unused-variable + -Wno-deprecated-declarations -Wno-incompatible-pointer-types + ------------------------------------------------------------------- Tue Jul 30 08:27:03 UTC 2024 - ming li diff --git a/text-engine.spec b/text-engine.spec index 34d9634..5dfd082 100644 --- a/text-engine.spec +++ b/text-engine.spec @@ -56,6 +56,7 @@ Requires: lib%{name}-%{soversion} >= %{version} %autosetup -p1 %build +export CFLAGS="${optflags} -Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-declarations -Wno-incompatible-pointer-types" %meson %meson_build