From bb0b7bd86497c864292a7c8d089d00f81707bda2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 22 Sep 2021 21:04:56 +0200 Subject: ArchLinux tdebindings: Update to R14.0.10. Backport patches to resolve FTBFS. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- arch/tde-base/tde-tdebindings/bp000-817f960e.diff | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 arch/tde-base/tde-tdebindings/bp000-817f960e.diff (limited to 'arch/tde-base/tde-tdebindings/bp000-817f960e.diff') diff --git a/arch/tde-base/tde-tdebindings/bp000-817f960e.diff b/arch/tde-base/tde-tdebindings/bp000-817f960e.diff new file mode 100644 index 000000000..e8d31b474 --- /dev/null +++ b/arch/tde-base/tde-tdebindings/bp000-817f960e.diff @@ -0,0 +1,31 @@ +From 817f960e8ecca5074171cfc8267dcebbb1a7f514 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= +Date: Mon, 10 May 2021 20:45:41 +0200 +Subject: Fix FTBFS on Fedora 34 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Qt.cpp:2643:17: error: ordered comparison of pointer with integer zero ('void*' and 'int') + +Signed-off-by: François Andriot +--- + qtruby/rubylib/qtruby/Qt.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/qtruby/rubylib/qtruby/Qt.cpp b/qtruby/rubylib/qtruby/Qt.cpp +index 834cc3b2..abb44588 100644 +--- a/qtruby/rubylib/qtruby/Qt.cpp ++++ b/qtruby/rubylib/qtruby/Qt.cpp +@@ -2640,7 +2640,7 @@ isObject(VALUE /*self*/, VALUE obj) + { + void * ptr = 0; + ptr = value_to_ptr(obj); +- return (ptr > 0 ? Qtrue : Qfalse); ++ return (ptr != 0 ? Qtrue : Qfalse); + } + + static VALUE +-- +cgit v1.2.1 + -- cgit v1.2.1