1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-17 19:39:43 +00:00

games/hedgewars: update 1.0.0 → 1.0.2

This commit is contained in:
Dmitry Marakasov 2022-09-19 19:34:49 +03:00
parent 644f1079be
commit 163bb5b576
5 changed files with 5 additions and 52 deletions

View File

@ -1,9 +1,7 @@
PORTNAME= hedgewars
PORTVERSION= 1.0.0
PORTREVISION= 9
PORTVERSION= 1.0.2
CATEGORIES= games
MASTER_SITES= http://www.hedgewars.org/download/releases/ \
http://mirror.amdmi3.ru/distfiles/
MASTER_SITES= https://www.hedgewars.org/download/releases/
DISTNAME= ${PORTNAME}-src-${DISTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
@ -13,8 +11,6 @@ WWW= https://www.hedgewars.org
LICENSE= GPLv2 GFDL
LICENSE_COMB= multi
BROKEN_i386= ld: error: duplicate symbol: LandDirty_dimension_info
LIB_DEPENDS= libphysfs.so:devel/physfs \
libpng.so:graphics/png
@ -38,10 +34,6 @@ PLIST_FILES= bin/${PORTNAME} bin/hwengine \
lib/libphyslayer.so.1.0
PORTDATA= *
USE_LOCALE= en_US.UTF-8
MAKE_ENV= LOCALBASE="${LOCALBASE}" # fpc issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251712
CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" # fpc issue https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251712
OPTIONS_DEFINE= VIDEOREC
OPTIONS_DEFAULT=VIDEOREC
OPTIONS_EXCLUDE_i386= VIDEOREC # some pascal issues preventing to use it

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1573677222
SHA256 (hedgewars-src-1.0.0.tar.bz2) = 211634e61f2e4beecc3c98c6f749601fcd08321fda1ba969b3b3832a004f155b
SIZE (hedgewars-src-1.0.0.tar.bz2) = 177668452
TIMESTAMP = 1663086973
SHA256 (hedgewars-src-1.0.2.tar.bz2) = 201fe5e45bd8ca5b3d81b18ec06bd6bbc9fa7c2c63bf019005e2f80be5bcf212
SIZE (hedgewars-src-1.0.2.tar.bz2) = 177564706

View File

@ -1,10 +0,0 @@
--- QTfrontend/drawmapscene.cpp.orig 2020-05-21 07:21:20 UTC
+++ QTfrontend/drawmapscene.cpp
@@ -19,6 +19,7 @@
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsPathItem>
#include <QtEndian>
+#include <QPainterPath>
#include <QDebug>
#include <QTransform>
#include <math.h>

View File

@ -1,10 +0,0 @@
--- QTfrontend/ui/page/pagegamestats.cpp.orig 2020-05-21 07:21:30 UTC
+++ QTfrontend/ui/page/pagegamestats.cpp
@@ -22,6 +22,7 @@
#include <QGraphicsScene>
#include <QGroupBox>
#include <QSizePolicy>
+#include <QPainterPath>
#include "pagegamestats.h"
#include "team.h"

View File

@ -1,19 +0,0 @@
--- hedgewars/uWorld.pas.orig 2019-10-07 12:29:22 UTC
+++ hedgewars/uWorld.pas
@@ -1126,11 +1126,13 @@ end;
var preShiftWorldDx: LongInt;
-procedure ShiftWorld(Dir: LongInt); inline;
+procedure ShiftWorld(Dir: LongInt);
+var
+ tmp: LongInt;
begin
preShiftWorldDx:= WorldDx;
- WorldDx:= WorldDx + LongInt(Dir * LongInt(playWidth));
-
+ tmp := LongInt(Dir * LongInt(playWidth));
+ WorldDx := WorldDx + tmp;
end;
procedure UnshiftWorld(); inline;