svn commit: r382915 - in head/games/einstein: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Apr 1 14:10:46 UTC 2015
Author: amdmi3
Date: Wed Apr 1 14:10:44 2015
New Revision: 382915
URL: https://svnweb.freebsd.org/changeset/ports/382915
QAT: https://qat.redports.org/buildarchive/r382915/
Log:
- Fix build on DragonFly
- Strip binary
Added:
head/games/einstein/files/patch-convert.h (contents, props changed)
head/games/einstein/files/patch-unicode.cpp (contents, props changed)
Modified:
head/games/einstein/Makefile
Modified: head/games/einstein/Makefile
==============================================================================
--- head/games/einstein/Makefile Wed Apr 1 14:10:20 2015 (r382914)
+++ head/games/einstein/Makefile Wed Apr 1 14:10:44 2015 (r382915)
@@ -3,7 +3,7 @@
PORTNAME= einstein
PORTVERSION= 2.0
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= http://games.flowix.com/files/einstein/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -20,4 +20,7 @@ post-patch:
-e "s,@@PREFIX@@,${PREFIX}," \
${WRKSRC}/Makefile
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/einstein
+
.include <bsd.port.mk>
Added: head/games/einstein/files/patch-convert.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/einstein/files/patch-convert.h Wed Apr 1 14:10:44 2015 (r382915)
@@ -0,0 +1,10 @@
+--- convert.h.orig 2005-08-14 06:40:58.000000000 +0400
++++ convert.h 2015-03-27 02:57:05.826432000 +0300
+@@ -5,6 +5,7 @@
+ #include <iostream>
+ #include <sstream>
+ #include <string>
++#include <typeinfo>
+
+ #include "exceptions.h"
+ #include "unicode.h"
Added: head/games/einstein/files/patch-unicode.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/einstein/files/patch-unicode.cpp Wed Apr 1 14:10:44 2015 (r382915)
@@ -0,0 +1,9 @@
+--- unicode.cpp.orig 2005-08-14 06:40:58.000000000 +0400
++++ unicode.cpp 2015-03-27 02:57:47.513365000 +0300
+@@ -1,5 +1,6 @@
+ #include <wchar.h>
+ #include <stdlib.h>
++#include <string.h>
+ #ifdef WIN32
+ #include <windows.h>
+ #endif
More information about the svn-ports-all
mailing list