Dash:
[t2.git] / package / develop / ptlib / hotfix.patch
blob0fc40f9041de55f51bbe913ba878f9b454349c9b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../ptlib/compile-fix.patch
5 # Copyright (C) 2009 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -Nur ptlib-2.4.4-orig/plugins/vidinput_v4l/vidinput_v4l.cxx ptlib-2.4.4/plugins/vidinput_v4l/vidinput_v4l.cxx
18 --- ptlib-2.4.4-orig/plugins/vidinput_v4l/vidinput_v4l.cxx 2009-01-23 18:26:26.000000000 +0000
19 +++ ptlib-2.4.4/plugins/vidinput_v4l/vidinput_v4l.cxx 2009-01-23 18:31:23.000000000 +0000
20 @@ -443,11 +443,11 @@
21 return result;
24 -PMutex creationMutex;
25 +PMutex _creationMutex_;
26 static
27 V4LNames & GetNames()
29 - PWaitAndSignal m(creationMutex);
30 + PWaitAndSignal m(_creationMutex_);
31 static V4LNames names;
32 names.Update();
33 return names;