From owner-svn-ports-all@FreeBSD.ORG Fri Mar 27 14:31:51 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 370C3474; Fri, 27 Mar 2015 14:31:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 07CBACE4; Fri, 27 Mar 2015 14:31:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2REVoi7088348; Fri, 27 Mar 2015 14:31:50 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2REVojL088346; Fri, 27 Mar 2015 14:31:50 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201503271431.t2REVojL088346@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 27 Mar 2015 14:31:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r382421 - in head/games/jigzo: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 14:31:51 -0000 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 - 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 + #include + #include ++#include + + #ifdef WIN32 + #include +@@ -56,6 +57,7 @@ #include #endif #include @@ -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) {