Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37637461
en ru br
ALT Linux repos
S:2.8.0.2-alt1
5.0: 2.1.0.0-alt1
4.1: 2.0.1.0-alt1

Group :: Games/Strategy
RPM: asc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: asc-2.8.0.2-gcc-11.patch
Download


diff -up asc-2.8.0.1/source/libs/sdlmm/src/sdlmm_basesurface.h~ asc-2.8.0.1/source/libs/sdlmm/src/sdlmm_basesurface.h
--- asc-2.8.0.1/source/libs/sdlmm/src/sdlmm_basesurface.h~	2018-02-27 01:20:08.000000000 +0100
+++ asc-2.8.0.1/source/libs/sdlmm/src/sdlmm_basesurface.h	2021-07-29 22:00:31.785819930 +0200
@@ -139,7 +139,7 @@ namespace SDLmm {
     const void *pixels() const { return GetSurface()->pixels; }
 
     //! Returns the hardware-specific surface info.
-    struct private_hwdata *hwdata() const { return GetSurface()->hwdata; }
+    struct private_hwdata *hwdata() const { return (struct private_hwdata *)(GetSurface()->hwdata); }
     //@}
 
     //! Set the pixel to the color
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin