svn commit: r382421 - in head/games/jigzo: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Mar 27 14:31:51 UTC 2015
Author: amdmi3
Date: Fri Mar 27 14:31:49 2015
New Revision: 382421
URL: https://svnweb.freebsd.org/changeset/ports/382421
QAT: https://qat.redports.org/buildarchive/r382421/
Log:
- Fix build on DragonFly
- Add LICENSE
Modified:
head/games/jigzo/Makefile
head/games/jigzo/files/patch-src-main.cxx
Modified: head/games/jigzo/Makefile
==============================================================================
--- head/games/jigzo/Makefile Fri Mar 27 14:30:01 2015 (r382420)
+++ head/games/jigzo/Makefile Fri Mar 27 14:31:49 2015 (r382421)
@@ -11,6 +11,9 @@ MASTER_SITES= http://www.iua.upf.es/~mde
MAINTAINER= amdmi3 at FreeBSD.org
COMMENT= OpenGL jigsaw puzzle game
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/GPL.txt
+
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
libjpeg.so:${PORTSDIR}/graphics/jpeg
@@ -32,8 +35,6 @@ DESKTOP_ENTRIES="Jigzo" \
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e "s|int_p_NULL|NULL|g" \
${WRKSRC}/src/Loader.cxx
Modified: head/games/jigzo/files/patch-src-main.cxx
==============================================================================
--- head/games/jigzo/files/patch-src-main.cxx Fri Mar 27 14:30:01 2015 (r382420)
+++ head/games/jigzo/files/patch-src-main.cxx Fri Mar 27 14:31:49 2015 (r382421)
@@ -1,6 +1,14 @@
---- src/main.cxx.orig 2013-09-14 02:26:08.857226185 +0400
-+++ src/main.cxx 2013-09-14 02:28:44.311226803 +0400
-@@ -56,6 +56,7 @@
+--- src/main.cxx.orig 2008-05-09 02:39:02.000000000 +0400
++++ src/main.cxx 2015-03-27 17:21:48.934373000 +0300
+@@ -47,6 +47,7 @@
+ #include <fstream>
+ #include <string>
+ #include <sstream>
++#include <algorithm>
+
+ #ifdef WIN32
+ #include <io.h>
+@@ -56,6 +57,7 @@
#include <sys/types.h>
#endif
#include <dirent.h>
@@ -8,7 +16,7 @@
#include "Screen.hxx"
#include "Sprite.hxx"
-@@ -1540,7 +1541,7 @@
+@@ -1540,7 +1542,7 @@
int i;
Uint8 *keys = SDL_GetKeyState(&i);
SDL_Event event;
@@ -17,7 +25,7 @@
//static Uint32 mark = 0;
SDL_Delay(10);
while (SDL_PollEvent(&event)) {
-@@ -1579,7 +1580,7 @@
+@@ -1579,7 +1581,7 @@
if (clickLeave)
{
if (mode == intro)
@@ -26,7 +34,7 @@
else if (mode == browse) {
FadeOutTo(end_browse,start_intro);
} else {
-@@ -1587,7 +1588,7 @@
+@@ -1587,7 +1589,7 @@
}
}
if (event.type == SDL_QUIT) {
More information about the svn-ports-all
mailing list