aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-03-13 04:12:54 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-03-13 04:12:54 +0000
commit1b51e0c31dd870eff25d324ea5a47ea2c37e23b5 (patch)
treec3e367285a8988ab7129c69a90b834d1f29cde59
parent1e6396e1a51dd176b77bd576fe8ef5da3ad01291 (diff)
downloadports-1b51e0c31dd870eff25d324ea5a47ea2c37e23b5.tar.gz
ports-1b51e0c31dd870eff25d324ea5a47ea2c37e23b5.zip
Notes
-rw-r--r--games/megaglest-data/Makefile5
-rw-r--r--games/megaglest-data/distinfo5
-rw-r--r--games/megaglest/Makefile3
-rw-r--r--games/megaglest/distinfo5
-rw-r--r--games/megaglest/files/patch-source-shared_lib-sources-platform-posix-socket.cpp11
-rw-r--r--games/megaglest/files/patch-source_shared__lib_include_platform_sdl_platform__main.h11
-rw-r--r--games/megaglest/files/patch-source_shared__lib_sources_platform_common_platform__common.cpp11
-rw-r--r--games/megaglest/files/patch-source_shared__lib_sources_platform_posix_ircclient.cpp (renamed from games/megaglest/files/patch-source-shared_lib-sources-platform-posix-ircclient.cpp)7
8 files changed, 14 insertions, 44 deletions
diff --git a/games/megaglest-data/Makefile b/games/megaglest-data/Makefile
index 82bdfd85f051..cc1f3d6b9d33 100644
--- a/games/megaglest-data/Makefile
+++ b/games/megaglest-data/Makefile
@@ -2,13 +2,16 @@
# $FreeBSD$
PORTNAME= megaglest
-PORTVERSION= 3.12.0
+PORTVERSION= 3.13.0
CATEGORIES= games
PKGNAMESUFFIX= -data
MAINTAINER= monwarez@mailoo.org
COMMENT= MegaGlest data files
+LICENSE= CC-BY-SA-3.0
+LICENSE_FILE= ${WRKSRC}/docs/LICENSE.data.txt
+
USE_GITHUB= yes
GH_ACCOUNT= MegaGlest
GH_PROJECT= megaglest-data
diff --git a/games/megaglest-data/distinfo b/games/megaglest-data/distinfo
index 1d9e2006aeff..845c8a1ac34c 100644
--- a/games/megaglest-data/distinfo
+++ b/games/megaglest-data/distinfo
@@ -1,2 +1,3 @@
-SHA256 (MegaGlest-megaglest-data-3.12.0_GH0.tar.gz) = 7273dbc26aad06f5e796b1c76cd12d518ec6d172bd712b46aba05623e73ad154
-SIZE (MegaGlest-megaglest-data-3.12.0_GH0.tar.gz) = 352540676
+TIMESTAMP = 1489312394
+SHA256 (MegaGlest-megaglest-data-3.13.0_GH0.tar.gz) = 99775601eae78e2c626bca76a6e9359491e13685541e36bee0d3207f81152e5e
+SIZE (MegaGlest-megaglest-data-3.13.0_GH0.tar.gz) = 353518497
diff --git a/games/megaglest/Makefile b/games/megaglest/Makefile
index e2ec9dc48b55..4a02b556bf40 100644
--- a/games/megaglest/Makefile
+++ b/games/megaglest/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= megaglest
-PORTVERSION= 3.12.0
-PORTREVISION= 1
+PORTVERSION= 3.13.0
CATEGORIES= games
MAINTAINER= monwarez@mailoo.org
diff --git a/games/megaglest/distinfo b/games/megaglest/distinfo
index 0d9b309395bc..2e9f8df61fbe 100644
--- a/games/megaglest/distinfo
+++ b/games/megaglest/distinfo
@@ -1,2 +1,3 @@
-SHA256 (MegaGlest-megaglest-source-3.12.0_GH0.tar.gz) = 13c0ed6320f52558939cadcb1b1d16e6ac94cb3b22be6d4d761723ef41e87297
-SIZE (MegaGlest-megaglest-source-3.12.0_GH0.tar.gz) = 3638252
+TIMESTAMP = 1489313085
+SHA256 (MegaGlest-megaglest-source-3.13.0_GH0.tar.gz) = efb5d755f44055e4b41ac6fc29e5cbe167f9d74eac800b3070f4b11b15f3b464
+SIZE (MegaGlest-megaglest-source-3.13.0_GH0.tar.gz) = 3654879
diff --git a/games/megaglest/files/patch-source-shared_lib-sources-platform-posix-socket.cpp b/games/megaglest/files/patch-source-shared_lib-sources-platform-posix-socket.cpp
deleted file mode 100644
index d50e6ae4cfe4..000000000000
--- a/games/megaglest/files/patch-source-shared_lib-sources-platform-posix-socket.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- source/shared_lib/sources/platform/posix/socket.cpp.orig 2016-12-26 00:02:43.325573000 +0100
-+++ source/shared_lib/sources/platform/posix/socket.cpp 2016-12-26 00:04:06.681172000 +0100
-@@ -2632,7 +2632,7 @@
-
- //printf("UPnP device found: [%s] [%s] lanaddr [%s]\n", dev->descURL, dev->st,lanaddr);
- #if (defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 9) || (!defined(MINIUPNPC_VERSION_PRE1_7) && !defined(MINIUPNPC_VERSION_PRE1_6))
-- char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])),0);
-+ char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])),0,0);
- #else
- char *descXML = (char *)miniwget_getaddr(dev->descURL, &descXMLsize, lanaddr, (sizeof(lanaddr) / sizeof(lanaddr[0])));
- #endif
diff --git a/games/megaglest/files/patch-source_shared__lib_include_platform_sdl_platform__main.h b/games/megaglest/files/patch-source_shared__lib_include_platform_sdl_platform__main.h
deleted file mode 100644
index 3913089c2c72..000000000000
--- a/games/megaglest/files/patch-source_shared__lib_include_platform_sdl_platform__main.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- source/shared_lib/include/platform/sdl/platform_main.h.orig 2016-04-02 12:37:33 UTC
-+++ source/shared_lib/include/platform/sdl/platform_main.h
-@@ -667,7 +667,7 @@ int mainSetup(int argc, char **argv) {
- }
- else {
- if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
-- if(SDL_Init(SDL_INIT_EVERYTHING) < 0) {
-+ if(SDL_Init(SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER | SDL_INIT_EVENTS) < 0) {
- if(SystemFlags::VERBOSE_MODE_ENABLED) printf("In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
- std::cerr << "Couldn't initialize SDL: " << SDL_GetError() << "\n";
- return 3;
diff --git a/games/megaglest/files/patch-source_shared__lib_sources_platform_common_platform__common.cpp b/games/megaglest/files/patch-source_shared__lib_sources_platform_common_platform__common.cpp
deleted file mode 100644
index 150f6bf430b7..000000000000
--- a/games/megaglest/files/patch-source_shared__lib_sources_platform_common_platform__common.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- source/shared_lib/sources/platform/common/platform_common.cpp.orig 2016-04-02 12:36:57 UTC
-+++ source/shared_lib/sources/platform/common/platform_common.cpp
-@@ -124,7 +124,7 @@ tm threadsafe_localtime(const time_t &ti
- // extracting std::time_t from std:chrono for "now"
- time_t systemtime_now() {
- #if __cplusplus > 199711L
-- system_time_point system_now = std::chrono::system_clock::now();
-+ auto system_now = std::chrono::system_clock::now();
- return std::chrono::system_clock::to_time_t(system_now);
- #else
- return time(NULL);
diff --git a/games/megaglest/files/patch-source-shared_lib-sources-platform-posix-ircclient.cpp b/games/megaglest/files/patch-source_shared__lib_sources_platform_posix_ircclient.cpp
index 8111d731697e..577d6c468bf0 100644
--- a/games/megaglest/files/patch-source-shared_lib-sources-platform-posix-ircclient.cpp
+++ b/games/megaglest/files/patch-source_shared__lib_sources_platform_posix_ircclient.cpp
@@ -1,10 +1,9 @@
---- source/shared_lib/sources/platform/posix/ircclient.cpp.orig 2016-04-02 12:36:57 UTC
+--- source/shared_lib/sources/platform/posix/ircclient.cpp.orig 2017-03-12 11:21:46 UTC
+++ source/shared_lib/sources/platform/posix/ircclient.cpp
-@@ -19,10 +19,7 @@
- #if !defined(DISABLE_IRCCLIENT)
+@@ -20,9 +20,7 @@
#include <libircclient.h>
--// upstream moved some defines into new headers as of 1.6
+ // upstream moved some defines into new headers as of 1.6
-#ifndef LIBIRCCLIENT_PRE1_6
#include <libirc_rfcnumeric.h>
-#endif