office-gobmx/external/glm/Wshadow-patch-fix.patch
Stephan Bergmann 8205b38d71 Fix bad patch
...and whoever had the bad idea to make the downloaded GLM_TARBALL
bae83fa5dc7f081768daace6e199adc3-glm-0.9.4.6-libreoffice.zip to already be
patched with that broken patch (external/glm/Wshadow-unix.patch or
external/glm/Wshadow-windows.patch or whatever?) instead of applying locally via
gb_UnpackedTarball_add_patches...

Change-Id: I0053346f626cc3af42f7ea82a7a26c8b47876a98
2014-01-29 10:29:46 +01:00

11 lines
340 B
Diff

--- a/glm/core/type_vec4.hpp
+++ b/glm/core/type_vec4.hpp
@@ -185,7 +185,7 @@
template <int E0, int E1>
GLM_FUNC_DECL tvec4(T const & x_, glm::detail::swizzle<2, T, tvec2<T>, E0, E1, -1, -2> const & v, T const & w_)
{
- *this = tvec4<T>(x_, v(), w);
+ *this = tvec4<T>(x_, v(), w_);
}
template <int E0, int E1>