Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 14:31:50 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382421 - in head/games/jigzo: . files
Message-ID:  <201503271431.t2REVojL088346@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503271431.t2REVojL088346>