aboutsummaryrefslogtreecommitdiff
path: root/games/warzone2100
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-08-18 12:43:29 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-08-18 12:43:29 +0000
commit534caa166b71299a9da745faff13009a12dc31e0 (patch)
treecaef524df18acb872bfd51990077fea8b217ff9b /games/warzone2100
parent5131ed46e50bef3c16b412b5030b80823eee9931 (diff)
downloadports-534caa166b71299a9da745faff13009a12dc31e0.tar.gz
ports-534caa166b71299a9da745faff13009a12dc31e0.zip
Notes
Diffstat (limited to 'games/warzone2100')
-rw-r--r--games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp11
-rw-r--r--games/warzone2100/files/patch-lib__netplay__netsocket.cpp (renamed from games/warzone2100/files/patch-lib-netplay-netsocket.cpp)0
2 files changed, 11 insertions, 0 deletions
diff --git a/games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp b/games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp
new file mode 100644
index 000000000000..56125eb0e6cf
--- /dev/null
+++ b/games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp
@@ -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;
diff --git a/games/warzone2100/files/patch-lib-netplay-netsocket.cpp b/games/warzone2100/files/patch-lib__netplay__netsocket.cpp
index 19659e55fc55..19659e55fc55 100644
--- a/games/warzone2100/files/patch-lib-netplay-netsocket.cpp
+++ b/games/warzone2100/files/patch-lib__netplay__netsocket.cpp