hedgewars.git
3 years agofcea0f51d94f
Debian Games Team [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
fcea0f51d94f

# HG changeset patch
# User S.D.
# Date 1662491307 -10800
# Node ID fcea0f51d94f11bd327af582c78a781740e8786a
# Parent  8fd36e1b66edcbab60b5feb6e1dae3366f1e2ad9
Fix the sound issues and crashes on some platforms

This commit updates misc/libphyslayer/physfsrwops.* files to the latest versions
provided by PhysFS project (https://github.com/icculus/physfs/tree/main/extras/).

Gbp-Pq: Name fcea0f51d94f.patch

3 years agoCherry-pick change 42f7e397894c5132b4706f478e62ce5d648119c1 into our custom embedded...
Gianfranco Costamagna [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
Cherry-pick change 42f7e397894c5132b4706f478e62ce5d648119c1 into our custom embedded version

Forwarded: irc
Last-Update: 2022-08-05

Gbp-Pq: Name new-cmake-3.24-build-fix.patch

3 years agof09db263bc2a
Debian Games Team [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
f09db263bc2a

# HG changeset patch
# User unC0Rr
# Date 1603362815 -7200
# Node ID f09db263bc2aa9cc522dda0134650b8201b3ef4a
# Parent  a4558e2be08c0d5cf9c37ea58a76df14b9a867ed
Mark global variables in implementation section static

Gbp-Pq: Name f09db263bc2a.patch

3 years agod63b05
Debian Games Team [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
d63b05

# HG changeset patch
# User unc0rr
# Date 1603217384 -7200
# Node ID 036263d63b05e954624444d32c5116c2329bce80
# Parent  82fd124e6512b0a89162ae984ff908306455703f
Fix lack of declaration decorations for dynamic arrays in Pas2C

Gbp-Pq: Name 036263d63b05.patch

3 years ago[PATCH] Fix build with Qt 5.15+
felixonmars [Thu, 4 Jun 2020 10:33:24 +0000 (12:33 +0200)]
[PATCH] Fix build with Qt 5.15+

Gbp-Pq: Name 0eb95ff5c1c29887f14ecb2bb5f9c3cdd8b3ff29.patch

3 years agoFix/Workaround build failure with newer fpc 3.2.0
Debian Games Team [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
Fix/Workaround build failure with newer fpc 3.2.0

Origin: http://hg.hedgewars.org/hedgewars/rev/6832dab555ae
Bug-Debian: https://bugs.debian.org/968125
Last-Update: 2020-08-10

Gbp-Pq: Name fpc-3.2.0.patch

3 years agoMake the new network-bsd package optional, by implementing the keyword REQUIRED in...
Gianfranco Costamagna [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
Make the new network-bsd package optional, by implementing the keyword REQUIRED in the check_haskell_package_exists macro

Last-Update: 2020-07-08

Gbp-Pq: Name optional-network-bsd.patch

3 years agohedgewars-1.0.0-server-network3
Debian Games Team [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
hedgewars-1.0.0-server-network3

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=1853122

===================================================================

Gbp-Pq: Name hedgewars-1.0.0-server-network3.patch

3 years agosdl2-fixes
Debian Games Team [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
sdl2-fixes

Origin: https://github.com/JACoders/OpenJK/commit/52030235f052772008d99e6ccb16de48e7ddb688

 Remove FindSDL2 find-module, use sdl2-config.cmake instead

This requires SDL >= 2.0.4.

Since <https://bugzilla.libsdl.org/show_bug.cgi?id=2464> was fixed in
SDL 2.0.4, SDL behaves as a CMake "config-file package", even if it was
not itself built using CMake: it installs a sdl2-config.cmake file to
${libdir}/cmake/SDL2, which tells CMake where to find SDL's headers and
library, analogous to a pkg-config .pc file.

As a result, we no longer need to copy/paste a "find-module package"
to be able to find a system copy of SDL >= 2.0.4 with find_package(SDL2).
Find-module packages are now discouraged by the CMake developers, in
favour of having upstream projects behave as config-file packages.

This results in a small API change: FindSDL2 used to set SDL2_INCLUDE_DIR
and SDL2_LIBRARY, but the standard behaviour for config-file packages is
to set <name>_INCLUDE_DIRS and <name>_LIBRARIES. Use the CONFIG keyword
to make sure we search in config-file package mode, and will not find a
FindSDL2.cmake in some other directory that implements the old interface.

In addition to deleting redundant code, this avoids some assumptions in
FindSDL2 about the layout of a SDL installation. The current libsdl2-dev
package in Debian breaks those assumptions; this is considered a bug
and will hopefully be fixed soon, but it illustrates how fragile these
assumptions can be. We can be more robust against different installation
layouts by relying on SDL's own CMake integration.

When linking to a copy of CMake in a non-standard location, users can
now set the SDL2_DIR or CMAKE_PREFIX_PATH environment variable to point
to it; previously, these users would have used the SDL2DIR environment
variable. This continues to be unnecessary if using matching system-wide
installations of CMake and SDL2, for example both from Debian.

Mitigates: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951087
Signed-off-by: Simon McVittie <smcv@debian.org>
Gbp-Pq: Name sdl2-fixes.patch

3 years agohedgewars (1.0.0-20) unstable; urgency=medium
Gianfranco Costamagna [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
hedgewars (1.0.0-20) unstable; urgency=medium

  * Add upstream patch to fix sound issues and crashes on platforms with newer sdl

[dgit import unpatched hedgewars 1.0.0-20]

3 years agoImport hedgewars_1.0.0-20.debian.tar.xz
Gianfranco Costamagna [Wed, 7 Sep 2022 05:25:07 +0000 (06:25 +0100)]
Import hedgewars_1.0.0-20.debian.tar.xz

[dgit import tarball hedgewars 1.0.0-20 hedgewars_1.0.0-20.debian.tar.xz]

6 years agoImport hedgewars_1.0.0.orig.tar.bz2
Gianfranco Costamagna [Thu, 10 Oct 2019 10:10:10 +0000 (11:10 +0100)]
Import hedgewars_1.0.0.orig.tar.bz2

[dgit import orig hedgewars_1.0.0.orig.tar.bz2]