File: bug-897733-fix-ftbfs-gcc-8.patch

package info (click to toggle)
cwidget 0.5.17-11
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,600 kB
  • sloc: cpp: 15,802; sh: 11,985; makefile: 223; sed: 16; perl: 15
file content (15 lines) | stat: -rw-r--r-- 392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix FTBFS with GCC 8
Author: Peter Siket <pepe at inf.u-szeged.hu>
Last-Update: 2018-07-19
Bug: https://bugs.debian.org/896180
--- a/src/cwidget/toplevel.cc
+++ b/src/cwidget/toplevel.cc
@@ -1056,7 +1056,7 @@
 
     void updatecursornow()
     {
-      threads::mutex::lock(get_mutex());
+      threads::mutex::lock l(get_mutex());
 
       if(toplevel->get_cursorvisible())
 	{