Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37911750
en ru br
ALT Linux repos
S:4.7.3-alt4_27

Group :: Games/Arcade
RPM: xpilot-ng

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: xpilot-ng-SDL_window.patch
Download


diff --git a/src/client/sdl/scrap.c b/src/client/sdl/scrap.c
index e86beaff931d66e9..557e33f206f84d12 100644
--- a/src/client/sdl/scrap.c
+++ b/src/client/sdl/scrap.c
@@ -57,6 +57,8 @@ typedef uint32_t scrap_type;
 #if defined(X11_SCRAP)
 /* * */
 static Display *SDL_Display;
+/* Avoid conflict with SDL_Window defined in <SDL/SDL_syswm.h>. */
+#define SDL_Window SDL_Window_variable
 static Window SDL_Window;
 static void (*Lock_Display)(void);
 static void (*Unlock_Display)(void);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin