aboutsummaryrefslogtreecommitdiff
path: root/games/ivan
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-22 21:28:52 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-22 21:28:52 +0000
commit78fc2389396571897986cf811b109565ee8ef221 (patch)
tree11f1e0f4f424a48979fdc4c6559758d2b3785cf2 /games/ivan
parentec3979073655008b22138f23ad0374e93a9e927c (diff)
downloadports-78fc2389396571897986cf811b109565ee8ef221.tar.gz
ports-78fc2389396571897986cf811b109565ee8ef221.zip
Notes
Diffstat (limited to 'games/ivan')
-rw-r--r--games/ivan/Makefile4
-rw-r--r--games/ivan/files/patch-FeLib-Include-festring.h8
-rw-r--r--games/ivan/files/patch-FeLib-Source-bitmap.cpp6
-rw-r--r--games/ivan/files/patch-FeLib-Source-festring.cpp22
-rw-r--r--games/ivan/files/patch-Makefile.in (renamed from games/ivan/files/patch-configure)6
5 files changed, 24 insertions, 22 deletions
diff --git a/games/ivan/Makefile b/games/ivan/Makefile
index b29fd0616f09..880e79c73e7f 100644
--- a/games/ivan/Makefile
+++ b/games/ivan/Makefile
@@ -16,10 +16,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_armv6= fails to compile: use of overloaded operator '<<' is ambiguous
BROKEN_armv7= fails to compile: use of overloaded operator '<<' is ambiguous
-USE_SDL= sdl
USES= gmake
+USE_SDL= sdl
GNU_CONFIGURE= yes
+CXXFLAGS+= -Wno-c++11-narrowing
+
CONFIGURE_ARGS= --localstatedir=/var/games
PORTSCOUT= skipv:0.301,0.310,0.311,0.401,0.410,0.420,0.430
diff --git a/games/ivan/files/patch-FeLib-Include-festring.h b/games/ivan/files/patch-FeLib-Include-festring.h
index 786997e3efa9..e788eed7ee58 100644
--- a/games/ivan/files/patch-FeLib-Include-festring.h
+++ b/games/ivan/files/patch-FeLib-Include-festring.h
@@ -1,6 +1,6 @@
---- FeLib/Include/festring.h.orig 2004-10-26 23:35:44.000000000 +0400
-+++ FeLib/Include/festring.h 2013-11-08 16:54:09.080772415 +0400
-@@ -142,7 +142,7 @@
+--- FeLib/Include/festring.h.orig 2004-10-26 19:35:44 UTC
++++ FeLib/Include/festring.h
+@@ -142,7 +142,7 @@ inline festring::festring(const festring
inline festring::festring(sizetype N)
: Size(N), OwnsData(true), Reserved(N|FESTRING_PAGE)
{
@@ -9,7 +9,7 @@
REFS(Ptr) = 0;
Data = Ptr;
}
-@@ -150,7 +150,7 @@
+@@ -150,7 +150,7 @@ inline festring::festring(sizetype N)
inline festring::festring(sizetype N, char C)
: Size(N), OwnsData(true), Reserved(N|FESTRING_PAGE)
{
diff --git a/games/ivan/files/patch-FeLib-Source-bitmap.cpp b/games/ivan/files/patch-FeLib-Source-bitmap.cpp
index 3ab45e7e3469..32e23cb144ac 100644
--- a/games/ivan/files/patch-FeLib-Source-bitmap.cpp
+++ b/games/ivan/files/patch-FeLib-Source-bitmap.cpp
@@ -1,6 +1,6 @@
---- FeLib/Source/bitmap.cpp.orig 2004-10-26 23:35:47.000000000 +0400
-+++ FeLib/Source/bitmap.cpp 2013-05-30 22:23:14.349113259 +0400
-@@ -873,12 +873,12 @@
+--- FeLib/Source/bitmap.cpp.orig 2004-10-26 19:35:47 UTC
++++ FeLib/Source/bitmap.cpp
+@@ -873,12 +873,12 @@ void bitmap::DrawLine(int OrigFromX, int
static const int PointY[] = { 0, -1, 0, 0, 1 };
const int Times = Wide ? 5 : 1;
diff --git a/games/ivan/files/patch-FeLib-Source-festring.cpp b/games/ivan/files/patch-FeLib-Source-festring.cpp
index 8950b6714f5d..c6eef62d0da9 100644
--- a/games/ivan/files/patch-FeLib-Source-festring.cpp
+++ b/games/ivan/files/patch-FeLib-Source-festring.cpp
@@ -1,5 +1,5 @@
---- FeLib/Source/festring.cpp.orig 2004-11-11 20:27:44.000000000 +0300
-+++ FeLib/Source/festring.cpp 2013-11-08 16:54:46.925772448 +0400
+--- FeLib/Source/festring.cpp.orig 2004-11-11 17:27:44 UTC
++++ FeLib/Source/festring.cpp
@@ -11,6 +11,7 @@
*/
@@ -8,7 +8,7 @@
#include "festring.h"
#include "allocate.h"
-@@ -116,7 +117,7 @@
+@@ -116,7 +117,7 @@ void festring::CreateOwnData(const char*
{
Size = N;
Reserved = N|FESTRING_PAGE;
@@ -17,7 +17,7 @@
REFS(Ptr) = 0;
Data = Ptr;
memcpy(Ptr, CStr, N);
-@@ -137,7 +138,7 @@
+@@ -137,7 +138,7 @@ void festring::SlowAppend(char Char)
DeletePtr = &REFS(OldPtr);
Reserved = NewSize|FESTRING_PAGE;
@@ -26,7 +26,7 @@
REFS(NewPtr) = 0;
Data = NewPtr;
memcpy(NewPtr, OldPtr, OldSize);
-@@ -150,7 +151,7 @@
+@@ -150,7 +151,7 @@ void festring::SlowAppend(char Char)
{
Size = 1;
Reserved = FESTRING_PAGE;
@@ -35,7 +35,7 @@
REFS(Ptr) = 0;
Ptr[0] = Char;
Data = Ptr;
-@@ -174,7 +175,7 @@
+@@ -174,7 +175,7 @@ void festring::SlowAppend(const char* CS
DeletePtr = &REFS(OldPtr);
Reserved = NewSize|FESTRING_PAGE;
@@ -44,7 +44,7 @@
REFS(NewPtr) = 0;
Data = NewPtr;
memcpy(NewPtr, OldPtr, OldSize);
-@@ -205,7 +206,7 @@
+@@ -205,7 +206,7 @@ void festring::Assign(sizetype N, char C
}
Reserved = N|FESTRING_PAGE;
@@ -53,7 +53,7 @@
REFS(Ptr) = 0;
Data = Ptr;
memset(Ptr, C, N);
-@@ -240,7 +241,7 @@
+@@ -240,7 +241,7 @@ void festring::Resize(sizetype N, char C
}
Reserved = N|FESTRING_PAGE;
@@ -62,7 +62,7 @@
REFS(NewPtr) = 0;
Data = NewPtr;
memcpy(NewPtr, OldPtr, OldSize);
-@@ -259,7 +260,7 @@
+@@ -259,7 +260,7 @@ void festring::Resize(sizetype N, char C
--REFS(OldPtr);
Reserved = N|FESTRING_PAGE;
@@ -71,7 +71,7 @@
REFS(NewPtr) = 0;
Data = NewPtr;
memcpy(NewPtr, OldPtr, N);
-@@ -362,7 +363,7 @@
+@@ -362,7 +363,7 @@ void festring::Erase(sizetype Pos, sizet
sizetype NewSize = MoveReq ? OldSize - Length : Pos;
Size = NewSize;
Reserved = NewSize|FESTRING_PAGE;
@@ -80,7 +80,7 @@
REFS(Ptr) = 0;
Data = Ptr;
OwnsData = true;
-@@ -411,7 +412,7 @@
+@@ -411,7 +412,7 @@ void festring::Insert(sizetype Pos, cons
}
Reserved = NewSize|FESTRING_PAGE;
diff --git a/games/ivan/files/patch-configure b/games/ivan/files/patch-Makefile.in
index d7d97b0faabd..8ecb6f1dbe20 100644
--- a/games/ivan/files/patch-configure
+++ b/games/ivan/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig Thu Nov 3 04:38:15 2005
-+++ Makefile.in Thu Nov 3 04:38:57 2005
-@@ -338,16 +338,6 @@
+--- Makefile.in.orig 2004-12-10 21:34:29 UTC
++++ Makefile.in
+@@ -338,16 +338,6 @@ maintainer-clean-generic clean mostlycle
install-data-local: