Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2014 12:43:29 +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: r365287 - head/games/warzone2100/files
Message-ID:  <201408181243.s7IChTCV058014@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Aug 18 12:43:29 2014
New Revision: 365287
URL: http://svnweb.freebsd.org/changeset/ports/365287
QAT: https://qat.redports.org/buildarchive/r365287/

Log:
  - Fix build
  - Use canonical patch filenames

Added:
  head/games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp   (contents, props changed)
  head/games/warzone2100/files/patch-lib__netplay__netsocket.cpp
     - copied unchanged from r365260, head/games/warzone2100/files/patch-lib-netplay-netsocket.cpp
Deleted:
  head/games/warzone2100/files/patch-lib-netplay-netsocket.cpp

Added: head/games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp	Mon Aug 18 12:43:29 2014	(r365287)
@@ -0,0 +1,11 @@
+--- lib/ivis_opengl/screen.cpp.orig	2013-12-12 06:20:34.000000000 +0400
++++ lib/ivis_opengl/screen.cpp	2014-08-18 16:11:06.000000000 +0400
+@@ -261,7 +261,7 @@
+ 		__glewUseProgram = __glewUseProgramObjectARB;
+ 		__glewGetShaderiv = __glewGetObjectParameterivARB;
+ 		__glewLinkProgram = __glewLinkProgramARB;
+-		__glewShaderSource = __glewShaderSourceARB;
++		__glewShaderSource = reinterpret_cast<PFNGLSHADERSOURCEPROC>(__glewShaderSourceARB);
+ 		__glewUniform1f = __glewUniform1fARB;
+ 		__glewUniform1i = __glewUniform1iARB;
+ 		__glewUniform4fv = __glewUniform4fvARB;

Copied: head/games/warzone2100/files/patch-lib__netplay__netsocket.cpp (from r365260, head/games/warzone2100/files/patch-lib-netplay-netsocket.cpp)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/warzone2100/files/patch-lib__netplay__netsocket.cpp	Mon Aug 18 12:43:29 2014	(r365287, copy of r365260, head/games/warzone2100/files/patch-lib-netplay-netsocket.cpp)
@@ -0,0 +1,12 @@
+--- lib/netplay/netsocket.cpp.orig	2013-01-15 03:54:07.000000000 +0400
++++ lib/netplay/netsocket.cpp	2013-01-18 19:32:35.110932805 +0400
+@@ -1399,9 +1399,6 @@
+ 	hint.ai_family    = AF_UNSPEC;
+ 	hint.ai_socktype  = SOCK_STREAM;
+ 	hint.ai_protocol  = 0;
+-#ifdef AI_V4MAPPED
+-	flags             |= AI_V4MAPPED;
+-#endif
+ #ifdef AI_ADDRCONFIG
+ 	flags             |= AI_ADDRCONFIG;
+ #endif



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