diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-08-18 12:43:29 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-08-18 12:43:29 +0000 |
commit | 534caa166b71299a9da745faff13009a12dc31e0 (patch) | |
tree | caef524df18acb872bfd51990077fea8b217ff9b /games | |
parent | 5131ed46e50bef3c16b412b5030b80823eee9931 (diff) | |
download | ports-534caa166b71299a9da745faff13009a12dc31e0.tar.gz ports-534caa166b71299a9da745faff13009a12dc31e0.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/warzone2100/files/patch-lib__ivis_opengl__screen.cpp | 11 | ||||
-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 |