hedgewars: rebuild for fpc-3.2.0.
This commit is contained in:
parent
676ca54e31
commit
b425cff956
|
@ -0,0 +1,13 @@
|
|||
--- hedgewars/uWorld.pas
|
||||
+++ hedgewars/uWorld.pas
|
||||
@@ -1168,8 +1168,8 @@ procedure RenderAttackBar();
|
||||
procedure ShiftWorld(Dir: LongInt); inline;
|
||||
begin
|
||||
preShiftWorldDx:= WorldDx;
|
||||
- WorldDx:= WorldDx + LongInt(Dir * LongInt(playWidth));
|
||||
-
|
||||
+ Dir := Dir * LongInt(playWidth);
|
||||
+ WorldDx:= WorldDx + Dir;
|
||||
end;
|
||||
|
||||
procedure UnshiftWorld(); inline;
|
|
@ -0,0 +1,10 @@
|
|||
--- QTfrontend/ui/page/pagegamestats.cpp.orig
|
||||
+++ QTfrontend/ui/page/pagegamestats.cpp
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <QGraphicsScene>
|
||||
#include <QGroupBox>
|
||||
#include <QSizePolicy>
|
||||
+#include <QPainterPath>
|
||||
|
||||
#include "pagegamestats.h"
|
||||
#include "team.h"
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'hedgewars'
|
||||
pkgname=hedgewars
|
||||
version=1.0.0
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname}-src-${version}"
|
||||
build_style=cmake
|
||||
configure_args="-DNOSERVER=1 -DDATA_INSTALL_DIR=/usr/share/${pkgname}
|
||||
|
@ -37,7 +37,7 @@ case $XBPS_TARGET_MACHINE in
|
|||
esac
|
||||
|
||||
if [ -n "$_use_c_engine" ]; then
|
||||
hostmakedepends+=" glew-devel libatomic-devel ghc"
|
||||
hostmakedepends+=" glew-devel libatomic-devel ghc clang"
|
||||
configure_args+=" -DBUILD_ENGINE_C=1"
|
||||
nopie_files+=" /usr/bin/hedgewars"
|
||||
fi
|
||||
|
@ -56,7 +56,6 @@ post_install() {
|
|||
|
||||
hedgewars-data_package() {
|
||||
short_desc+=" - data files"
|
||||
archs=noarch
|
||||
pkg_install() {
|
||||
vmove usr/share/hedgewars/Data
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue