fix compilation on big-endian (missing include)
This commit is contained in:
parent
0df3851035
commit
f5b754230b
2 changed files with 17 additions and 0 deletions
13
ags-big.patch
Normal file
13
ags-big.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff -up ags-v.3.5.0.25/Common/util/compress.cpp.big ags-v.3.5.0.25/Common/util/compress.cpp
|
||||
--- ags-v.3.5.0.25/Common/util/compress.cpp.big 2020-07-12 00:18:03.000000000 +0000
|
||||
+++ ags-v.3.5.0.25/Common/util/compress.cpp 2020-08-05 14:33:42.303360129 +0000
|
||||
@@ -25,6 +25,9 @@
|
||||
#include "util/lzw.h"
|
||||
#include "util/misc.h"
|
||||
#include "util/stream.h"
|
||||
+#if AGS_PLATFORM_ENDIAN_BIG
|
||||
+#include "util/bbop.h"
|
||||
+#endif
|
||||
|
||||
using namespace AGS::Common;
|
||||
|
||||
4
ags.spec
4
ags.spec
|
|
@ -16,6 +16,8 @@ Patch2: %{name}-use-system-freetype.patch
|
|||
Patch3: %{name}-gcc10.patch
|
||||
# use dynamic linking for dumb
|
||||
Patch4: %{name}-dynamic-dumb.patch
|
||||
# fix compilation on big-endian (missing include)
|
||||
Patch5: %{name}-big.patch
|
||||
License: Artistic 2.0 and BSD and Giftware and LGPLv2+ and Public Domain and zlib
|
||||
BuildRequires: alfont-devel
|
||||
BuildRequires: allegro-devel
|
||||
|
|
@ -61,6 +63,7 @@ since continued to be developed by contributors.
|
|||
%patch2 -p1 -b .noft
|
||||
%patch3 -p1 -b .gcc10
|
||||
%patch4 -p1 -b .dynamic
|
||||
%patch5 -p1 -b .big
|
||||
# delete unused bundled stuff
|
||||
pushd Common/libinclude
|
||||
rm -r internal
|
||||
|
|
@ -101,6 +104,7 @@ make V=1 -C Engine PREFIX=%{buildroot}%{_prefix} install
|
|||
- fix compilation with GCC10 (missing cstdio includes)
|
||||
- unbundle freetype
|
||||
- fix linking against system libdumb
|
||||
- fix compilation on big-endian (missing include)
|
||||
|
||||
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4.2-4
|
||||
- Second attempt - Rebuilt for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue