Your message dated Sun, 09 Apr 2023 08:21:25 +0000
with message-id <[email protected]>
and subject line unblock castle-game-engine
has caused the Debian Bug report #1033901,
regarding unblock: castle-game-engine/7.0~alpha.2+dfsg1-5
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1033901: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033901
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock
Please unblock package castle-game-engine
[ Reason ]
Fix compilation on mipsel architecture (Closes: Bug#891683)
[ Impact ]
No impact on other architectures. Fixes the compilation on mipsel.
[ Tests ]
The test suite was running on other architectures and will run on mipsel.
[ Risks ]
Probably none.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
[ Other info ]
This will allow to bring mipsel to the supported architectures while not
impacting at all any other architecture.
The changes are just fixing compilation directives that are specific to mips
and mipsel.
unblock castle-game-engine/7.0~alpha.2+dfsg1-4
diff -Nru castle-game-engine-7.0~alpha.2+dfsg1/debian/changelog
castle-game-engine-7.0~alpha.2+dfsg1/debian/changelog
--- castle-game-engine-7.0~alpha.2+dfsg1/debian/changelog 2023-04-02
16:44:18.000000000 +0200
+++ castle-game-engine-7.0~alpha.2+dfsg1/debian/changelog 2023-04-03
15:07:29.000000000 +0200
@@ -1,3 +1,11 @@
+castle-game-engine (7.0~alpha.2+dfsg1-4) unstable; urgency=medium
+
+ * Fixed compilation on mipsel.
+ On mipsel both CPUmips and CPUmipsel are defined by the compiler.
+ (Closes: Bug#891683)
+
+ -- Abou Al Montacir <[email protected]> Mon, 03 Apr 2023 15:07:29 +0200
+
castle-game-engine (7.0~alpha.2+dfsg1-3) unstable; urgency=medium
* Removed unused binary files to fix lintian reported errors.
diff -Nru
castle-game-engine-7.0~alpha.2+dfsg1/debian/patches/Fixed-compilation-on-mipsel.patch
castle-game-engine-7.0~alpha.2+dfsg1/debian/patches/Fixed-compilation-on-mipsel.patch
---
castle-game-engine-7.0~alpha.2+dfsg1/debian/patches/Fixed-compilation-on-mipsel.patch
1970-01-01 01:00:00.000000000 +0100
+++
castle-game-engine-7.0~alpha.2+dfsg1/debian/patches/Fixed-compilation-on-mipsel.patch
2023-04-03 15:04:37.000000000 +0200
@@ -0,0 +1,22 @@
+Description: Fixed compilation on mipsel
+ This patch fixes a bug causing CGE not compile on mipsel architecture.
+ .
+ The issue was that on mipsel both CPUmips and CPUmipsel are defined by the
+ compiler.
+Author: Abou Al Montacir <[email protected]>
+
+diff --git a/tools/common-code/toolarchitectures.pas
b/tools/common-code/toolarchitectures.pas
+index 905fa46..9ae4e07 100644
+--- a/tools/common-code/toolarchitectures.pas
++++ b/tools/common-code/toolarchitectures.pas
+@@ -138,8 +138,8 @@ const
+ {$ifdef CPUpowerpc64} powerpc64 {$endif}
+ {$ifdef CPUavr} avr {$endif}
+ {$ifdef CPUarmeb} armeb {$endif}
+- {$ifdef CPUmips} mips {$endif}
+- {$ifdef CPUmipsel} mipsel {$endif}
++ {$ifdef CPUmipsel} mipsel {$else}
++ {$ifdef CPUmips} mips {$endif}{$endif}
+ {$ifdef CPUjvm} jvm {$endif}
+ {$ifdef CPUi8086} i8086 {$endif}
+ {$ifdef CPUsparc64} sparc64 {$endif}
diff -Nru castle-game-engine-7.0~alpha.2+dfsg1/debian/patches/series
castle-game-engine-7.0~alpha.2+dfsg1/debian/patches/series
--- castle-game-engine-7.0~alpha.2+dfsg1/debian/patches/series 2022-10-24
20:06:20.000000000 +0200
+++ castle-game-engine-7.0~alpha.2+dfsg1/debian/patches/series 2023-04-03
08:43:08.000000000 +0200
@@ -7,3 +7,4 @@
77c97ef135eb5ad95c05d90edae11fa3d2863359.patch
Fix-UTF-8-BOM.patch
f0fe0583dded3d0c27ae46fde59a00f58a777e46.patch
+Fixed-compilation-on-mipsel.patch
--- End Message ---
--- Begin Message ---
Unblocked.
--- End Message ---