Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37427411
en ru br
Репозитории ALT

Группа :: Графические оболочки/Прочее
Пакет: SPICE

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: 0009-tests-Fix--Wodr-warning-compiling-tests-with-LTO-enabled.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin