Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37756167
en ru br
ALT Linux repos
S:0.15.2-alt1

Group :: Graphical desktop/Other
RPM: SPICE

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 0009-tests-Fix--Wodr-warning-compiling-tests-with-LTO-enabled.patch
Download


From 0b86b6808a06c482ea2bdef9f24be42e0dcb74ae Mon Sep 17 00:00:00 2001
From: Frediano Ziglio <freddy77@gmail.com>
Date: Tue, 11 May 2021 05:14:16 +0100
Subject: [PATCH] tests: Fix -Wodr warning compiling tests with LTO enabled
Avoid the compiler to see 2 different defines of the same
structure.
Reported by Tomasz Kłoczko in
https://gitlab.freedesktop.org/spice/spice/-/issues/44
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
---
 server/tests/test-display-base.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/tests/test-display-base.h b/server/tests/test-display-base.h
index 4e86509..a5e1f1b 100644
--- a/server/tests/test-display-base.h
+++ b/server/tests/test-display-base.h
@@ -18,7 +18,7 @@
 #ifndef __TEST_DISPLAY_BASE_H__
 #define __TEST_DISPLAY_BASE_H__
 
-#include <spice.h>
+#include "spice-wrapped.h"
 #include "basic-event-loop.h"
 
 SPICE_BEGIN_DECLS
--
libgit2 1.3.0
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin